com.liferay.portlet.documentlibrary.model.impl
Class DLFileEntryModelImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.documentlibrary.model.DLFileEntry>
com.liferay.portlet.documentlibrary.model.impl.DLFileEntryModelImpl
- All Implemented Interfaces:
- com.liferay.portal.model.AuditedModel, com.liferay.portal.model.BaseModel<com.liferay.portlet.documentlibrary.model.DLFileEntry>, com.liferay.portal.model.ClassedModel, com.liferay.portal.model.GroupedModel, com.liferay.portlet.documentlibrary.model.DLFileEntryModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portlet.documentlibrary.model.DLFileEntry>
- Direct Known Subclasses:
- DLFileEntryBaseImpl
@JSON(strict=true)
public class DLFileEntryModelImpl
- extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.documentlibrary.model.DLFileEntry>
- implements com.liferay.portlet.documentlibrary.model.DLFileEntryModel
The base model implementation for the DLFileEntry service. Represents a row in the "DLFileEntry" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface DLFileEntryModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in DLFileEntryImpl.
- Author:
- Brian Wing Shun Chan
- See Also:
DLFileEntryImpl,
DLFileEntry,
DLFileEntryModel,
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.DLFileEntryModel |
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
FILEENTRYTYPEID_COLUMN_BITMASK
public static long FILEENTRYTYPEID_COLUMN_BITMASK
FOLDERID_COLUMN_BITMASK
public static long FOLDERID_COLUMN_BITMASK
GROUPID_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
NAME_COLUMN_BITMASK
public static long NAME_COLUMN_BITMASK
TITLE_COLUMN_BITMASK
public static long TITLE_COLUMN_BITMASK
USERID_COLUMN_BITMASK
public static long USERID_COLUMN_BITMASK
UUID_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
DLFileEntryModelImpl
public DLFileEntryModelImpl()
toModel
public static com.liferay.portlet.documentlibrary.model.DLFileEntry toModel(com.liferay.portlet.documentlibrary.model.DLFileEntrySoap soapModel)
- Converts the soap model instance into a normal model instance.
- Parameters:
soapModel - the soap model instance to convert
- Returns:
- the normal model instance
toModels
public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> toModels(com.liferay.portlet.documentlibrary.model.DLFileEntrySoap[] soapModels)
- Converts the soap model instances into normal model instances.
- Parameters:
soapModels - the soap model instances to convert
- Returns:
- the normal model instances
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setPrimaryKey
public void setPrimaryKey(long primaryKey)
- Specified by:
setPrimaryKey in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.documentlibrary.model.DLFileEntry>- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel- Specified by:
getPrimaryKeyObj in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setPrimaryKeyObj
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.documentlibrary.model.DLFileEntry>- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel- Specified by:
setPrimaryKeyObj in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
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
getUuid
@JSON
public java.lang.String getUuid()
- Specified by:
getUuid in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setUuid
public void setUuid(java.lang.String uuid)
- Specified by:
setUuid in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getOriginalUuid
public java.lang.String getOriginalUuid()
getFileEntryId
@JSON
public long getFileEntryId()
- Specified by:
getFileEntryId in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setFileEntryId
public void setFileEntryId(long fileEntryId)
- Specified by:
setFileEntryId in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getGroupId
@JSON
public long getGroupId()
- Specified by:
getGroupId in interface com.liferay.portal.model.GroupedModel- Specified by:
getGroupId in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setGroupId
public void setGroupId(long groupId)
- Specified by:
setGroupId in interface com.liferay.portal.model.GroupedModel- Specified by:
setGroupId in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getOriginalGroupId
public long getOriginalGroupId()
getCompanyId
@JSON
public long getCompanyId()
- Specified by:
getCompanyId in interface com.liferay.portal.model.AuditedModel- Specified by:
getCompanyId in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId in interface com.liferay.portal.model.AuditedModel- Specified by:
setCompanyId in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getOriginalCompanyId
public long getOriginalCompanyId()
getUserId
@JSON
public long getUserId()
- Specified by:
getUserId in interface com.liferay.portal.model.AuditedModel- Specified by:
getUserId in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setUserId
public void setUserId(long userId)
- Specified by:
setUserId in interface com.liferay.portal.model.AuditedModel- Specified by:
setUserId in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getUserUuid
public java.lang.String getUserUuid()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getUserUuid in interface com.liferay.portal.model.AuditedModel- Specified by:
getUserUuid in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
- Throws:
com.liferay.portal.kernel.exception.SystemException
setUserUuid
public void setUserUuid(java.lang.String userUuid)
- Specified by:
setUserUuid in interface com.liferay.portal.model.AuditedModel- Specified by:
setUserUuid in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getOriginalUserId
public long getOriginalUserId()
getUserName
@JSON
public java.lang.String getUserName()
- Specified by:
getUserName in interface com.liferay.portal.model.AuditedModel- Specified by:
getUserName in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setUserName
public void setUserName(java.lang.String userName)
- Specified by:
setUserName in interface com.liferay.portal.model.AuditedModel- Specified by:
setUserName in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getVersionUserId
@JSON
public long getVersionUserId()
- Specified by:
getVersionUserId in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setVersionUserId
public void setVersionUserId(long versionUserId)
- Specified by:
setVersionUserId in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getVersionUserUuid
public java.lang.String getVersionUserUuid()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getVersionUserUuid in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
- Throws:
com.liferay.portal.kernel.exception.SystemException
setVersionUserUuid
public void setVersionUserUuid(java.lang.String versionUserUuid)
- Specified by:
setVersionUserUuid in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getVersionUserName
@JSON
public java.lang.String getVersionUserName()
- Specified by:
getVersionUserName in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setVersionUserName
public void setVersionUserName(java.lang.String versionUserName)
- Specified by:
setVersionUserName in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getCreateDate
@JSON
public java.util.Date getCreateDate()
- Specified by:
getCreateDate in interface com.liferay.portal.model.AuditedModel- Specified by:
getCreateDate in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setCreateDate
public void setCreateDate(java.util.Date createDate)
- Specified by:
setCreateDate in interface com.liferay.portal.model.AuditedModel- Specified by:
setCreateDate in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getModifiedDate
@JSON
public java.util.Date getModifiedDate()
- Specified by:
getModifiedDate in interface com.liferay.portal.model.AuditedModel- Specified by:
getModifiedDate in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setModifiedDate
public void setModifiedDate(java.util.Date modifiedDate)
- Specified by:
setModifiedDate in interface com.liferay.portal.model.AuditedModel- Specified by:
setModifiedDate in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getRepositoryId
@JSON
public long getRepositoryId()
- Specified by:
getRepositoryId in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setRepositoryId
public void setRepositoryId(long repositoryId)
- Specified by:
setRepositoryId in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getFolderId
@JSON
public long getFolderId()
- Specified by:
getFolderId in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setFolderId
public void setFolderId(long folderId)
- Specified by:
setFolderId in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getOriginalFolderId
public long getOriginalFolderId()
getName
@JSON
public java.lang.String getName()
- Specified by:
getName in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setName
public void setName(java.lang.String name)
- Specified by:
setName in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getOriginalName
public java.lang.String getOriginalName()
getExtension
@JSON
public java.lang.String getExtension()
- Specified by:
getExtension in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setExtension
public void setExtension(java.lang.String extension)
- Specified by:
setExtension in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getMimeType
@JSON
public java.lang.String getMimeType()
- Specified by:
getMimeType in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setMimeType
public void setMimeType(java.lang.String mimeType)
- Specified by:
setMimeType in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getTitle
@JSON
public java.lang.String getTitle()
- Specified by:
getTitle in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setTitle
public void setTitle(java.lang.String title)
- Specified by:
setTitle in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getOriginalTitle
public java.lang.String getOriginalTitle()
getDescription
@JSON
public java.lang.String getDescription()
- Specified by:
getDescription in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setDescription
public void setDescription(java.lang.String description)
- Specified by:
setDescription in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getExtraSettings
@JSON
public java.lang.String getExtraSettings()
- Specified by:
getExtraSettings in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setExtraSettings
public void setExtraSettings(java.lang.String extraSettings)
- Specified by:
setExtraSettings in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getFileEntryTypeId
@JSON
public long getFileEntryTypeId()
- Specified by:
getFileEntryTypeId in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setFileEntryTypeId
public void setFileEntryTypeId(long fileEntryTypeId)
- Specified by:
setFileEntryTypeId in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getOriginalFileEntryTypeId
public long getOriginalFileEntryTypeId()
getVersion
@JSON
public java.lang.String getVersion()
- Specified by:
getVersion in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setVersion
public void setVersion(java.lang.String version)
- Specified by:
setVersion in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getSize
@JSON
public long getSize()
- Specified by:
getSize in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setSize
public void setSize(long size)
- Specified by:
setSize in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getReadCount
@JSON
public int getReadCount()
- Specified by:
getReadCount in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setReadCount
public void setReadCount(int readCount)
- Specified by:
setReadCount in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getSmallImageId
@JSON
public long getSmallImageId()
- Specified by:
getSmallImageId in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setSmallImageId
public void setSmallImageId(long smallImageId)
- Specified by:
setSmallImageId in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getLargeImageId
@JSON
public long getLargeImageId()
- Specified by:
getLargeImageId in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setLargeImageId
public void setLargeImageId(long largeImageId)
- Specified by:
setLargeImageId in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getCustom1ImageId
@JSON
public long getCustom1ImageId()
- Specified by:
getCustom1ImageId in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setCustom1ImageId
public void setCustom1ImageId(long custom1ImageId)
- Specified by:
setCustom1ImageId in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getCustom2ImageId
@JSON
public long getCustom2ImageId()
- Specified by:
getCustom2ImageId in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
setCustom2ImageId
public void setCustom2ImageId(long custom2ImageId)
- Specified by:
setCustom2ImageId in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
getColumnBitmask
public long getColumnBitmask()
toEscapedModel
public com.liferay.portlet.documentlibrary.model.DLFileEntry toEscapedModel()
- Specified by:
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.documentlibrary.model.DLFileEntry>- Specified by:
toEscapedModel in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel- Overrides:
toEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.documentlibrary.model.DLFileEntry>
getExpandoBridge
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.documentlibrary.model.DLFileEntry>- Specified by:
getExpandoBridge in interface com.liferay.portal.model.ClassedModel- Specified by:
getExpandoBridge in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel- Overrides:
getExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.documentlibrary.model.DLFileEntry>
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.DLFileEntry>- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel- Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.documentlibrary.model.DLFileEntry>
clone
public java.lang.Object clone()
- Specified by:
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.documentlibrary.model.DLFileEntry>- Specified by:
clone in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel- Specified by:
clone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.documentlibrary.model.DLFileEntry>
compareTo
public int compareTo(com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
- Specified by:
compareTo in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel- Specified by:
compareTo in interface java.lang.Comparable<com.liferay.portlet.documentlibrary.model.DLFileEntry>
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.DLFileEntryModel- 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.DLFileEntry>- Overrides:
resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.documentlibrary.model.DLFileEntry>
toCacheModel
public com.liferay.portal.model.CacheModel<com.liferay.portlet.documentlibrary.model.DLFileEntry> toCacheModel()
- Specified by:
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.documentlibrary.model.DLFileEntry>- Specified by:
toCacheModel in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel- Overrides:
toCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.documentlibrary.model.DLFileEntry>
toString
public java.lang.String toString()
- Specified by:
toString in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel- 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.DLFileEntry>- Specified by:
toXmlString in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel