public class DLFileVersionWrapper extends BaseModelWrapper<DLFileVersion> implements DLFileVersion, ModelWrapper<DLFileVersion>
This class is a wrapper for DLFileVersion
.
DLFileVersion
,
Serialized Formmodel
FILE_VERSION_ID_ACCESSOR
Constructor and Description |
---|
DLFileVersionWrapper(DLFileVersion dlFileVersion) |
Modifier and Type | Method and Description |
---|---|
String |
buildTreePath() |
DLFileVersion |
cloneWithOriginalValues() |
Map<String,Function<DLFileVersion,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<DLFileVersion,Object>> |
getAttributeSetterBiConsumers() |
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.
|
long |
getCtCollectionId()
Returns the ct collection ID 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.
|
Date |
getExpirationDate()
Returns the expiration date of this document library file version.
|
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() |
Date |
getModifiedDate()
Returns the modified date of this document library file version.
|
long |
getMvccVersion()
Returns the mvcc version of this document library file version.
|
long |
getPrimaryKey()
Returns the primary key of this document library file version.
|
long |
getRepositoryId()
Returns the repository ID of this document library file version.
|
Date |
getReviewDate()
Returns the review date 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.
|
boolean |
isApproved()
Returns
true if this document library file version is approved. |
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 |
isExpired()
Returns
true if this document library file version is expired. |
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 |
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 |
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 |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this document library file version.
|
void |
setDescription(String description)
Sets the description of this document library file version.
|
void |
setExpirationDate(Date expirationDate)
Sets the expiration date of this document library file version.
|
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 extraSettingsUnicodeProperties) |
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this document library file version.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this document library file version.
|
void |
setRepositoryId(long repositoryId)
Sets the repository ID of this document library file version.
|
void |
setReviewDate(Date reviewDate)
Sets the review date 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.
|
void |
updateTreePath(String treePath) |
protected DLFileVersionWrapper |
wrap(DLFileVersion dlFileVersion) |
clone, compareTo, equals, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
clone, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
clone
getPrimaryKeyObj
getWrappedModel
public DLFileVersionWrapper(DLFileVersion dlFileVersion)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<DLFileVersion>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<DLFileVersion>
public String buildTreePath() throws PortalException
buildTreePath
in interface DLFileVersion
buildTreePath
in interface TreeModel
PortalException
public DLFileVersion cloneWithOriginalValues()
cloneWithOriginalValues
in interface DLFileVersionModel
cloneWithOriginalValues
in interface BaseModel<DLFileVersion>
public String getChangeLog()
getChangeLog
in interface DLFileVersionModel
public String getChecksum()
getChecksum
in interface DLFileVersionModel
public long getCompanyId()
getCompanyId
in interface DLFileVersionModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface ShardedModel
getCompanyId
in interface StagedModel
public InputStream getContentStream(boolean incrementCounter) throws PortalException
getContentStream
in interface DLFileVersion
PortalException
public Date getCreateDate()
getCreateDate
in interface DLFileVersionModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
public long getCtCollectionId()
getCtCollectionId
in interface DLFileVersionModel
getCtCollectionId
in interface CTModel<DLFileVersion>
public List<DDMStructure> getDDMStructures() throws PortalException
getDDMStructures
in interface DLFileVersion
PortalException
public String getDescription()
getDescription
in interface DLFileVersionModel
public DLFileEntryType getDLFileEntryType() throws PortalException
getDLFileEntryType
in interface DLFileVersion
PortalException
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface DLFileVersion
getExpandoBridge
in interface BaseModel<DLFileVersion>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in class BaseModelWrapper<DLFileVersion>
public Date getExpirationDate()
getExpirationDate
in interface DLFileVersionModel
public String getExtension()
getExtension
in interface DLFileVersionModel
public String getExtraSettings()
getExtraSettings
in interface DLFileVersionModel
public UnicodeProperties getExtraSettingsProperties()
getExtraSettingsProperties
in interface DLFileVersion
public DLFileEntry getFileEntry() throws PortalException
getFileEntry
in interface DLFileVersion
PortalException
public long getFileEntryId()
getFileEntryId
in interface DLFileVersionModel
public long getFileEntryTypeId()
getFileEntryTypeId
in interface DLFileVersionModel
public String getFileName()
getFileName
in interface DLFileVersionModel
public long getFileVersionId()
getFileVersionId
in interface DLFileVersionModel
public DLFolder getFolder() throws PortalException
getFolder
in interface DLFileVersion
PortalException
public long getFolderId()
getFolderId
in interface DLFileVersionModel
public long getGroupId()
getGroupId
in interface DLFileVersionModel
getGroupId
in interface GroupedModel
public String getIcon()
getIcon
in interface DLFileVersion
public Date getLastPublishDate()
getLastPublishDate
in interface DLFileVersionModel
getLastPublishDate
in interface StagedGroupedModel
public String getMimeType()
getMimeType
in interface DLFileVersionModel
public Date getModifiedDate()
getModifiedDate
in interface DLFileVersionModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
public long getMvccVersion()
getMvccVersion
in interface DLFileVersionModel
getMvccVersion
in interface MVCCModel
public long getPrimaryKey()
getPrimaryKey
in interface DLFileVersionModel
getPrimaryKey
in interface CTModel<DLFileVersion>
public long getRepositoryId()
getRepositoryId
in interface DLFileVersionModel
public Date getReviewDate()
getReviewDate
in interface DLFileVersionModel
public long getSize()
getSize
in interface DLFileVersionModel
public int getStatus()
getStatus
in interface DLFileVersionModel
getStatus
in interface WorkflowedModel
public long getStatusByUserId()
getStatusByUserId
in interface DLFileVersionModel
getStatusByUserId
in interface WorkflowedModel
public String getStatusByUserName()
getStatusByUserName
in interface DLFileVersionModel
getStatusByUserName
in interface WorkflowedModel
public String getStatusByUserUuid()
getStatusByUserUuid
in interface DLFileVersionModel
getStatusByUserUuid
in interface WorkflowedModel
public Date getStatusDate()
getStatusDate
in interface DLFileVersionModel
getStatusDate
in interface WorkflowedModel
public String getTitle()
getTitle
in interface DLFileVersionModel
public String getTreePath()
getTreePath
in interface DLFileVersionModel
getTreePath
in interface TreeModel
public long getUserId()
getUserId
in interface DLFileVersionModel
getUserId
in interface AuditedModel
public String getUserName()
getUserName
in interface DLFileVersionModel
getUserName
in interface AuditedModel
public String getUserUuid()
getUserUuid
in interface DLFileVersionModel
getUserUuid
in interface AuditedModel
public String getUuid()
getUuid
in interface DLFileVersionModel
getUuid
in interface StagedModel
public String getVersion()
getVersion
in interface DLFileVersionModel
public boolean isApproved()
true
if this document library file version is approved.isApproved
in interface DLFileVersionModel
isApproved
in interface WorkflowedModel
true
if this document library file version is approved; false
otherwisepublic boolean isDenied()
true
if this document library file version is denied.isDenied
in interface DLFileVersionModel
isDenied
in interface WorkflowedModel
true
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 DLFileVersionModel
isDraft
in interface WorkflowedModel
true
if this document library file version is a draft; false
otherwisepublic boolean isExpired()
true
if this document library file version is expired.isExpired
in interface DLFileVersionModel
isExpired
in interface WorkflowedModel
true
if this document library file version is expired; false
otherwisepublic boolean isInactive()
true
if this document library file version is inactive.isInactive
in interface DLFileVersionModel
isInactive
in interface WorkflowedModel
true
if this document library file version is inactive; false
otherwisepublic boolean isIncomplete()
true
if this document library file version is incomplete.isIncomplete
in interface DLFileVersionModel
isIncomplete
in interface WorkflowedModel
true
if this document library file version is incomplete; false
otherwisepublic boolean isPending()
true
if this document library file version is pending.isPending
in interface DLFileVersionModel
isPending
in interface WorkflowedModel
true
if this document library file version is pending; false
otherwisepublic boolean isScheduled()
true
if this document library file version is scheduled.isScheduled
in interface DLFileVersionModel
isScheduled
in interface WorkflowedModel
true
if this document library file version is scheduled; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setChangeLog(String changeLog)
setChangeLog
in interface DLFileVersionModel
changeLog
- the change log of this document library file versionpublic void setChecksum(String checksum)
setChecksum
in interface DLFileVersionModel
checksum
- the checksum of this document library file versionpublic void setCompanyId(long companyId)
setCompanyId
in interface DLFileVersionModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface ShardedModel
setCompanyId
in interface StagedModel
companyId
- the company ID of this document library file versionpublic void setCreateDate(Date createDate)
setCreateDate
in interface DLFileVersionModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
createDate
- the create date of this document library file versionpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface DLFileVersionModel
setCtCollectionId
in interface CTModel<DLFileVersion>
ctCollectionId
- the ct collection ID of this document library file versionpublic void setDescription(String description)
setDescription
in interface DLFileVersionModel
description
- the description of this document library file versionpublic void setExpirationDate(Date expirationDate)
setExpirationDate
in interface DLFileVersionModel
expirationDate
- the expiration date of this document library file versionpublic void setExtension(String extension)
setExtension
in interface DLFileVersionModel
extension
- the extension of this document library file versionpublic void setExtraSettings(String extraSettings)
setExtraSettings
in interface DLFileVersionModel
extraSettings
- the extra settings of this document library file versionpublic void setExtraSettingsProperties(UnicodeProperties extraSettingsUnicodeProperties)
setExtraSettingsProperties
in interface DLFileVersion
public void setFileEntryId(long fileEntryId)
setFileEntryId
in interface DLFileVersionModel
fileEntryId
- the file entry ID of this document library file versionpublic void setFileEntryTypeId(long fileEntryTypeId)
setFileEntryTypeId
in interface DLFileVersionModel
fileEntryTypeId
- the file entry type ID of this document library file versionpublic void setFileName(String fileName)
setFileName
in interface DLFileVersionModel
fileName
- the file name of this document library file versionpublic void setFileVersionId(long fileVersionId)
setFileVersionId
in interface DLFileVersionModel
fileVersionId
- the file version ID of this document library file versionpublic void setFolderId(long folderId)
setFolderId
in interface DLFileVersionModel
folderId
- the folder ID of this document library file versionpublic void setGroupId(long groupId)
setGroupId
in interface DLFileVersionModel
setGroupId
in interface GroupedModel
groupId
- the group ID of this document library file versionpublic void setLastPublishDate(Date lastPublishDate)
setLastPublishDate
in interface DLFileVersionModel
setLastPublishDate
in interface StagedGroupedModel
lastPublishDate
- the last publish date of this document library file versionpublic void setMimeType(String mimeType)
setMimeType
in interface DLFileVersionModel
mimeType
- the mime type of this document library file versionpublic void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface DLFileVersionModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
modifiedDate
- the modified date of this document library file versionpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface DLFileVersionModel
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this document library file versionpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface DLFileVersionModel
setPrimaryKey
in interface CTModel<DLFileVersion>
primaryKey
- the primary key of this document library file versionpublic void setRepositoryId(long repositoryId)
setRepositoryId
in interface DLFileVersionModel
repositoryId
- the repository ID of this document library file versionpublic void setReviewDate(Date reviewDate)
setReviewDate
in interface DLFileVersionModel
reviewDate
- the review date of this document library file versionpublic void setSize(long size)
setSize
in interface DLFileVersionModel
size
- the size of this document library file versionpublic void setStatus(int status)
setStatus
in interface DLFileVersionModel
setStatus
in interface WorkflowedModel
status
- the status of this document library file versionpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface DLFileVersionModel
setStatusByUserId
in interface WorkflowedModel
statusByUserId
- the status by user ID of this document library file versionpublic void setStatusByUserName(String statusByUserName)
setStatusByUserName
in interface DLFileVersionModel
setStatusByUserName
in interface WorkflowedModel
statusByUserName
- the status by user name of this document library file versionpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid
in interface DLFileVersionModel
setStatusByUserUuid
in interface WorkflowedModel
statusByUserUuid
- the status by user uuid of this document library file versionpublic void setStatusDate(Date statusDate)
setStatusDate
in interface DLFileVersionModel
setStatusDate
in interface WorkflowedModel
statusDate
- the status date of this document library file versionpublic void setTitle(String title)
setTitle
in interface DLFileVersionModel
title
- the title of this document library file versionpublic void setTreePath(String treePath)
setTreePath
in interface DLFileVersionModel
treePath
- the tree path of this document library file versionpublic void setUserId(long userId)
setUserId
in interface DLFileVersionModel
setUserId
in interface AuditedModel
userId
- the user ID of this document library file versionpublic void setUserName(String userName)
setUserName
in interface DLFileVersionModel
setUserName
in interface AuditedModel
userName
- the user name of this document library file versionpublic void setUserUuid(String userUuid)
setUserUuid
in interface DLFileVersionModel
setUserUuid
in interface AuditedModel
userUuid
- the user uuid of this document library file versionpublic void setUuid(String uuid)
setUuid
in interface DLFileVersionModel
setUuid
in interface StagedModel
uuid
- the uuid of this document library file versionpublic void setVersion(String version)
setVersion
in interface DLFileVersionModel
version
- the version of this document library file versionpublic void updateTreePath(String treePath)
updateTreePath
in interface TreeModel
public Map<String,Function<DLFileVersion,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface BaseModel<DLFileVersion>
public Map<String,BiConsumer<DLFileVersion,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface BaseModel<DLFileVersion>
public StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
protected DLFileVersionWrapper wrap(DLFileVersion dlFileVersion)
wrap
in class BaseModelWrapper<DLFileVersion>