com.liferay.portlet.documentlibrary.model.impl
Class DLContentModelImpl
java.lang.Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.document.library.kernel.model.DLContent>
com.liferay.portlet.documentlibrary.model.impl.DLContentModelImpl
- All Implemented Interfaces:
- com.liferay.document.library.kernel.model.DLContentModel, com.liferay.portal.kernel.model.BaseModel<com.liferay.document.library.kernel.model.DLContent>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<com.liferay.document.library.kernel.model.DLContent>
- Direct Known Subclasses:
- DLContentBaseImpl
@ProviderType
public class DLContentModelImpl
- extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.document.library.kernel.model.DLContent>
- implements com.liferay.document.library.kernel.model.DLContentModel
The base model implementation for the DLContent service. Represents a row in the "DLContent" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface DLContentModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in DLContentImpl.
- See Also:
DLContentImpl,
DLContent,
DLContentModel,
Serialized Form- {$generated.description}
| Methods inherited from class com.liferay.portal.kernel.model.impl.BaseModelImpl |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Methods inherited from interface com.liferay.document.library.kernel.model.DLContentModel |
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
TABLE_COLUMNS
public static final Object[][] TABLE_COLUMNS
TABLE_COLUMNS_MAP
public static final Map<String,Integer> TABLE_COLUMNS_MAP
TABLE_SQL_CREATE
public static final String TABLE_SQL_CREATE
- See Also:
- Constant Field Values
TABLE_SQL_DROP
public static final String TABLE_SQL_DROP
- See Also:
- Constant Field Values
ORDER_BY_JPQL
public static final String ORDER_BY_JPQL
- See Also:
- Constant Field Values
ORDER_BY_SQL
public static final String ORDER_BY_SQL
- See Also:
- Constant Field Values
DATA_SOURCE
public static final String DATA_SOURCE
- See Also:
- Constant Field Values
SESSION_FACTORY
public static final String SESSION_FACTORY
- See Also:
- Constant Field Values
TX_MANAGER
public static final String TX_MANAGER
- See Also:
- Constant Field Values
ENTITY_CACHE_ENABLED
public static final boolean ENTITY_CACHE_ENABLED
FINDER_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
COLUMN_BITMASK_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
COMPANYID_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
- See Also:
- Constant Field Values
PATH_COLUMN_BITMASK
public static final long PATH_COLUMN_BITMASK
- See Also:
- Constant Field Values
REPOSITORYID_COLUMN_BITMASK
public static final long REPOSITORYID_COLUMN_BITMASK
- See Also:
- Constant Field Values
VERSION_COLUMN_BITMASK
public static final long VERSION_COLUMN_BITMASK
- See Also:
- Constant Field Values
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
DLContentModelImpl
public DLContentModelImpl()
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface com.liferay.document.library.kernel.model.DLContentModel
setPrimaryKey
public void setPrimaryKey(long primaryKey)
- Specified by:
setPrimaryKey in interface com.liferay.document.library.kernel.model.DLContentModel
getPrimaryKeyObj
public Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface com.liferay.document.library.kernel.model.DLContentModel- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.document.library.kernel.model.DLContent>- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel
setPrimaryKeyObj
public void setPrimaryKeyObj(Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj in interface com.liferay.document.library.kernel.model.DLContentModel- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.document.library.kernel.model.DLContent>- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel
getModelClass
public Class<?> getModelClass()
- Specified by:
getModelClass in interface com.liferay.portal.kernel.model.ClassedModel
getModelClassName
public String getModelClassName()
- Specified by:
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModel
getModelAttributes
public Map<String,Object> getModelAttributes()
- Specified by:
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.document.library.kernel.model.DLContent>- Overrides:
getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.document.library.kernel.model.DLContent>
setModelAttributes
public void setModelAttributes(Map<String,Object> attributes)
- Specified by:
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.document.library.kernel.model.DLContent>- Overrides:
setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.document.library.kernel.model.DLContent>
getContentId
public long getContentId()
- Specified by:
getContentId in interface com.liferay.document.library.kernel.model.DLContentModel
setContentId
public void setContentId(long contentId)
- Specified by:
setContentId in interface com.liferay.document.library.kernel.model.DLContentModel
getGroupId
public long getGroupId()
- Specified by:
getGroupId in interface com.liferay.document.library.kernel.model.DLContentModel
setGroupId
public void setGroupId(long groupId)
- Specified by:
setGroupId in interface com.liferay.document.library.kernel.model.DLContentModel
getCompanyId
public long getCompanyId()
- Specified by:
getCompanyId in interface com.liferay.document.library.kernel.model.DLContentModel- Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId in interface com.liferay.document.library.kernel.model.DLContentModel- Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
getOriginalCompanyId
public long getOriginalCompanyId()
getRepositoryId
public long getRepositoryId()
- Specified by:
getRepositoryId in interface com.liferay.document.library.kernel.model.DLContentModel
setRepositoryId
public void setRepositoryId(long repositoryId)
- Specified by:
setRepositoryId in interface com.liferay.document.library.kernel.model.DLContentModel
getOriginalRepositoryId
public long getOriginalRepositoryId()
getPath
public String getPath()
- Specified by:
getPath in interface com.liferay.document.library.kernel.model.DLContentModel
setPath
public void setPath(String path)
- Specified by:
setPath in interface com.liferay.document.library.kernel.model.DLContentModel
getOriginalPath
public String getOriginalPath()
getVersion
public String getVersion()
- Specified by:
getVersion in interface com.liferay.document.library.kernel.model.DLContentModel
setVersion
public void setVersion(String version)
- Specified by:
setVersion in interface com.liferay.document.library.kernel.model.DLContentModel
getOriginalVersion
public String getOriginalVersion()
getData
public Blob getData()
- Specified by:
getData in interface com.liferay.document.library.kernel.model.DLContentModel
setData
public void setData(Blob data)
- Specified by:
setData in interface com.liferay.document.library.kernel.model.DLContentModel
getSize
public long getSize()
- Specified by:
getSize in interface com.liferay.document.library.kernel.model.DLContentModel
setSize
public void setSize(long size)
- Specified by:
setSize in interface com.liferay.document.library.kernel.model.DLContentModel
getColumnBitmask
public long getColumnBitmask()
getExpandoBridge
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface com.liferay.document.library.kernel.model.DLContentModel- Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.document.library.kernel.model.DLContent>- Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModel- Overrides:
getExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.document.library.kernel.model.DLContent>
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes in interface com.liferay.document.library.kernel.model.DLContentModel- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.document.library.kernel.model.DLContent>- Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.document.library.kernel.model.DLContent>
toEscapedModel
public com.liferay.document.library.kernel.model.DLContent toEscapedModel()
- Specified by:
toEscapedModel in interface com.liferay.document.library.kernel.model.DLContentModel- Specified by:
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.document.library.kernel.model.DLContent>- Overrides:
toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.document.library.kernel.model.DLContent>
clone
public Object clone()
- Specified by:
clone in interface com.liferay.document.library.kernel.model.DLContentModel- Specified by:
clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.document.library.kernel.model.DLContent>- Specified by:
clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.document.library.kernel.model.DLContent>
compareTo
public int compareTo(com.liferay.document.library.kernel.model.DLContent dlContent)
- Specified by:
compareTo in interface com.liferay.document.library.kernel.model.DLContentModel- Specified by:
compareTo in interface Comparable<com.liferay.document.library.kernel.model.DLContent>
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface com.liferay.document.library.kernel.model.DLContentModel- Overrides:
hashCode in class Object
isEntityCacheEnabled
public boolean isEntityCacheEnabled()
- Specified by:
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.document.library.kernel.model.DLContent>
isFinderCacheEnabled
public boolean isFinderCacheEnabled()
- Specified by:
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.document.library.kernel.model.DLContent>
resetOriginalValues
public void resetOriginalValues()
- Specified by:
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.document.library.kernel.model.DLContent>- Overrides:
resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.document.library.kernel.model.DLContent>
toCacheModel
public com.liferay.portal.kernel.model.CacheModel<com.liferay.document.library.kernel.model.DLContent> toCacheModel()
- Specified by:
toCacheModel in interface com.liferay.document.library.kernel.model.DLContentModel- Specified by:
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.document.library.kernel.model.DLContent>- Overrides:
toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.document.library.kernel.model.DLContent>
toString
public String toString()
- Specified by:
toString in interface com.liferay.document.library.kernel.model.DLContentModel- Overrides:
toString in class Object
toXmlString
public String toXmlString()
- Specified by:
toXmlString in interface com.liferay.document.library.kernel.model.DLContentModel- Specified by:
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.document.library.kernel.model.DLContent>