|
Liferay 6.1.0-ce-rc1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<DLFileEntry>
com.liferay.portlet.documentlibrary.model.impl.DLFileEntryModelImpl
@JSON(strict=true) public class DLFileEntryModelImpl
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.
DLFileEntryImpl,
DLFileEntry,
DLFileEntryModel,
Serialized Form| Field Summary | |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static long |
FILEENTRYTYPEID_COLUMN_BITMASK
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
FOLDERID_COLUMN_BITMASK
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static long |
NAME_COLUMN_BITMASK
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static long |
TITLE_COLUMN_BITMASK
|
static String |
TX_MANAGER
|
static long |
USERID_COLUMN_BITMASK
|
static long |
UUID_COLUMN_BITMASK
|
| Constructor Summary | |
|---|---|
DLFileEntryModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DLFileEntry dlFileEntry)
|
boolean |
equals(Object obj)
|
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this document library file entry. |
Date |
getCreateDate()
Returns the create date of this document library file entry. |
long |
getCustom1ImageId()
Returns the custom1 image ID of this document library file entry. |
long |
getCustom2ImageId()
Returns the custom2 image ID of this document library file entry. |
String |
getDescription()
Returns the description of this document library file entry. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
String |
getExtension()
Returns the extension of this document library file entry. |
String |
getExtraSettings()
Returns the extra settings of this document library file entry. |
long |
getFileEntryId()
Returns the file entry ID of this document library file entry. |
long |
getFileEntryTypeId()
Returns the file entry type ID of this document library file entry. |
long |
getFolderId()
Returns the folder ID of this document library file entry. |
long |
getGroupId()
Returns the group ID of this document library file entry. |
long |
getLargeImageId()
Returns the large image ID of this document library file entry. |
String |
getMimeType()
Returns the mime type of this document library file entry. |
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this document library file entry. |
String |
getName()
Returns the name of this document library file entry. |
long |
getOriginalCompanyId()
|
long |
getOriginalFileEntryTypeId()
|
long |
getOriginalFolderId()
|
long |
getOriginalGroupId()
|
String |
getOriginalName()
|
String |
getOriginalTitle()
|
long |
getOriginalUserId()
|
String |
getOriginalUuid()
|
long |
getPrimaryKey()
Returns the primary key of this document library file entry. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
int |
getReadCount()
Returns the read count of this document library file entry. |
long |
getRepositoryId()
Returns the repository ID of this document library file entry. |
long |
getSize()
Returns the size of this document library file entry. |
long |
getSmallImageId()
Returns the small image ID of this document library file entry. |
String |
getTitle()
Returns the title of this document library file entry. |
long |
getUserId()
Returns the user ID of this document library file entry. |
String |
getUserName()
Returns the user name of this document library file entry. |
String |
getUserUuid()
Returns the user uuid of this document library file entry. |
String |
getUuid()
Returns the uuid of this document library file entry. |
String |
getVersion()
Returns the version of this document library file entry. |
long |
getVersionUserId()
Returns the version user ID of this document library file entry. |
String |
getVersionUserName()
Returns the version user name of this document library file entry. |
String |
getVersionUserUuid()
Returns the version user uuid of this document library file entry. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCompanyId(long companyId)
Sets the company ID of this document library file entry. |
void |
setCreateDate(Date createDate)
Sets the create date of this document library file entry. |
void |
setCustom1ImageId(long custom1ImageId)
Sets the custom1 image ID of this document library file entry. |
void |
setCustom2ImageId(long custom2ImageId)
Sets the custom2 image ID of this document library file entry. |
void |
setDescription(String description)
Sets the description of this document library file entry. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setExtension(String extension)
Sets the extension of this document library file entry. |
void |
setExtraSettings(String extraSettings)
Sets the extra settings of this document library file entry. |
void |
setFileEntryId(long fileEntryId)
Sets the file entry ID of this document library file entry. |
void |
setFileEntryTypeId(long fileEntryTypeId)
Sets the file entry type ID of this document library file entry. |
void |
setFolderId(long folderId)
Sets the folder ID of this document library file entry. |
void |
setGroupId(long groupId)
Sets the group ID of this document library file entry. |
void |
setLargeImageId(long largeImageId)
Sets the large image ID of this document library file entry. |
void |
setMimeType(String mimeType)
Sets the mime type of this document library file entry. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this document library file entry. |
void |
setName(String name)
Sets the name of this document library file entry. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this document library file entry. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setReadCount(int readCount)
Sets the read count of this document library file entry. |
void |
setRepositoryId(long repositoryId)
Sets the repository ID of this document library file entry. |
void |
setSize(long size)
Sets the size of this document library file entry. |
void |
setSmallImageId(long smallImageId)
Sets the small image ID of this document library file entry. |
void |
setTitle(String title)
Sets the title of this document library file entry. |
void |
setUserId(long userId)
Sets the user ID of this document library file entry. |
void |
setUserName(String userName)
Sets the user name of this document library file entry. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this document library file entry. |
void |
setUuid(String uuid)
Sets the uuid of this document library file entry. |
void |
setVersion(String version)
Sets the version of this document library file entry. |
void |
setVersionUserId(long versionUserId)
Sets the version user ID of this document library file entry. |
void |
setVersionUserName(String versionUserName)
Sets the version user name of this document library file entry. |
void |
setVersionUserUuid(String versionUserUuid)
Sets the version user uuid of this document library file entry. |
CacheModel<DLFileEntry> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
DLFileEntry |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static DLFileEntry |
toModel(DLFileEntrySoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<DLFileEntry> |
toModels(DLFileEntrySoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| 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 |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static long COMPANYID_COLUMN_BITMASK
public static long FILEENTRYTYPEID_COLUMN_BITMASK
public static long FOLDERID_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long NAME_COLUMN_BITMASK
public static long TITLE_COLUMN_BITMASK
public static long USERID_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public DLFileEntryModelImpl()
| Method Detail |
|---|
public static DLFileEntry toModel(DLFileEntrySoap soapModel)
soapModel - the soap model instance to convert
public static List<DLFileEntry> toModels(DLFileEntrySoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
DLFileEntryModel
getPrimaryKey in interface DLFileEntryModelpublic void setPrimaryKey(long primaryKey)
DLFileEntryModel
setPrimaryKey in interface DLFileEntryModelprimaryKey - the primary key of this document library file entrypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DLFileEntry>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DLFileEntryModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<DLFileEntry>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DLFileEntryModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModel@JSON public String getUuid()
DLFileEntryModel
getUuid in interface DLFileEntryModelpublic void setUuid(String uuid)
DLFileEntryModel
setUuid in interface DLFileEntryModeluuid - the uuid of this document library file entrypublic String getOriginalUuid()
@JSON public long getFileEntryId()
DLFileEntryModel
getFileEntryId in interface DLFileEntryModelpublic void setFileEntryId(long fileEntryId)
DLFileEntryModel
setFileEntryId in interface DLFileEntryModelfileEntryId - the file entry ID of this document library file entry@JSON public long getGroupId()
DLFileEntryModel
getGroupId in interface GroupedModelgetGroupId in interface DLFileEntryModelpublic void setGroupId(long groupId)
DLFileEntryModel
setGroupId in interface GroupedModelsetGroupId in interface DLFileEntryModelgroupId - the group ID of this document library file entrypublic long getOriginalGroupId()
@JSON public long getCompanyId()
DLFileEntryModel
getCompanyId in interface AuditedModelgetCompanyId in interface DLFileEntryModelpublic void setCompanyId(long companyId)
DLFileEntryModel
setCompanyId in interface AuditedModelsetCompanyId in interface DLFileEntryModelcompanyId - the company ID of this document library file entrypublic long getOriginalCompanyId()
@JSON public long getUserId()
DLFileEntryModel
getUserId in interface AuditedModelgetUserId in interface DLFileEntryModelpublic void setUserId(long userId)
DLFileEntryModel
setUserId in interface AuditedModelsetUserId in interface DLFileEntryModeluserId - the user ID of this document library file entry
public String getUserUuid()
throws SystemException
DLFileEntryModel
getUserUuid in interface AuditedModelgetUserUuid in interface DLFileEntryModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
DLFileEntryModel
setUserUuid in interface AuditedModelsetUserUuid in interface DLFileEntryModeluserUuid - the user uuid of this document library file entrypublic long getOriginalUserId()
@JSON public String getUserName()
DLFileEntryModel
getUserName in interface AuditedModelgetUserName in interface DLFileEntryModelpublic void setUserName(String userName)
DLFileEntryModel
setUserName in interface AuditedModelsetUserName in interface DLFileEntryModeluserName - the user name of this document library file entry@JSON public long getVersionUserId()
DLFileEntryModel
getVersionUserId in interface DLFileEntryModelpublic void setVersionUserId(long versionUserId)
DLFileEntryModel
setVersionUserId in interface DLFileEntryModelversionUserId - the version user ID of this document library file entry
public String getVersionUserUuid()
throws SystemException
DLFileEntryModel
getVersionUserUuid in interface DLFileEntryModelSystemException - if a system exception occurredpublic void setVersionUserUuid(String versionUserUuid)
DLFileEntryModel
setVersionUserUuid in interface DLFileEntryModelversionUserUuid - the version user uuid of this document library file entry@JSON public String getVersionUserName()
DLFileEntryModel
getVersionUserName in interface DLFileEntryModelpublic void setVersionUserName(String versionUserName)
DLFileEntryModel
setVersionUserName in interface DLFileEntryModelversionUserName - the version user name of this document library file entry@JSON public Date getCreateDate()
DLFileEntryModel
getCreateDate in interface AuditedModelgetCreateDate in interface DLFileEntryModelpublic void setCreateDate(Date createDate)
DLFileEntryModel
setCreateDate in interface AuditedModelsetCreateDate in interface DLFileEntryModelcreateDate - the create date of this document library file entry@JSON public Date getModifiedDate()
DLFileEntryModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface DLFileEntryModelpublic void setModifiedDate(Date modifiedDate)
DLFileEntryModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface DLFileEntryModelmodifiedDate - the modified date of this document library file entry@JSON public long getRepositoryId()
DLFileEntryModel
getRepositoryId in interface DLFileEntryModelpublic void setRepositoryId(long repositoryId)
DLFileEntryModel
setRepositoryId in interface DLFileEntryModelrepositoryId - the repository ID of this document library file entry@JSON public long getFolderId()
DLFileEntryModel
getFolderId in interface DLFileEntryModelpublic void setFolderId(long folderId)
DLFileEntryModel
setFolderId in interface DLFileEntryModelfolderId - the folder ID of this document library file entrypublic long getOriginalFolderId()
@JSON public String getName()
DLFileEntryModel
getName in interface DLFileEntryModelpublic void setName(String name)
DLFileEntryModel
setName in interface DLFileEntryModelname - the name of this document library file entrypublic String getOriginalName()
@JSON public String getExtension()
DLFileEntryModel
getExtension in interface DLFileEntryModelpublic void setExtension(String extension)
DLFileEntryModel
setExtension in interface DLFileEntryModelextension - the extension of this document library file entry@JSON public String getMimeType()
DLFileEntryModel
getMimeType in interface DLFileEntryModelpublic void setMimeType(String mimeType)
DLFileEntryModel
setMimeType in interface DLFileEntryModelmimeType - the mime type of this document library file entry@JSON public String getTitle()
DLFileEntryModel
getTitle in interface DLFileEntryModelpublic void setTitle(String title)
DLFileEntryModel
setTitle in interface DLFileEntryModeltitle - the title of this document library file entrypublic String getOriginalTitle()
@JSON public String getDescription()
DLFileEntryModel
getDescription in interface DLFileEntryModelpublic void setDescription(String description)
DLFileEntryModel
setDescription in interface DLFileEntryModeldescription - the description of this document library file entry@JSON public String getExtraSettings()
DLFileEntryModel
getExtraSettings in interface DLFileEntryModelpublic void setExtraSettings(String extraSettings)
DLFileEntryModel
setExtraSettings in interface DLFileEntryModelextraSettings - the extra settings of this document library file entry@JSON public long getFileEntryTypeId()
DLFileEntryModel
getFileEntryTypeId in interface DLFileEntryModelpublic void setFileEntryTypeId(long fileEntryTypeId)
DLFileEntryModel
setFileEntryTypeId in interface DLFileEntryModelfileEntryTypeId - the file entry type ID of this document library file entrypublic long getOriginalFileEntryTypeId()
@JSON public String getVersion()
DLFileEntryModel
getVersion in interface DLFileEntryModelpublic void setVersion(String version)
DLFileEntryModel
setVersion in interface DLFileEntryModelversion - the version of this document library file entry@JSON public long getSize()
DLFileEntryModel
getSize in interface DLFileEntryModelpublic void setSize(long size)
DLFileEntryModel
setSize in interface DLFileEntryModelsize - the size of this document library file entry@JSON public int getReadCount()
DLFileEntryModel
getReadCount in interface DLFileEntryModelpublic void setReadCount(int readCount)
DLFileEntryModel
setReadCount in interface DLFileEntryModelreadCount - the read count of this document library file entry@JSON public long getSmallImageId()
DLFileEntryModel
getSmallImageId in interface DLFileEntryModelpublic void setSmallImageId(long smallImageId)
DLFileEntryModel
setSmallImageId in interface DLFileEntryModelsmallImageId - the small image ID of this document library file entry@JSON public long getLargeImageId()
DLFileEntryModel
getLargeImageId in interface DLFileEntryModelpublic void setLargeImageId(long largeImageId)
DLFileEntryModel
setLargeImageId in interface DLFileEntryModellargeImageId - the large image ID of this document library file entry@JSON public long getCustom1ImageId()
DLFileEntryModel
getCustom1ImageId in interface DLFileEntryModelpublic void setCustom1ImageId(long custom1ImageId)
DLFileEntryModel
setCustom1ImageId in interface DLFileEntryModelcustom1ImageId - the custom1 image ID of this document library file entry@JSON public long getCustom2ImageId()
DLFileEntryModel
getCustom2ImageId in interface DLFileEntryModelpublic void setCustom2ImageId(long custom2ImageId)
DLFileEntryModel
setCustom2ImageId in interface DLFileEntryModelcustom2ImageId - the custom2 image ID of this document library file entrypublic long getColumnBitmask()
public DLFileEntry toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<DLFileEntry>toEscapedModel in interface DLFileEntryModeltoEscapedModel in class BaseModelImpl<DLFileEntry>AutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DLFileEntry>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DLFileEntryModelgetExpandoBridge in class BaseModelImpl<DLFileEntry>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DLFileEntry>setExpandoBridgeAttributes in interface DLFileEntryModelsetExpandoBridgeAttributes in class BaseModelImpl<DLFileEntry>serviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<DLFileEntry>clone in interface DLFileEntryModelclone in class BaseModelImpl<DLFileEntry>public int compareTo(DLFileEntry dlFileEntry)
compareTo in interface DLFileEntryModelcompareTo in interface Comparable<DLFileEntry>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface DLFileEntryModelhashCode in class Objectpublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<DLFileEntry>resetOriginalValues in class BaseModelImpl<DLFileEntry>public CacheModel<DLFileEntry> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<DLFileEntry>toCacheModel in interface DLFileEntryModeltoCacheModel in class BaseModelImpl<DLFileEntry>public String toString()
toString in interface DLFileEntryModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DLFileEntry>toXmlString in interface DLFileEntryModel
|
Liferay 6.1.0-ce-rc1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||