public class DLFileEntryWrapper extends BaseModelWrapper<DLFileEntry> implements DLFileEntry, ModelWrapper<DLFileEntry>
This class is a wrapper for DLFileEntry.
DLFileEntry,
Serialized FormmodelFILE_ENTRY_ID_ACCESSOR| Constructor and Description |
|---|
DLFileEntryWrapper(DLFileEntry dlFileEntry) |
| Modifier and Type | Method and Description |
|---|---|
String |
buildTreePath() |
DLFileEntry |
cloneWithOriginalValues() |
Map<String,Function<DLFileEntry,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<DLFileEntry,Object>> |
getAttributeSetterBiConsumers() |
String |
getClassName()
Returns the fully qualified class name of this document library file entry.
|
long |
getClassNameId()
Returns the class name ID of this document library file entry.
|
long |
getClassPK()
Returns the class pk of this document library file entry.
|
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 |
getCtCollectionId()
Returns the ct collection ID 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() |
Map<String,DDMFormValues> |
getDDMFormValuesMap(long fileVersionId) |
String |
getDescription()
Returns the description of this document library file entry.
|
DLFileEntryType |
getDLFileEntryType() |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
Date |
getExpirationDate()
Returns the expiration date of this document library file entry.
|
String |
getExtension()
Returns the extension of this document library file entry.
|
String |
getExternalReferenceCode()
Returns the external reference code of this document library file entry.
|
String |
getExtraSettings()
Returns the extra settings of this document library file entry.
|
UnicodeProperties |
getExtraSettingsProperties() |
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.
|
String |
getFileName()
Returns the file name of this document library file entry.
|
List<DLFileShortcut> |
getFileShortcuts() |
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() |
String |
getIconCssClass() |
long |
getLargeImageId()
Returns the large image ID of this document library file entry.
|
Date |
getLastPublishDate()
Returns the last publish date of this document library file entry.
|
DLFileVersion |
getLatestFileVersion(boolean trusted) |
Lock |
getLock() |
String |
getLuceneProperties()
Deprecated.
As of Cavanaugh (7.4.x)
|
boolean |
getManualCheckInRequired()
Returns the manual check in required of this document library file entry.
|
String |
getMimeType()
Returns the mime type of this document library file entry.
|
Map<String,Object> |
getModelAttributes() |
Date |
getModifiedDate()
Returns the modified date of this document library file entry.
|
long |
getMvccVersion()
Returns the mvcc version 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.
|
long |
getReadCount() |
long |
getRepositoryId()
Returns the repository ID of this document library file entry.
|
Date |
getReviewDate()
Returns the review date 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.
|
StagedModelType |
getStagedModelType() |
int |
getStatus()
Returns the status of this document library file entry.
|
String |
getTitle()
Returns the title of this document library file entry.
|
TrashEntry |
getTrashEntry()
Returns the trash entry created when this document library file entry was moved to the Recycle Bin.
|
long |
getTrashEntryClassPK()
Returns the class primary key of the trash entry for this document library file entry.
|
TrashHandler |
getTrashHandler()
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
String |
getTreePath()
Returns the tree path 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.
|
boolean |
hasLock() |
boolean |
isCheckedOut() |
boolean |
isInHiddenFolder() |
boolean |
isInTrash()
Returns
true if this document library file entry is in the Recycle Bin. |
boolean |
isInTrashContainer()
Returns
true if the parent of this document library file entry is in the Recycle Bin. |
boolean |
isInTrashExplicitly() |
boolean |
isInTrashImplicitly() |
boolean |
isManualCheckInRequired()
Returns
true if this document library file entry is manual check in required. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this document library file entry.
|
void |
setClassPK(long classPK)
Sets the class pk of this document library file entry.
|
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 |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID 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 |
setExpirationDate(Date expirationDate)
Sets the expiration date of this document library file entry.
|
void |
setExtension(String extension)
Sets the extension of this document library file entry.
|
void |
setExternalReferenceCode(String externalReferenceCode)
Sets the external reference code of this document library file entry.
|
void |
setExtraSettings(String extraSettings)
Sets the extra settings of this document library file entry.
|
void |
setExtraSettingsProperties(UnicodeProperties extraSettingsUnicodeProperties) |
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 |
setFileName(String fileName)
Sets the file name 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 |
setLastPublishDate(Date lastPublishDate)
Sets the last publish date of this document library file entry.
|
void |
setManualCheckInRequired(boolean manualCheckInRequired)
Sets whether this document library file entry is manual check in required.
|
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version 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 |
setRepositoryId(long repositoryId)
Sets the repository ID of this document library file entry.
|
void |
setReviewDate(Date reviewDate)
Sets the review date 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 |
setTreePath(String treePath)
Sets the tree path 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 |
updateTreePath(String treePath) |
protected DLFileEntryWrapper |
wrap(DLFileEntry dlFileEntry) |
clone, compareTo, equals, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringclone, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNameclonegetPrimaryKeyObjgetWrappedModelpublic DLFileEntryWrapper(DLFileEntry dlFileEntry)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<DLFileEntry>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<DLFileEntry>public String buildTreePath()
throws PortalException
buildTreePath in interface DLFileEntrybuildTreePath in interface TreeModelPortalExceptionpublic DLFileEntry cloneWithOriginalValues()
cloneWithOriginalValues in interface DLFileEntryModelcloneWithOriginalValues in interface BaseModel<DLFileEntry>public String getClassName()
getClassName in interface DLFileEntryModelgetClassName in interface TypedModelpublic long getClassNameId()
getClassNameId in interface DLFileEntryModelgetClassNameId in interface TypedModelpublic long getClassPK()
getClassPK in interface DLFileEntryModelgetClassPK in interface AttachedModelpublic long getCompanyId()
getCompanyId in interface DLFileEntryModelgetCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelpublic InputStream getContentStream()
throws PortalException
getContentStream in interface DLFileEntryPortalExceptionpublic InputStream getContentStream(String version)
throws PortalException
getContentStream in interface DLFileEntryPortalExceptionpublic Date getCreateDate()
getCreateDate in interface DLFileEntryModelgetCreateDate in interface AuditedModelgetCreateDate in interface StagedModelpublic long getCtCollectionId()
getCtCollectionId in interface DLFileEntryModelgetCtCollectionId in interface CTModel<DLFileEntry>public long getCustom1ImageId()
getCustom1ImageId in interface DLFileEntryModelpublic long getCustom2ImageId()
getCustom2ImageId in interface DLFileEntryModelpublic long getDataRepositoryId()
getDataRepositoryId in interface DLFileEntrypublic Map<String,DDMFormValues> getDDMFormValuesMap(long fileVersionId) throws PortalException
getDDMFormValuesMap in interface DLFileEntryPortalExceptionpublic String getDescription()
getDescription in interface DLFileEntryModelpublic DLFileEntryType getDLFileEntryType() throws PortalException
getDLFileEntryType in interface DLFileEntryPortalExceptionpublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface DLFileEntrygetExpandoBridge in interface BaseModel<DLFileEntry>getExpandoBridge in interface ClassedModelgetExpandoBridge in class BaseModelWrapper<DLFileEntry>public Date getExpirationDate()
getExpirationDate in interface DLFileEntryModelpublic String getExtension()
getExtension in interface DLFileEntryModelpublic String getExternalReferenceCode()
getExternalReferenceCode in interface DLFileEntryModelpublic String getExtraSettings()
getExtraSettings in interface DLFileEntryModelpublic UnicodeProperties getExtraSettingsProperties()
getExtraSettingsProperties in interface DLFileEntrypublic long getFileEntryId()
getFileEntryId in interface DLFileEntryModelpublic long getFileEntryTypeId()
getFileEntryTypeId in interface DLFileEntryModelpublic String getFileName()
getFileName in interface DLFileEntryModelpublic List<DLFileShortcut> getFileShortcuts()
getFileShortcuts in interface DLFileEntrypublic DLFileVersion getFileVersion() throws PortalException
getFileVersion in interface DLFileEntryPortalExceptionpublic DLFileVersion getFileVersion(String version) throws PortalException
getFileVersion in interface DLFileEntryPortalExceptionpublic List<DLFileVersion> getFileVersions(int status)
getFileVersions in interface DLFileEntrypublic int getFileVersionsCount(int status)
getFileVersionsCount in interface DLFileEntrypublic DLFolder getFolder() throws PortalException
getFolder in interface DLFileEntryPortalExceptionpublic long getFolderId()
getFolderId in interface DLFileEntryModelpublic long getGroupId()
getGroupId in interface DLFileEntryModelgetGroupId in interface GroupedModelpublic String getIcon()
getIcon in interface DLFileEntrypublic String getIconCssClass()
getIconCssClass in interface DLFileEntrypublic long getLargeImageId()
getLargeImageId in interface DLFileEntryModelpublic Date getLastPublishDate()
getLastPublishDate in interface DLFileEntryModelgetLastPublishDate in interface StagedGroupedModelpublic DLFileVersion getLatestFileVersion(boolean trusted) throws PortalException
getLatestFileVersion in interface DLFileEntryPortalExceptionpublic Lock getLock()
getLock in interface DLFileEntry@Deprecated public String getLuceneProperties()
getLuceneProperties in interface DLFileEntrypublic boolean getManualCheckInRequired()
getManualCheckInRequired in interface DLFileEntryModelpublic String getMimeType()
getMimeType in interface DLFileEntryModelpublic Date getModifiedDate()
getModifiedDate in interface DLFileEntryModelgetModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelpublic long getMvccVersion()
getMvccVersion in interface DLFileEntryModelgetMvccVersion in interface MVCCModelpublic String getName()
getName in interface DLFileEntryModelpublic long getPrimaryKey()
getPrimaryKey in interface DLFileEntryModelgetPrimaryKey in interface CTModel<DLFileEntry>public long getReadCount()
getReadCount in interface DLFileEntrypublic long getRepositoryId()
getRepositoryId in interface DLFileEntryModelpublic Date getReviewDate()
getReviewDate in interface DLFileEntryModelpublic long getSize()
getSize in interface DLFileEntryModelpublic long getSmallImageId()
getSmallImageId in interface DLFileEntryModelpublic int getStatus()
getStatus in interface DLFileEntryModelgetStatus in interface TrashedModelpublic String getTitle()
getTitle in interface DLFileEntryModelpublic TrashEntry getTrashEntry() throws PortalException
getTrashEntry in interface DLFileEntryModelgetTrashEntry in interface TrashedModelPortalExceptionpublic long getTrashEntryClassPK()
getTrashEntryClassPK in interface DLFileEntryModelgetTrashEntryClassPK in interface TrashedModel@Deprecated public TrashHandler getTrashHandler()
getTrashHandler in interface DLFileEntryModelgetTrashHandler in interface TrashedModelpublic String getTreePath()
getTreePath in interface DLFileEntryModelgetTreePath in interface TreeModelpublic long getUserId()
getUserId in interface DLFileEntryModelgetUserId in interface AuditedModelpublic String getUserName()
getUserName in interface DLFileEntryModelgetUserName in interface AuditedModelpublic String getUserUuid()
getUserUuid in interface DLFileEntryModelgetUserUuid in interface AuditedModelpublic String getUuid()
getUuid in interface DLFileEntryModelgetUuid in interface StagedModelpublic String getVersion()
getVersion in interface DLFileEntryModelpublic boolean hasLock()
hasLock in interface DLFileEntrypublic boolean isCheckedOut()
isCheckedOut in interface DLFileEntrypublic boolean isInHiddenFolder()
isInHiddenFolder in interface DLFileEntrypublic boolean isInTrash()
true if this document library file entry is in the Recycle Bin.isInTrash in interface DLFileEntryModelisInTrash in interface TrashedModeltrue if this document library file entry is in the Recycle Bin; false otherwisepublic boolean isInTrashContainer()
true if the parent of this document library file entry is in the Recycle Bin.isInTrashContainer in interface DLFileEntryModelisInTrashContainer in interface TrashedModeltrue if the parent of this document library file entry is in the Recycle Bin; false otherwisepublic boolean isInTrashExplicitly()
isInTrashExplicitly in interface DLFileEntryModelisInTrashExplicitly in interface TrashedModelpublic boolean isInTrashImplicitly()
isInTrashImplicitly in interface DLFileEntryModelisInTrashImplicitly in interface TrashedModelpublic boolean isManualCheckInRequired()
true if this document library file entry is manual check in required.isManualCheckInRequired in interface DLFileEntryModeltrue if this document library file entry is manual check in required; false otherwisepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setClassName(String className)
setClassName in interface DLFileEntryModelpublic void setClassNameId(long classNameId)
setClassNameId in interface DLFileEntryModelsetClassNameId in interface TypedModelclassNameId - the class name ID of this document library file entrypublic void setClassPK(long classPK)
setClassPK in interface DLFileEntryModelsetClassPK in interface AttachedModelclassPK - the class pk of this document library file entrypublic void setCompanyId(long companyId)
setCompanyId in interface DLFileEntryModelsetCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this document library file entrypublic void setCreateDate(Date createDate)
setCreateDate in interface DLFileEntryModelsetCreateDate in interface AuditedModelsetCreateDate in interface StagedModelcreateDate - the create date of this document library file entrypublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface DLFileEntryModelsetCtCollectionId in interface CTModel<DLFileEntry>ctCollectionId - the ct collection ID of this document library file entrypublic void setCustom1ImageId(long custom1ImageId)
setCustom1ImageId in interface DLFileEntryModelcustom1ImageId - the custom1 image ID of this document library file entrypublic void setCustom2ImageId(long custom2ImageId)
setCustom2ImageId in interface DLFileEntryModelcustom2ImageId - the custom2 image ID of this document library file entrypublic void setDescription(String description)
setDescription in interface DLFileEntryModeldescription - the description of this document library file entrypublic void setExpirationDate(Date expirationDate)
setExpirationDate in interface DLFileEntryModelexpirationDate - the expiration date of this document library file entrypublic void setExtension(String extension)
setExtension in interface DLFileEntryModelextension - the extension of this document library file entrypublic void setExternalReferenceCode(String externalReferenceCode)
setExternalReferenceCode in interface DLFileEntryModelexternalReferenceCode - the external reference code of this document library file entrypublic void setExtraSettings(String extraSettings)
setExtraSettings in interface DLFileEntryModelextraSettings - the extra settings of this document library file entrypublic void setExtraSettingsProperties(UnicodeProperties extraSettingsUnicodeProperties)
setExtraSettingsProperties in interface DLFileEntrypublic void setFileEntryId(long fileEntryId)
setFileEntryId in interface DLFileEntryModelfileEntryId - the file entry ID of this document library file entrypublic void setFileEntryTypeId(long fileEntryTypeId)
setFileEntryTypeId in interface DLFileEntryModelfileEntryTypeId - the file entry type ID of this document library file entrypublic void setFileName(String fileName)
setFileName in interface DLFileEntryModelfileName - the file name of this document library file entrypublic void setFolderId(long folderId)
setFolderId in interface DLFileEntryModelfolderId - the folder ID of this document library file entrypublic void setGroupId(long groupId)
setGroupId in interface DLFileEntryModelsetGroupId in interface GroupedModelgroupId - the group ID of this document library file entrypublic void setLargeImageId(long largeImageId)
setLargeImageId in interface DLFileEntryModellargeImageId - the large image ID of this document library file entrypublic void setLastPublishDate(Date lastPublishDate)
setLastPublishDate in interface DLFileEntryModelsetLastPublishDate in interface StagedGroupedModellastPublishDate - the last publish date of this document library file entrypublic void setManualCheckInRequired(boolean manualCheckInRequired)
setManualCheckInRequired in interface DLFileEntryModelmanualCheckInRequired - the manual check in required of this document library file entrypublic void setMimeType(String mimeType)
setMimeType in interface DLFileEntryModelmimeType - the mime type of this document library file entrypublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface DLFileEntryModelsetModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this document library file entrypublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface DLFileEntryModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this document library file entrypublic void setName(String name)
setName in interface DLFileEntryModelname - the name of this document library file entrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DLFileEntryModelsetPrimaryKey in interface CTModel<DLFileEntry>primaryKey - the primary key of this document library file entrypublic void setRepositoryId(long repositoryId)
setRepositoryId in interface DLFileEntryModelrepositoryId - the repository ID of this document library file entrypublic void setReviewDate(Date reviewDate)
setReviewDate in interface DLFileEntryModelreviewDate - the review date of this document library file entrypublic void setSize(long size)
setSize in interface DLFileEntryModelsize - the size of this document library file entrypublic void setSmallImageId(long smallImageId)
setSmallImageId in interface DLFileEntryModelsmallImageId - the small image ID of this document library file entrypublic void setTitle(String title)
setTitle in interface DLFileEntryModeltitle - the title of this document library file entrypublic void setTreePath(String treePath)
setTreePath in interface DLFileEntryModeltreePath - the tree path of this document library file entrypublic void setUserId(long userId)
setUserId in interface DLFileEntryModelsetUserId in interface AuditedModeluserId - the user ID of this document library file entrypublic void setUserName(String userName)
setUserName in interface DLFileEntryModelsetUserName in interface AuditedModeluserName - the user name of this document library file entrypublic void setUserUuid(String userUuid)
setUserUuid in interface DLFileEntryModelsetUserUuid in interface AuditedModeluserUuid - the user uuid of this document library file entrypublic void setUuid(String uuid)
setUuid in interface DLFileEntryModelsetUuid in interface StagedModeluuid - the uuid of this document library file entrypublic void setVersion(String version)
setVersion in interface DLFileEntryModelversion - the version of this document library file entrypublic void updateTreePath(String treePath)
updateTreePath in interface TreeModelpublic Map<String,Function<DLFileEntry,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface BaseModel<DLFileEntry>public Map<String,BiConsumer<DLFileEntry,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface BaseModel<DLFileEntry>public StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelprotected DLFileEntryWrapper wrap(DLFileEntry dlFileEntry)
wrap in class BaseModelWrapper<DLFileEntry>