|
Liferay 6.1.2-ce-ga3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.documentlibrary.model.DLFileEntryWrapper
public class DLFileEntryWrapper
This class is a wrapper for DLFileEntry.
DLFileEntry,
Serialized Form| Constructor Summary | |
|---|---|
DLFileEntryWrapper(DLFileEntry dlFileEntry)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DLFileEntry dlFileEntry)
|
boolean |
equals(Object obj)
|
long |
getCompanyId()
Returns the company ID of this document library file entry. |
InputStream |
getContentStream()
|
InputStream |
getContentStream(String version)
|
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. |
long |
getDataRepositoryId()
|
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. |
UnicodeProperties |
getExtraSettingsProperties()
|
Map<String,Fields> |
getFieldsMap(long fileVersionId)
|
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. |
DLFileVersion |
getFileVersion()
|
DLFileVersion |
getFileVersion(String version)
|
List<DLFileVersion> |
getFileVersions(int status)
|
int |
getFileVersionsCount(int status)
|
DLFolder |
getFolder()
|
long |
getFolderId()
Returns the folder ID of this document library file entry. |
long |
getGroupId()
Returns the group ID of this document library file entry. |
String |
getIcon()
|
long |
getLargeImageId()
Returns the large image ID of this document library file entry. |
DLFileVersion |
getLatestFileVersion(boolean trusted)
|
Lock |
getLock()
|
String |
getLuceneProperties()
|
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 |
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. |
DLFileEntry |
getWrappedDLFileEntry()
Deprecated. Renamed to getWrappedModel() |
DLFileEntry |
getWrappedModel()
|
int |
hashCode()
|
boolean |
hasLock()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isCheckedOut()
|
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
setExtraSettingsProperties(UnicodeProperties extraSettingsProperties)
|
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 |
setFileVersion(DLFileVersion dlFileVersion)
|
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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. |
String |
toString()
|
DLFileEntry |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DLFileEntryWrapper(DLFileEntry dlFileEntry)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<DLFileEntry>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<DLFileEntry>public long getPrimaryKey()
getPrimaryKey in interface DLFileEntryModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DLFileEntryModelprimaryKey - the primary key of this document library file entrypublic String getUuid()
getUuid in interface DLFileEntryModelpublic void setUuid(String uuid)
setUuid in interface DLFileEntryModeluuid - the uuid of this document library file entrypublic long getFileEntryId()
getFileEntryId in interface DLFileEntryModelpublic void setFileEntryId(long fileEntryId)
setFileEntryId in interface DLFileEntryModelfileEntryId - the file entry ID of this document library file entrypublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface DLFileEntryModelpublic void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface DLFileEntryModelgroupId - the group ID of this document library file entrypublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface DLFileEntryModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface DLFileEntryModelcompanyId - the company ID of this document library file entrypublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface DLFileEntryModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface DLFileEntryModeluserId - the user ID of this document library file entry
public String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface DLFileEntryModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface DLFileEntryModeluserUuid - the user uuid of this document library file entrypublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface DLFileEntryModelpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface DLFileEntryModeluserName - the user name of this document library file entrypublic long getVersionUserId()
getVersionUserId in interface DLFileEntryModelpublic void setVersionUserId(long versionUserId)
setVersionUserId in interface DLFileEntryModelversionUserId - the version user ID of this document library file entry
public String getVersionUserUuid()
throws SystemException
getVersionUserUuid in interface DLFileEntryModelSystemException - if a system exception occurredpublic void setVersionUserUuid(String versionUserUuid)
setVersionUserUuid in interface DLFileEntryModelversionUserUuid - the version user uuid of this document library file entrypublic String getVersionUserName()
getVersionUserName in interface DLFileEntryModelpublic void setVersionUserName(String versionUserName)
setVersionUserName in interface DLFileEntryModelversionUserName - the version user name of this document library file entrypublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface DLFileEntryModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface DLFileEntryModelcreateDate - the create date of this document library file entrypublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface DLFileEntryModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface DLFileEntryModelmodifiedDate - the modified date of this document library file entrypublic long getRepositoryId()
getRepositoryId in interface DLFileEntryModelpublic void setRepositoryId(long repositoryId)
setRepositoryId in interface DLFileEntryModelrepositoryId - the repository ID of this document library file entrypublic long getFolderId()
getFolderId in interface DLFileEntryModelpublic void setFolderId(long folderId)
setFolderId in interface DLFileEntryModelfolderId - the folder ID of this document library file entrypublic String getName()
getName in interface DLFileEntryModelpublic void setName(String name)
setName in interface DLFileEntryModelname - the name of this document library file entrypublic String getExtension()
getExtension in interface DLFileEntryModelpublic void setExtension(String extension)
setExtension in interface DLFileEntryModelextension - the extension of this document library file entrypublic String getMimeType()
getMimeType in interface DLFileEntryModelpublic void setMimeType(String mimeType)
setMimeType in interface DLFileEntryModelmimeType - the mime type of this document library file entrypublic String getTitle()
getTitle in interface DLFileEntryModelpublic void setTitle(String title)
setTitle in interface DLFileEntryModeltitle - the title of this document library file entrypublic String getDescription()
getDescription in interface DLFileEntryModelpublic void setDescription(String description)
setDescription in interface DLFileEntryModeldescription - the description of this document library file entrypublic String getExtraSettings()
getExtraSettings in interface DLFileEntrygetExtraSettings in interface DLFileEntryModelpublic void setExtraSettings(String extraSettings)
setExtraSettings in interface DLFileEntrysetExtraSettings in interface DLFileEntryModelextraSettings - the extra settings of this document library file entrypublic long getFileEntryTypeId()
getFileEntryTypeId in interface DLFileEntryModelpublic void setFileEntryTypeId(long fileEntryTypeId)
setFileEntryTypeId in interface DLFileEntryModelfileEntryTypeId - the file entry type ID of this document library file entrypublic String getVersion()
getVersion in interface DLFileEntryModelpublic void setVersion(String version)
setVersion in interface DLFileEntryModelversion - the version of this document library file entrypublic long getSize()
getSize in interface DLFileEntryModelpublic void setSize(long size)
setSize in interface DLFileEntryModelsize - the size of this document library file entrypublic int getReadCount()
getReadCount in interface DLFileEntryModelpublic void setReadCount(int readCount)
setReadCount in interface DLFileEntryModelreadCount - the read count of this document library file entrypublic long getSmallImageId()
getSmallImageId in interface DLFileEntryModelpublic void setSmallImageId(long smallImageId)
setSmallImageId in interface DLFileEntryModelsmallImageId - the small image ID of this document library file entrypublic long getLargeImageId()
getLargeImageId in interface DLFileEntryModelpublic void setLargeImageId(long largeImageId)
setLargeImageId in interface DLFileEntryModellargeImageId - the large image ID of this document library file entrypublic long getCustom1ImageId()
getCustom1ImageId in interface DLFileEntryModelpublic void setCustom1ImageId(long custom1ImageId)
setCustom1ImageId in interface DLFileEntryModelcustom1ImageId - the custom1 image ID of this document library file entrypublic long getCustom2ImageId()
getCustom2ImageId in interface DLFileEntryModelpublic void setCustom2ImageId(long custom2ImageId)
setCustom2ImageId in interface DLFileEntryModelcustom2ImageId - the custom2 image ID of this document library file entrypublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<DLFileEntry>isNew in interface DLFileEntryModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<DLFileEntry>setNew in interface DLFileEntryModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<DLFileEntry>isCachedModel in interface DLFileEntryModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<DLFileEntry>setCachedModel in interface DLFileEntryModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<DLFileEntry>isEscapedModel in interface DLFileEntryModeltrue if this model instance is escaped;
false otherwisepublic 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 ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DLFileEntry>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DLFileEntrygetExpandoBridge in interface DLFileEntryModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DLFileEntry>setExpandoBridgeAttributes in interface DLFileEntryModelserviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<DLFileEntry>clone in interface DLFileEntryModelclone in class Objectpublic int compareTo(DLFileEntry dlFileEntry)
compareTo in interface DLFileEntryModelcompareTo in interface Comparable<DLFileEntry>public int hashCode()
hashCode in interface DLFileEntryModelhashCode in class Objectpublic CacheModel<DLFileEntry> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<DLFileEntry>toCacheModel in interface DLFileEntryModelpublic DLFileEntry toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<DLFileEntry>toEscapedModel in interface DLFileEntryModelAutoEscapeBeanHandlerpublic DLFileEntry toUnescapedModel()
toUnescapedModel in interface BaseModel<DLFileEntry>toUnescapedModel in interface DLFileEntryModelpublic String toString()
toString in interface DLFileEntryModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DLFileEntry>toXmlString in interface DLFileEntryModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurred
public InputStream getContentStream()
throws PortalException,
SystemException
getContentStream in interface DLFileEntryPortalException
SystemException
public InputStream getContentStream(String version)
throws PortalException,
SystemException
getContentStream in interface DLFileEntryPortalException
SystemExceptionpublic long getDataRepositoryId()
getDataRepositoryId in interface DLFileEntrypublic UnicodeProperties getExtraSettingsProperties()
getExtraSettingsProperties in interface DLFileEntry
public Map<String,Fields> getFieldsMap(long fileVersionId)
throws PortalException,
SystemException
getFieldsMap in interface DLFileEntryPortalException
SystemException
public DLFileVersion getFileVersion()
throws PortalException,
SystemException
getFileVersion in interface DLFileEntryPortalException
SystemException
public DLFileVersion getFileVersion(String version)
throws PortalException,
SystemException
getFileVersion in interface DLFileEntryPortalException
SystemException
public List<DLFileVersion> getFileVersions(int status)
throws SystemException
getFileVersions in interface DLFileEntrySystemException
public int getFileVersionsCount(int status)
throws SystemException
getFileVersionsCount in interface DLFileEntrySystemExceptionpublic DLFolder getFolder()
getFolder in interface DLFileEntrypublic String getIcon()
getIcon in interface DLFileEntry
public DLFileVersion getLatestFileVersion(boolean trusted)
throws PortalException,
SystemException
getLatestFileVersion in interface DLFileEntryPortalException
SystemExceptionpublic Lock getLock()
getLock in interface DLFileEntrypublic String getLuceneProperties()
getLuceneProperties in interface DLFileEntrypublic boolean hasLock()
hasLock in interface DLFileEntrypublic boolean isCheckedOut()
isCheckedOut in interface DLFileEntrypublic void setExtraSettingsProperties(UnicodeProperties extraSettingsProperties)
setExtraSettingsProperties in interface DLFileEntrypublic void setFileVersion(DLFileVersion dlFileVersion)
setFileVersion in interface DLFileEntrypublic boolean equals(Object obj)
equals in class Objectpublic DLFileEntry getWrappedDLFileEntry()
getWrappedModel()
public DLFileEntry getWrappedModel()
getWrappedModel in interface ModelWrapper<DLFileEntry>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<DLFileEntry>
|
Liferay 6.1.2-ce-ga3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||