|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 FormField 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 |
MIMETYPE_COLUMN_BITMASK
|
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. |
Map<String,Object> |
getModelAttributes()
|
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 |
getOriginalMimeType()
|
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 |
setModelAttributes(Map<String,Object> attributes)
|
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()
|
DLFileEntry |
toUnescapedModel()
|
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 MIMETYPE_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 DLFileEntryModel
public void setPrimaryKey(long primaryKey)
DLFileEntryModel
setPrimaryKey
in interface DLFileEntryModel
primaryKey
- the primary key of this document library file entrypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<DLFileEntry>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface DLFileEntryModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<DLFileEntry>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface DLFileEntryModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<DLFileEntry>
getModelAttributes
in class BaseModelImpl<DLFileEntry>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<DLFileEntry>
setModelAttributes
in class BaseModelImpl<DLFileEntry>
@JSON public String getUuid()
DLFileEntryModel
getUuid
in interface DLFileEntryModel
public void setUuid(String uuid)
DLFileEntryModel
setUuid
in interface DLFileEntryModel
uuid
- the uuid of this document library file entrypublic String getOriginalUuid()
@JSON public long getFileEntryId()
DLFileEntryModel
getFileEntryId
in interface DLFileEntryModel
public void setFileEntryId(long fileEntryId)
DLFileEntryModel
setFileEntryId
in interface DLFileEntryModel
fileEntryId
- the file entry ID of this document library file entry@JSON public long getGroupId()
DLFileEntryModel
getGroupId
in interface GroupedModel
getGroupId
in interface DLFileEntryModel
public void setGroupId(long groupId)
DLFileEntryModel
setGroupId
in interface GroupedModel
setGroupId
in interface DLFileEntryModel
groupId
- the group ID of this document library file entrypublic long getOriginalGroupId()
@JSON public long getCompanyId()
DLFileEntryModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface DLFileEntryModel
public void setCompanyId(long companyId)
DLFileEntryModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface DLFileEntryModel
companyId
- the company ID of this document library file entrypublic long getOriginalCompanyId()
@JSON public long getUserId()
DLFileEntryModel
getUserId
in interface AuditedModel
getUserId
in interface DLFileEntryModel
public void setUserId(long userId)
DLFileEntryModel
setUserId
in interface AuditedModel
setUserId
in interface DLFileEntryModel
userId
- the user ID of this document library file entrypublic String getUserUuid() throws SystemException
DLFileEntryModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface DLFileEntryModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
DLFileEntryModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface DLFileEntryModel
userUuid
- the user uuid of this document library file entrypublic long getOriginalUserId()
@JSON public String getUserName()
DLFileEntryModel
getUserName
in interface AuditedModel
getUserName
in interface DLFileEntryModel
public void setUserName(String userName)
DLFileEntryModel
setUserName
in interface AuditedModel
setUserName
in interface DLFileEntryModel
userName
- the user name of this document library file entry@JSON public long getVersionUserId()
DLFileEntryModel
getVersionUserId
in interface DLFileEntryModel
public void setVersionUserId(long versionUserId)
DLFileEntryModel
setVersionUserId
in interface DLFileEntryModel
versionUserId
- the version user ID of this document library file entrypublic String getVersionUserUuid() throws SystemException
DLFileEntryModel
getVersionUserUuid
in interface DLFileEntryModel
SystemException
- if a system exception occurredpublic void setVersionUserUuid(String versionUserUuid)
DLFileEntryModel
setVersionUserUuid
in interface DLFileEntryModel
versionUserUuid
- the version user uuid of this document library file entry@JSON public String getVersionUserName()
DLFileEntryModel
getVersionUserName
in interface DLFileEntryModel
public void setVersionUserName(String versionUserName)
DLFileEntryModel
setVersionUserName
in interface DLFileEntryModel
versionUserName
- the version user name of this document library file entry@JSON public Date getCreateDate()
DLFileEntryModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface DLFileEntryModel
public void setCreateDate(Date createDate)
DLFileEntryModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface DLFileEntryModel
createDate
- the create date of this document library file entry@JSON public Date getModifiedDate()
DLFileEntryModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface DLFileEntryModel
public void setModifiedDate(Date modifiedDate)
DLFileEntryModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface DLFileEntryModel
modifiedDate
- the modified date of this document library file entry@JSON public long getRepositoryId()
DLFileEntryModel
getRepositoryId
in interface DLFileEntryModel
public void setRepositoryId(long repositoryId)
DLFileEntryModel
setRepositoryId
in interface DLFileEntryModel
repositoryId
- the repository ID of this document library file entry@JSON public long getFolderId()
DLFileEntryModel
getFolderId
in interface DLFileEntryModel
public void setFolderId(long folderId)
DLFileEntryModel
setFolderId
in interface DLFileEntryModel
folderId
- the folder ID of this document library file entrypublic long getOriginalFolderId()
@JSON public String getName()
DLFileEntryModel
getName
in interface DLFileEntryModel
public void setName(String name)
DLFileEntryModel
setName
in interface DLFileEntryModel
name
- the name of this document library file entrypublic String getOriginalName()
@JSON public String getExtension()
DLFileEntryModel
getExtension
in interface DLFileEntryModel
public void setExtension(String extension)
DLFileEntryModel
setExtension
in interface DLFileEntryModel
extension
- the extension of this document library file entry@JSON public String getMimeType()
DLFileEntryModel
getMimeType
in interface DLFileEntryModel
public void setMimeType(String mimeType)
DLFileEntryModel
setMimeType
in interface DLFileEntryModel
mimeType
- the mime type of this document library file entrypublic String getOriginalMimeType()
@JSON public String getTitle()
DLFileEntryModel
getTitle
in interface DLFileEntryModel
public void setTitle(String title)
DLFileEntryModel
setTitle
in interface DLFileEntryModel
title
- the title of this document library file entrypublic String getOriginalTitle()
@JSON public String getDescription()
DLFileEntryModel
getDescription
in interface DLFileEntryModel
public void setDescription(String description)
DLFileEntryModel
setDescription
in interface DLFileEntryModel
description
- the description of this document library file entry@JSON public String getExtraSettings()
DLFileEntryModel
getExtraSettings
in interface DLFileEntryModel
public void setExtraSettings(String extraSettings)
DLFileEntryModel
setExtraSettings
in interface DLFileEntryModel
extraSettings
- the extra settings of this document library file entry@JSON public long getFileEntryTypeId()
DLFileEntryModel
getFileEntryTypeId
in interface DLFileEntryModel
public void setFileEntryTypeId(long fileEntryTypeId)
DLFileEntryModel
setFileEntryTypeId
in interface DLFileEntryModel
fileEntryTypeId
- the file entry type ID of this document library file entrypublic long getOriginalFileEntryTypeId()
@JSON public String getVersion()
DLFileEntryModel
getVersion
in interface DLFileEntryModel
public void setVersion(String version)
DLFileEntryModel
setVersion
in interface DLFileEntryModel
version
- the version of this document library file entry@JSON public long getSize()
DLFileEntryModel
getSize
in interface DLFileEntryModel
public void setSize(long size)
DLFileEntryModel
setSize
in interface DLFileEntryModel
size
- the size of this document library file entry@JSON public int getReadCount()
DLFileEntryModel
getReadCount
in interface DLFileEntryModel
public void setReadCount(int readCount)
DLFileEntryModel
setReadCount
in interface DLFileEntryModel
readCount
- the read count of this document library file entry@JSON public long getSmallImageId()
DLFileEntryModel
getSmallImageId
in interface DLFileEntryModel
public void setSmallImageId(long smallImageId)
DLFileEntryModel
setSmallImageId
in interface DLFileEntryModel
smallImageId
- the small image ID of this document library file entry@JSON public long getLargeImageId()
DLFileEntryModel
getLargeImageId
in interface DLFileEntryModel
public void setLargeImageId(long largeImageId)
DLFileEntryModel
setLargeImageId
in interface DLFileEntryModel
largeImageId
- the large image ID of this document library file entry@JSON public long getCustom1ImageId()
DLFileEntryModel
getCustom1ImageId
in interface DLFileEntryModel
public void setCustom1ImageId(long custom1ImageId)
DLFileEntryModel
setCustom1ImageId
in interface DLFileEntryModel
custom1ImageId
- the custom1 image ID of this document library file entry@JSON public long getCustom2ImageId()
DLFileEntryModel
getCustom2ImageId
in interface DLFileEntryModel
public void setCustom2ImageId(long custom2ImageId)
DLFileEntryModel
setCustom2ImageId
in interface DLFileEntryModel
custom2ImageId
- the custom2 image ID of this document library file entrypublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<DLFileEntry>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface DLFileEntryModel
getExpandoBridge
in class BaseModelImpl<DLFileEntry>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<DLFileEntry>
setExpandoBridgeAttributes
in interface DLFileEntryModel
setExpandoBridgeAttributes
in class BaseModelImpl<DLFileEntry>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public DLFileEntry toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<DLFileEntry>
toEscapedModel
in interface DLFileEntryModel
toEscapedModel
in class BaseModelImpl<DLFileEntry>
AutoEscapeBeanHandler
public DLFileEntry toUnescapedModel()
toUnescapedModel
in interface BaseModel<DLFileEntry>
toUnescapedModel
in interface DLFileEntryModel
toUnescapedModel
in class BaseModelImpl<DLFileEntry>
public Object clone()
BaseModel
clone
in interface BaseModel<DLFileEntry>
clone
in interface DLFileEntryModel
clone
in class BaseModelImpl<DLFileEntry>
public int compareTo(DLFileEntry dlFileEntry)
compareTo
in interface DLFileEntryModel
compareTo
in interface Comparable<DLFileEntry>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface DLFileEntryModel
hashCode
in class Object
public 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 DLFileEntryModel
toCacheModel
in class BaseModelImpl<DLFileEntry>
public String toString()
toString
in interface DLFileEntryModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<DLFileEntry>
toXmlString
in interface DLFileEntryModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |