com.liferay.portlet.documentlibrary.model.impl
Class DLContentModelImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.documentlibrary.model.DLContent>
com.liferay.portlet.documentlibrary.model.impl.DLContentModelImpl
- All Implemented Interfaces:
- com.liferay.portal.model.BaseModel<com.liferay.portlet.documentlibrary.model.DLContent>, com.liferay.portal.model.ClassedModel, com.liferay.portlet.documentlibrary.model.DLContentModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portlet.documentlibrary.model.DLContent>
- Direct Known Subclasses:
- DLContentBaseImpl
public class DLContentModelImpl
- extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.documentlibrary.model.DLContent>
- implements com.liferay.portlet.documentlibrary.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.
- Author:
- Brian Wing Shun Chan
- See Also:
DLContentImpl,
DLContent,
DLContentModel,
Serialized Form- Generated:
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.documentlibrary.model.DLContentModel |
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
TABLE_NAME
public static final java.lang.String TABLE_NAME
- See Also:
- Constant Field Values
TABLE_COLUMNS
public static final java.lang.Object[][] TABLE_COLUMNS
TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_CREATE
- See Also:
- Constant Field Values
TABLE_SQL_DROP
public static final java.lang.String TABLE_SQL_DROP
- See Also:
- Constant Field Values
ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_JPQL
- See Also:
- Constant Field Values
ORDER_BY_SQL
public static final java.lang.String ORDER_BY_SQL
- See Also:
- Constant Field Values
DATA_SOURCE
public static final java.lang.String DATA_SOURCE
- See Also:
- Constant Field Values
SESSION_FACTORY
public static final java.lang.String SESSION_FACTORY
- See Also:
- Constant Field Values
TX_MANAGER
public static final java.lang.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 long COMPANYID_COLUMN_BITMASK
PATH_COLUMN_BITMASK
public static long PATH_COLUMN_BITMASK
REPOSITORYID_COLUMN_BITMASK
public static long REPOSITORYID_COLUMN_BITMASK
VERSION_COLUMN_BITMASK
public static long VERSION_COLUMN_BITMASK
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
DLContentModelImpl
public DLContentModelImpl()
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface com.liferay.portlet.documentlibrary.model.DLContentModel
setPrimaryKey
public void setPrimaryKey(long primaryKey)
- Specified by:
setPrimaryKey in interface com.liferay.portlet.documentlibrary.model.DLContentModel
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.documentlibrary.model.DLContent>- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel- Specified by:
getPrimaryKeyObj in interface com.liferay.portlet.documentlibrary.model.DLContentModel
setPrimaryKeyObj
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.documentlibrary.model.DLContent>- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel- Specified by:
setPrimaryKeyObj in interface com.liferay.portlet.documentlibrary.model.DLContentModel
getModelClass
public java.lang.Class<?> getModelClass()
- Specified by:
getModelClass in interface com.liferay.portal.model.ClassedModel
getModelClassName
public java.lang.String getModelClassName()
- Specified by:
getModelClassName in interface com.liferay.portal.model.ClassedModel
getContentId
public long getContentId()
- Specified by:
getContentId in interface com.liferay.portlet.documentlibrary.model.DLContentModel
setContentId
public void setContentId(long contentId)
- Specified by:
setContentId in interface com.liferay.portlet.documentlibrary.model.DLContentModel
getGroupId
public long getGroupId()
- Specified by:
getGroupId in interface com.liferay.portlet.documentlibrary.model.DLContentModel
setGroupId
public void setGroupId(long groupId)
- Specified by:
setGroupId in interface com.liferay.portlet.documentlibrary.model.DLContentModel
getCompanyId
public long getCompanyId()
- Specified by:
getCompanyId in interface com.liferay.portlet.documentlibrary.model.DLContentModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId in interface com.liferay.portlet.documentlibrary.model.DLContentModel
getOriginalCompanyId
public long getOriginalCompanyId()
getRepositoryId
public long getRepositoryId()
- Specified by:
getRepositoryId in interface com.liferay.portlet.documentlibrary.model.DLContentModel
setRepositoryId
public void setRepositoryId(long repositoryId)
- Specified by:
setRepositoryId in interface com.liferay.portlet.documentlibrary.model.DLContentModel
getOriginalRepositoryId
public long getOriginalRepositoryId()
getPath
public java.lang.String getPath()
- Specified by:
getPath in interface com.liferay.portlet.documentlibrary.model.DLContentModel
setPath
public void setPath(java.lang.String path)
- Specified by:
setPath in interface com.liferay.portlet.documentlibrary.model.DLContentModel
getOriginalPath
public java.lang.String getOriginalPath()
getVersion
public java.lang.String getVersion()
- Specified by:
getVersion in interface com.liferay.portlet.documentlibrary.model.DLContentModel
setVersion
public void setVersion(java.lang.String version)
- Specified by:
setVersion in interface com.liferay.portlet.documentlibrary.model.DLContentModel
getOriginalVersion
public java.lang.String getOriginalVersion()
getData
public java.sql.Blob getData()
- Specified by:
getData in interface com.liferay.portlet.documentlibrary.model.DLContentModel
setData
public void setData(java.sql.Blob data)
- Specified by:
setData in interface com.liferay.portlet.documentlibrary.model.DLContentModel
getSize
public long getSize()
- Specified by:
getSize in interface com.liferay.portlet.documentlibrary.model.DLContentModel
setSize
public void setSize(long size)
- Specified by:
setSize in interface com.liferay.portlet.documentlibrary.model.DLContentModel
getColumnBitmask
public long getColumnBitmask()
toEscapedModel
public com.liferay.portlet.documentlibrary.model.DLContent toEscapedModel()
- Specified by:
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.documentlibrary.model.DLContent>- Specified by:
toEscapedModel in interface com.liferay.portlet.documentlibrary.model.DLContentModel- Overrides:
toEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.documentlibrary.model.DLContent>
getExpandoBridge
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.documentlibrary.model.DLContent>- Specified by:
getExpandoBridge in interface com.liferay.portal.model.ClassedModel- Specified by:
getExpandoBridge in interface com.liferay.portlet.documentlibrary.model.DLContentModel- Overrides:
getExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.documentlibrary.model.DLContent>
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.documentlibrary.model.DLContent>- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portlet.documentlibrary.model.DLContentModel- Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.documentlibrary.model.DLContent>
clone
public java.lang.Object clone()
- Specified by:
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.documentlibrary.model.DLContent>- Specified by:
clone in interface com.liferay.portlet.documentlibrary.model.DLContentModel- Specified by:
clone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.documentlibrary.model.DLContent>
compareTo
public int compareTo(com.liferay.portlet.documentlibrary.model.DLContent dlContent)
- Specified by:
compareTo in interface com.liferay.portlet.documentlibrary.model.DLContentModel- Specified by:
compareTo in interface java.lang.Comparable<com.liferay.portlet.documentlibrary.model.DLContent>
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface com.liferay.portlet.documentlibrary.model.DLContentModel- Overrides:
hashCode in class java.lang.Object
resetOriginalValues
public void resetOriginalValues()
- Specified by:
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.documentlibrary.model.DLContent>- Overrides:
resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.documentlibrary.model.DLContent>
toCacheModel
public com.liferay.portal.model.CacheModel<com.liferay.portlet.documentlibrary.model.DLContent> toCacheModel()
- Specified by:
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.documentlibrary.model.DLContent>- Specified by:
toCacheModel in interface com.liferay.portlet.documentlibrary.model.DLContentModel- Overrides:
toCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.documentlibrary.model.DLContent>
toString
public java.lang.String toString()
- Specified by:
toString in interface com.liferay.portlet.documentlibrary.model.DLContentModel- Overrides:
toString in class java.lang.Object
toXmlString
public java.lang.String toXmlString()
- Specified by:
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.documentlibrary.model.DLContent>- Specified by:
toXmlString in interface com.liferay.portlet.documentlibrary.model.DLContentModel