@ProviderType public class DLFileVersionWrapper extends Object implements DLFileVersion, ModelWrapper<DLFileVersion>
This class is a wrapper for DLFileVersion.
DLFileVersion,
Serialized FormFILE_VERSION_ID_ACCESSOR| Constructor and Description |
|---|
DLFileVersionWrapper(DLFileVersion dlFileVersion) |
| Modifier and Type | Method and Description |
|---|---|
String |
buildTreePath() |
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(DLFileVersion dlFileVersion) |
boolean |
equals(Object obj) |
String |
getChangeLog()
Returns the change log of this document library file version.
|
String |
getChecksum()
Returns the checksum of this document library file version.
|
long |
getCompanyId()
Returns the company ID of this document library file version.
|
InputStream |
getContentStream(boolean incrementCounter) |
Date |
getCreateDate()
Returns the create date of this document library file version.
|
List<DDMStructure> |
getDDMStructures() |
String |
getDescription()
Returns the description of this document library file version.
|
DLFileEntryType |
getDLFileEntryType() |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
String |
getExtension()
Returns the extension of this document library file version.
|
String |
getExtraSettings()
Returns the extra settings of this document library file version.
|
UnicodeProperties |
getExtraSettingsProperties() |
DLFileEntry |
getFileEntry() |
long |
getFileEntryId()
Returns the file entry ID of this document library file version.
|
long |
getFileEntryTypeId()
Returns the file entry type ID of this document library file version.
|
String |
getFileName()
Returns the file name of this document library file version.
|
long |
getFileVersionId()
Returns the file version ID of this document library file version.
|
DLFolder |
getFolder() |
long |
getFolderId()
Returns the folder ID of this document library file version.
|
long |
getGroupId()
Returns the group ID of this document library file version.
|
String |
getIcon() |
Date |
getLastPublishDate()
Returns the last publish date of this document library file version.
|
String |
getMimeType()
Returns the mime type of this document library file version.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
Date |
getModifiedDate()
Returns the modified date of this document library file version.
|
long |
getPrimaryKey()
Returns the primary key of this document library file version.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getRepositoryId()
Returns the repository ID of this document library file version.
|
long |
getSize()
Returns the size of this document library file version.
|
StagedModelType |
getStagedModelType() |
int |
getStatus()
Returns the status of this document library file version.
|
long |
getStatusByUserId()
Returns the status by user ID of this document library file version.
|
String |
getStatusByUserName()
Returns the status by user name of this document library file version.
|
String |
getStatusByUserUuid()
Returns the status by user uuid of this document library file version.
|
Date |
getStatusDate()
Returns the status date of this document library file version.
|
String |
getTitle()
Returns the title of this document library file version.
|
String |
getTreePath()
Returns the tree path of this document library file version.
|
long |
getUserId()
Returns the user ID of this document library file version.
|
String |
getUserName()
Returns the user name of this document library file version.
|
String |
getUserUuid()
Returns the user uuid of this document library file version.
|
String |
getUuid()
Returns the uuid of this document library file version.
|
String |
getVersion()
Returns the version of this document library file version.
|
DLFileVersion |
getWrappedModel() |
int |
hashCode() |
boolean |
isApproved()
Returns
true if this document library file version is approved. |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isDenied()
Returns
true if this document library file version is denied. |
boolean |
isDraft()
Returns
true if this document library file version is a draft. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isExpired()
Returns
true if this document library file version is expired. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
boolean |
isInactive()
Returns
true if this document library file version is inactive. |
boolean |
isIncomplete()
Returns
true if this document library file version is incomplete. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
boolean |
isPending()
Returns
true if this document library file version is pending. |
boolean |
isScheduled()
Returns
true if this document library file version is scheduled. |
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 |
setChangeLog(String changeLog)
Sets the change log of this document library file version.
|
void |
setChecksum(String checksum)
Sets the checksum of this document library file version.
|
void |
setCompanyId(long companyId)
Sets the company ID of this document library file version.
|
void |
setCreateDate(Date createDate)
Sets the create date of this document library file version.
|
void |
setDescription(String description)
Sets the description of this document library file version.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
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 version.
|
void |
setExtraSettings(String extraSettings)
Sets the extra settings of this document library file version.
|
void |
setExtraSettingsProperties(UnicodeProperties extraSettingsProperties) |
void |
setFileEntryId(long fileEntryId)
Sets the file entry ID of this document library file version.
|
void |
setFileEntryTypeId(long fileEntryTypeId)
Sets the file entry type ID of this document library file version.
|
void |
setFileName(String fileName)
Sets the file name of this document library file version.
|
void |
setFileVersionId(long fileVersionId)
Sets the file version ID of this document library file version.
|
void |
setFolderId(long folderId)
Sets the folder ID of this document library file version.
|
void |
setGroupId(long groupId)
Sets the group ID of this document library file version.
|
void |
setLastPublishDate(Date lastPublishDate)
Sets the last publish date of this document library file version.
|
void |
setMimeType(String mimeType)
Sets the mime type of this document library file version.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this document library file version.
|
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 version.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setRepositoryId(long repositoryId)
Sets the repository ID of this document library file version.
|
void |
setSize(long size)
Sets the size of this document library file version.
|
void |
setStatus(int status)
Sets the status of this document library file version.
|
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this document library file version.
|
void |
setStatusByUserName(String statusByUserName)
Sets the status by user name of this document library file version.
|
void |
setStatusByUserUuid(String statusByUserUuid)
Sets the status by user uuid of this document library file version.
|
void |
setStatusDate(Date statusDate)
Sets the status date of this document library file version.
|
void |
setTitle(String title)
Sets the title of this document library file version.
|
void |
setTreePath(String treePath)
Sets the tree path of this document library file version.
|
void |
setUserId(long userId)
Sets the user ID of this document library file version.
|
void |
setUserName(String userName)
Sets the user name of this document library file version.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this document library file version.
|
void |
setUuid(String uuid)
Sets the uuid of this document library file version.
|
void |
setVersion(String version)
Sets the version of this document library file version.
|
CacheModel<DLFileVersion> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
DLFileVersion |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
DLFileVersion |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
void |
updateTreePath(String treePath) |
public DLFileVersionWrapper(DLFileVersion dlFileVersion)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<DLFileVersion>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<DLFileVersion>public DLFileEntry getFileEntry() throws PortalException
getFileEntry in interface DLFileVersionPortalExceptionpublic DLFileEntryType getDLFileEntryType() throws PortalException
getDLFileEntryType in interface DLFileVersionPortalExceptionpublic DLFileVersion toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface DLFileVersionModeltoEscapedModel in interface BaseModel<DLFileVersion>AutoEscapeBeanHandlerpublic DLFileVersion toUnescapedModel()
toUnescapedModel in interface DLFileVersionModeltoUnescapedModel in interface BaseModel<DLFileVersion>public DLFolder getFolder() throws PortalException
getFolder in interface DLFileVersionPortalExceptionpublic boolean isApproved()
true if this document library file version is approved.isApproved in interface DLFileVersionModelisApproved in interface WorkflowedModeltrue if this document library file version is approved; false otherwisepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface DLFileVersionModelisCachedModel in interface BaseModel<DLFileVersion>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isDenied()
true if this document library file version is denied.isDenied in interface DLFileVersionModelisDenied in interface WorkflowedModeltrue if this document library file version is denied; false otherwisepublic boolean isDraft()
true if this document library file version is a draft.isDraft in interface DLFileVersionModelisDraft in interface WorkflowedModeltrue if this document library file version is a draft; false otherwisepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface DLFileVersionModelisEscapedModel in interface BaseModel<DLFileVersion>true if this model instance is escaped;
false otherwisepublic boolean isExpired()
true if this document library file version is expired.isExpired in interface DLFileVersionModelisExpired in interface WorkflowedModeltrue if this document library file version is expired; false otherwisepublic boolean isInactive()
true if this document library file version is inactive.isInactive in interface DLFileVersionModelisInactive in interface WorkflowedModeltrue if this document library file version is inactive; false otherwisepublic boolean isIncomplete()
true if this document library file version is incomplete.isIncomplete in interface DLFileVersionModelisIncomplete in interface WorkflowedModeltrue if this document library file version is incomplete; false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface DLFileVersionModelisNew in interface BaseModel<DLFileVersion>true if this model instance does not yet exist in
the database; false otherwisepublic boolean isPending()
true if this document library file version is pending.isPending in interface DLFileVersionModelisPending in interface WorkflowedModeltrue if this document library file version is pending; false otherwisepublic boolean isScheduled()
true if this document library file version is scheduled.isScheduled in interface DLFileVersionModelisScheduled in interface WorkflowedModeltrue if this document library file version is scheduled; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface DLFileVersionModelgetExpandoBridge in interface BaseModel<DLFileVersion>getExpandoBridge in interface ClassedModelpublic CacheModel<DLFileVersion> toCacheModel()
BaseModeltoCacheModel in interface DLFileVersionModeltoCacheModel in interface BaseModel<DLFileVersion>public UnicodeProperties getExtraSettingsProperties()
getExtraSettingsProperties in interface DLFileVersionpublic int compareTo(DLFileVersion dlFileVersion)
compareTo in interface DLFileVersionModelcompareTo in interface Comparable<DLFileVersion>public int getStatus()
getStatus in interface DLFileVersionModelgetStatus in interface WorkflowedModelpublic int hashCode()
hashCode in interface DLFileVersionModelhashCode in class Objectpublic InputStream getContentStream(boolean incrementCounter) throws PortalException
getContentStream in interface DLFileVersionPortalExceptionpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface DLFileVersionModelgetPrimaryKeyObj in interface BaseModel<DLFileVersion>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface TreeModelpublic Object clone()
BaseModelclone in interface DLFileVersionModelclone in interface BaseModel<DLFileVersion>clone in interface StagedModelclone in class Objectpublic String buildTreePath() throws PortalException
buildTreePath in interface DLFileVersionbuildTreePath in interface TreeModelPortalExceptionpublic String getChangeLog()
getChangeLog in interface DLFileVersionModelpublic String getChecksum()
getChecksum in interface DLFileVersionModelpublic String getDescription()
getDescription in interface DLFileVersionModelpublic String getExtension()
getExtension in interface DLFileVersionModelpublic String getExtraSettings()
getExtraSettings in interface DLFileVersionModelpublic String getFileName()
getFileName in interface DLFileVersionModelpublic String getIcon()
getIcon in interface DLFileVersionpublic String getMimeType()
getMimeType in interface DLFileVersionModelpublic String getStatusByUserName()
getStatusByUserName in interface DLFileVersionModelgetStatusByUserName in interface WorkflowedModelpublic String getStatusByUserUuid()
getStatusByUserUuid in interface DLFileVersionModelgetStatusByUserUuid in interface WorkflowedModelpublic String getTitle()
getTitle in interface DLFileVersionModelpublic String getTreePath()
getTreePath in interface DLFileVersionModelgetTreePath in interface TreeModelpublic String getUserName()
getUserName in interface DLFileVersionModelgetUserName in interface AuditedModelpublic String getUserUuid()
getUserUuid in interface DLFileVersionModelgetUserUuid in interface AuditedModelpublic String getUuid()
getUuid in interface DLFileVersionModelgetUuid in interface StagedModelpublic String getVersion()
getVersion in interface DLFileVersionModelpublic String toString()
toString in interface DLFileVersionModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface DLFileVersionModeltoXmlString in interface BaseModel<DLFileVersion>public Date getCreateDate()
getCreateDate in interface DLFileVersionModelgetCreateDate in interface AuditedModelgetCreateDate in interface StagedModelpublic Date getLastPublishDate()
getLastPublishDate in interface DLFileVersionModelgetLastPublishDate in interface StagedGroupedModelpublic Date getModifiedDate()
getModifiedDate in interface DLFileVersionModelgetModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelpublic Date getStatusDate()
getStatusDate in interface DLFileVersionModelgetStatusDate in interface WorkflowedModelpublic List<DDMStructure> getDDMStructures() throws PortalException
getDDMStructures in interface DLFileVersionPortalExceptionpublic long getCompanyId()
getCompanyId in interface DLFileVersionModelgetCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelpublic long getFileEntryId()
getFileEntryId in interface DLFileVersionModelpublic long getFileEntryTypeId()
getFileEntryTypeId in interface DLFileVersionModelpublic long getFileVersionId()
getFileVersionId in interface DLFileVersionModelpublic long getFolderId()
getFolderId in interface DLFileVersionModelpublic long getGroupId()
getGroupId in interface DLFileVersionModelgetGroupId in interface GroupedModelpublic long getPrimaryKey()
getPrimaryKey in interface DLFileVersionModelpublic long getRepositoryId()
getRepositoryId in interface DLFileVersionModelpublic long getSize()
getSize in interface DLFileVersionModelpublic long getStatusByUserId()
getStatusByUserId in interface DLFileVersionModelgetStatusByUserId in interface WorkflowedModelpublic long getUserId()
getUserId in interface DLFileVersionModelgetUserId in interface AuditedModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface DLFileVersionModelsetCachedModel in interface BaseModel<DLFileVersion>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setChangeLog(String changeLog)
setChangeLog in interface DLFileVersionModelchangeLog - the change log of this document library file versionpublic void setChecksum(String checksum)
setChecksum in interface DLFileVersionModelchecksum - the checksum of this document library file versionpublic void setCompanyId(long companyId)
setCompanyId in interface DLFileVersionModelsetCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this document library file versionpublic void setCreateDate(Date createDate)
setCreateDate in interface DLFileVersionModelsetCreateDate in interface AuditedModelsetCreateDate in interface StagedModelcreateDate - the create date of this document library file versionpublic void setDescription(String description)
setDescription in interface DLFileVersionModeldescription - the description of this document library file versionpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface DLFileVersionModelsetExpandoBridgeAttributes in interface BaseModel<DLFileVersion>public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface DLFileVersionModelsetExpandoBridgeAttributes in interface BaseModel<DLFileVersion>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface DLFileVersionModelsetExpandoBridgeAttributes in interface BaseModel<DLFileVersion>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setExtension(String extension)
setExtension in interface DLFileVersionModelextension - the extension of this document library file versionpublic void setExtraSettings(String extraSettings)
setExtraSettings in interface DLFileVersionModelextraSettings - the extra settings of this document library file versionpublic void setExtraSettingsProperties(UnicodeProperties extraSettingsProperties)
setExtraSettingsProperties in interface DLFileVersionpublic void setFileEntryId(long fileEntryId)
setFileEntryId in interface DLFileVersionModelfileEntryId - the file entry ID of this document library file versionpublic void setFileEntryTypeId(long fileEntryTypeId)
setFileEntryTypeId in interface DLFileVersionModelfileEntryTypeId - the file entry type ID of this document library file versionpublic void setFileName(String fileName)
setFileName in interface DLFileVersionModelfileName - the file name of this document library file versionpublic void setFileVersionId(long fileVersionId)
setFileVersionId in interface DLFileVersionModelfileVersionId - the file version ID of this document library file versionpublic void setFolderId(long folderId)
setFolderId in interface DLFileVersionModelfolderId - the folder ID of this document library file versionpublic void setGroupId(long groupId)
setGroupId in interface DLFileVersionModelsetGroupId in interface GroupedModelgroupId - the group ID of this document library file versionpublic void setLastPublishDate(Date lastPublishDate)
setLastPublishDate in interface DLFileVersionModelsetLastPublishDate in interface StagedGroupedModellastPublishDate - the last publish date of this document library file versionpublic void setMimeType(String mimeType)
setMimeType in interface DLFileVersionModelmimeType - the mime type of this document library file versionpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface DLFileVersionModelsetModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this document library file versionpublic void setNew(boolean n)
BaseModelsetNew in interface DLFileVersionModelsetNew in interface BaseModel<DLFileVersion>n - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DLFileVersionModelprimaryKey - the primary key of this document library file versionpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface DLFileVersionModelsetPrimaryKeyObj in interface BaseModel<DLFileVersion>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instancepublic void setRepositoryId(long repositoryId)
setRepositoryId in interface DLFileVersionModelrepositoryId - the repository ID of this document library file versionpublic void setSize(long size)
setSize in interface DLFileVersionModelsize - the size of this document library file versionpublic void setStatus(int status)
setStatus in interface DLFileVersionModelsetStatus in interface WorkflowedModelstatus - the status of this document library file versionpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface DLFileVersionModelsetStatusByUserId in interface WorkflowedModelstatusByUserId - the status by user ID of this document library file versionpublic void setStatusByUserName(String statusByUserName)
setStatusByUserName in interface DLFileVersionModelsetStatusByUserName in interface WorkflowedModelstatusByUserName - the status by user name of this document library file versionpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid in interface DLFileVersionModelsetStatusByUserUuid in interface WorkflowedModelstatusByUserUuid - the status by user uuid of this document library file versionpublic void setStatusDate(Date statusDate)
setStatusDate in interface DLFileVersionModelsetStatusDate in interface WorkflowedModelstatusDate - the status date of this document library file versionpublic void setTitle(String title)
setTitle in interface DLFileVersionModeltitle - the title of this document library file versionpublic void setTreePath(String treePath)
setTreePath in interface DLFileVersionModeltreePath - the tree path of this document library file versionpublic void setUserId(long userId)
setUserId in interface DLFileVersionModelsetUserId in interface AuditedModeluserId - the user ID of this document library file versionpublic void setUserName(String userName)
setUserName in interface DLFileVersionModelsetUserName in interface AuditedModeluserName - the user name of this document library file versionpublic void setUserUuid(String userUuid)
setUserUuid in interface DLFileVersionModelsetUserUuid in interface AuditedModeluserUuid - the user uuid of this document library file versionpublic void setUuid(String uuid)
setUuid in interface DLFileVersionModelsetUuid in interface StagedModeluuid - the uuid of this document library file versionpublic void setVersion(String version)
setVersion in interface DLFileVersionModelversion - the version of this document library file versionpublic void updateTreePath(String treePath)
updateTreePath in interface TreeModelpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic DLFileVersion getWrappedModel()
getWrappedModel in interface ModelWrapper<DLFileVersion>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<DLFileVersion>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<DLFileVersion>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<DLFileVersion>