public class DLFolderWrapper extends BaseModelWrapper<DLFolder> implements DLFolder, ModelWrapper<DLFolder>
This class is a wrapper for DLFolder.
DLFolder,
Serialized FormmodelFOLDER_ID_ACCESSOR| Constructor and Description |
|---|
DLFolderWrapper(DLFolder dlFolder) |
| Modifier and Type | Method and Description |
|---|---|
String |
buildTreePath() |
List<Long> |
getAncestorFolderIds() |
List<DLFolder> |
getAncestors() |
long |
getCompanyId()
Returns the company ID of this document library folder.
|
long |
getContainerModelId()
Returns the container model ID of this document library folder.
|
String |
getContainerModelName()
Returns the container name of this document library folder.
|
Date |
getCreateDate()
Returns the create date of this document library folder.
|
long |
getDefaultFileEntryTypeId()
Returns the default file entry type ID of this document library folder.
|
String |
getDescription()
Returns the description of this document library folder.
|
long |
getFolderId()
Returns the folder ID of this document library folder.
|
long |
getGroupId()
Returns the group ID of this document library folder.
|
boolean |
getHidden()
Returns the hidden of this document library folder.
|
Date |
getLastPostDate()
Returns the last post date of this document library folder.
|
Date |
getLastPublishDate()
Returns the last publish date of this document library folder.
|
Map<String,Object> |
getModelAttributes() |
Date |
getModifiedDate()
Returns the modified date of this document library folder.
|
boolean |
getMountPoint()
Returns the mount point of this document library folder.
|
long |
getMvccVersion()
Returns the mvcc version of this document library folder.
|
String |
getName()
Returns the name of this document library folder.
|
long |
getParentContainerModelId()
Returns the parent container model ID of this document library folder.
|
DLFolder |
getParentFolder() |
long |
getParentFolderId()
Returns the parent folder ID of this document library folder.
|
String |
getPath() |
String[] |
getPathArray() |
long |
getPrimaryKey()
Returns the primary key of this document library folder.
|
long |
getRepositoryId()
Returns the repository ID of this document library folder.
|
int |
getRestrictionType()
Returns the restriction type of this document library folder.
|
StagedModelType |
getStagedModelType() |
int |
getStatus()
Returns the status of this document library folder.
|
long |
getStatusByUserId()
Returns the status by user ID of this document library folder.
|
String |
getStatusByUserName()
Returns the status by user name of this document library folder.
|
String |
getStatusByUserUuid()
Returns the status by user uuid of this document library folder.
|
Date |
getStatusDate()
Returns the status date of this document library folder.
|
TrashEntry |
getTrashEntry()
Returns the trash entry created when this document library folder was moved to the Recycle Bin.
|
long |
getTrashEntryClassPK()
Returns the class primary key of the trash entry for this document library folder.
|
TrashHandler |
getTrashHandler()
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
String |
getTreePath()
Returns the tree path of this document library folder.
|
long |
getUserId()
Returns the user ID of this document library folder.
|
String |
getUserName()
Returns the user name of this document library folder.
|
String |
getUserUuid()
Returns the user uuid of this document library folder.
|
String |
getUuid()
Returns the uuid of this document library folder.
|
boolean |
hasInheritableLock() |
boolean |
hasLock() |
boolean |
isApproved()
Returns
true if this document library folder is approved. |
boolean |
isDenied()
Returns
true if this document library folder is denied. |
boolean |
isDraft()
Returns
true if this document library folder is a draft. |
boolean |
isExpired()
Returns
true if this document library folder is expired. |
boolean |
isHidden()
Returns
true if this document library folder is hidden. |
boolean |
isInactive()
Returns
true if this document library folder is inactive. |
boolean |
isIncomplete()
Returns
true if this document library folder is incomplete. |
boolean |
isInHiddenFolder() |
boolean |
isInTrash()
Returns
true if this document library folder is in the Recycle Bin. |
boolean |
isInTrashContainer()
Returns
true if the parent of this document library folder is in the Recycle Bin. |
boolean |
isInTrashExplicitly() |
boolean |
isInTrashImplicitly() |
boolean |
isLocked() |
boolean |
isMountPoint()
Returns
true if this document library folder is mount point. |
boolean |
isPending()
Returns
true if this document library folder is pending. |
boolean |
isRoot() |
boolean |
isScheduled()
Returns
true if this document library folder is scheduled. |
void |
persist()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
void |
setCompanyId(long companyId)
Sets the company ID of this document library folder.
|
void |
setContainerModelId(long containerModelId)
Sets the container model ID of this document library folder.
|
void |
setCreateDate(Date createDate)
Sets the create date of this document library folder.
|
void |
setDefaultFileEntryTypeId(long defaultFileEntryTypeId)
Sets the default file entry type ID of this document library folder.
|
void |
setDescription(String description)
Sets the description of this document library folder.
|
void |
setFolderId(long folderId)
Sets the folder ID of this document library folder.
|
void |
setGroupId(long groupId)
Sets the group ID of this document library folder.
|
void |
setHidden(boolean hidden)
Sets whether this document library folder is hidden.
|
void |
setLastPostDate(Date lastPostDate)
Sets the last post date of this document library folder.
|
void |
setLastPublishDate(Date lastPublishDate)
Sets the last publish date of this document library folder.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this document library folder.
|
void |
setMountPoint(boolean mountPoint)
Sets whether this document library folder is mount point.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this document library folder.
|
void |
setName(String name)
Sets the name of this document library folder.
|
void |
setParentContainerModelId(long parentContainerModelId)
Sets the parent container model ID of this document library folder.
|
void |
setParentFolderId(long parentFolderId)
Sets the parent folder ID of this document library folder.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this document library folder.
|
void |
setRepositoryId(long repositoryId)
Sets the repository ID of this document library folder.
|
void |
setRestrictionType(int restrictionType)
Sets the restriction type of this document library folder.
|
void |
setStatus(int status)
Sets the status of this document library folder.
|
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this document library folder.
|
void |
setStatusByUserName(String statusByUserName)
Sets the status by user name of this document library folder.
|
void |
setStatusByUserUuid(String statusByUserUuid)
Sets the status by user uuid of this document library folder.
|
void |
setStatusDate(Date statusDate)
Sets the status date of this document library folder.
|
void |
setTreePath(String treePath)
Sets the tree path of this document library folder.
|
void |
setUserId(long userId)
Sets the user ID of this document library folder.
|
void |
setUserName(String userName)
Sets the user name of this document library folder.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this document library folder.
|
void |
setUuid(String uuid)
Sets the uuid of this document library folder.
|
void |
updateTreePath(String treePath) |
protected DLFolderWrapper |
wrap(DLFolder dlFolder) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamegetModelClass, getModelClassNameclonegetPrimaryKeyObjgetWrappedModelpublic DLFolderWrapper(DLFolder dlFolder)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<DLFolder>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<DLFolder>public String buildTreePath()
throws PortalException
buildTreePath in interface TreeModelPortalExceptionpublic List<Long> getAncestorFolderIds()
throws PortalException
getAncestorFolderIds in interface DLFolderPortalExceptionpublic List<DLFolder> getAncestors() throws PortalException
getAncestors in interface DLFolderPortalExceptionpublic long getCompanyId()
getCompanyId in interface DLFolderModelgetCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelpublic long getContainerModelId()
getContainerModelId in interface DLFolderModelgetContainerModelId in interface ContainerModelpublic String getContainerModelName()
getContainerModelName in interface DLFolderModelgetContainerModelName in interface ContainerModelpublic Date getCreateDate()
getCreateDate in interface DLFolderModelgetCreateDate in interface AuditedModelgetCreateDate in interface StagedModelpublic long getDefaultFileEntryTypeId()
getDefaultFileEntryTypeId in interface DLFolderModelpublic String getDescription()
getDescription in interface DLFolderModelpublic long getFolderId()
getFolderId in interface DLFolderModelpublic long getGroupId()
getGroupId in interface DLFolderModelgetGroupId in interface GroupedModelpublic boolean getHidden()
getHidden in interface DLFolderModelpublic Date getLastPostDate()
getLastPostDate in interface DLFolderModelpublic Date getLastPublishDate()
getLastPublishDate in interface DLFolderModelgetLastPublishDate in interface StagedGroupedModelpublic Date getModifiedDate()
getModifiedDate in interface DLFolderModelgetModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelpublic boolean getMountPoint()
getMountPoint in interface DLFolderModelpublic long getMvccVersion()
getMvccVersion in interface DLFolderModelgetMvccVersion in interface MVCCModelpublic String getName()
getName in interface DLFolderModelpublic long getParentContainerModelId()
getParentContainerModelId in interface DLFolderModelgetParentContainerModelId in interface ContainerModelpublic DLFolder getParentFolder() throws PortalException
getParentFolder in interface DLFolderPortalExceptionpublic long getParentFolderId()
getParentFolderId in interface DLFolderModelpublic String getPath()
throws PortalException
getPath in interface DLFolderPortalExceptionpublic String[] getPathArray()
throws PortalException
getPathArray in interface DLFolderPortalExceptionpublic long getPrimaryKey()
getPrimaryKey in interface DLFolderModelpublic long getRepositoryId()
getRepositoryId in interface DLFolderModelpublic int getRestrictionType()
getRestrictionType in interface DLFolderModelpublic int getStatus()
getStatus in interface DLFolderModelgetStatus in interface TrashedModelgetStatus in interface WorkflowedModelpublic long getStatusByUserId()
getStatusByUserId in interface DLFolderModelgetStatusByUserId in interface WorkflowedModelpublic String getStatusByUserName()
getStatusByUserName in interface DLFolderModelgetStatusByUserName in interface WorkflowedModelpublic String getStatusByUserUuid()
getStatusByUserUuid in interface DLFolderModelgetStatusByUserUuid in interface WorkflowedModelpublic Date getStatusDate()
getStatusDate in interface DLFolderModelgetStatusDate in interface WorkflowedModelpublic TrashEntry getTrashEntry() throws PortalException
getTrashEntry in interface DLFolderModelgetTrashEntry in interface TrashedModelPortalExceptionpublic long getTrashEntryClassPK()
getTrashEntryClassPK in interface DLFolderModelgetTrashEntryClassPK in interface TrashedModel@Deprecated public TrashHandler getTrashHandler()
getTrashHandler in interface DLFolderModelgetTrashHandler in interface TrashedModelpublic String getTreePath()
getTreePath in interface DLFolderModelgetTreePath in interface TreeModelpublic long getUserId()
getUserId in interface DLFolderModelgetUserId in interface AuditedModelpublic String getUserName()
getUserName in interface DLFolderModelgetUserName in interface AuditedModelpublic String getUserUuid()
getUserUuid in interface DLFolderModelgetUserUuid in interface AuditedModelpublic String getUuid()
getUuid in interface DLFolderModelgetUuid in interface StagedModelpublic boolean hasInheritableLock()
hasInheritableLock in interface DLFolderpublic boolean isApproved()
true if this document library folder is approved.isApproved in interface DLFolderModelisApproved in interface WorkflowedModeltrue if this document library folder is approved; false otherwisepublic boolean isDenied()
true if this document library folder is denied.isDenied in interface DLFolderModelisDenied in interface WorkflowedModeltrue if this document library folder is denied; false otherwisepublic boolean isDraft()
true if this document library folder is a draft.isDraft in interface DLFolderModelisDraft in interface WorkflowedModeltrue if this document library folder is a draft; false otherwisepublic boolean isExpired()
true if this document library folder is expired.isExpired in interface DLFolderModelisExpired in interface WorkflowedModeltrue if this document library folder is expired; false otherwisepublic boolean isHidden()
true if this document library folder is hidden.isHidden in interface DLFolderModeltrue if this document library folder is hidden; false otherwisepublic boolean isInactive()
true if this document library folder is inactive.isInactive in interface DLFolderModelisInactive in interface WorkflowedModeltrue if this document library folder is inactive; false otherwisepublic boolean isIncomplete()
true if this document library folder is incomplete.isIncomplete in interface DLFolderModelisIncomplete in interface WorkflowedModeltrue if this document library folder is incomplete; false otherwisepublic boolean isInHiddenFolder()
isInHiddenFolder in interface DLFolderpublic boolean isInTrash()
true if this document library folder is in the Recycle Bin.isInTrash in interface DLFolderModelisInTrash in interface TrashedModeltrue if this document library folder is in the Recycle Bin; false otherwisepublic boolean isInTrashContainer()
true if the parent of this document library folder is in the Recycle Bin.isInTrashContainer in interface DLFolderModelisInTrashContainer in interface TrashedModeltrue if the parent of this document library folder is in the Recycle Bin; false otherwisepublic boolean isInTrashExplicitly()
isInTrashExplicitly in interface DLFolderModelisInTrashExplicitly in interface TrashedModelpublic boolean isInTrashImplicitly()
isInTrashImplicitly in interface DLFolderModelisInTrashImplicitly in interface TrashedModelpublic boolean isMountPoint()
true if this document library folder is mount point.isMountPoint in interface DLFolderModeltrue if this document library folder is mount point; false otherwisepublic boolean isPending()
true if this document library folder is pending.isPending in interface DLFolderModelisPending in interface WorkflowedModeltrue if this document library folder is pending; false otherwisepublic boolean isScheduled()
true if this document library folder is scheduled.isScheduled in interface DLFolderModelisScheduled in interface WorkflowedModeltrue if this document library folder is scheduled; false otherwisepublic void persist()
DLFolder interface instead.persist in interface PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface DLFolderModelsetCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this document library folderpublic void setContainerModelId(long containerModelId)
setContainerModelId in interface DLFolderModelsetContainerModelId in interface ContainerModelcontainerModelId - the container model ID of this document library folderpublic void setCreateDate(Date createDate)
setCreateDate in interface DLFolderModelsetCreateDate in interface AuditedModelsetCreateDate in interface StagedModelcreateDate - the create date of this document library folderpublic void setDefaultFileEntryTypeId(long defaultFileEntryTypeId)
setDefaultFileEntryTypeId in interface DLFolderModeldefaultFileEntryTypeId - the default file entry type ID of this document library folderpublic void setDescription(String description)
setDescription in interface DLFolderModeldescription - the description of this document library folderpublic void setFolderId(long folderId)
setFolderId in interface DLFolderModelfolderId - the folder ID of this document library folderpublic void setGroupId(long groupId)
setGroupId in interface DLFolderModelsetGroupId in interface GroupedModelgroupId - the group ID of this document library folderpublic void setHidden(boolean hidden)
setHidden in interface DLFolderModelhidden - the hidden of this document library folderpublic void setLastPostDate(Date lastPostDate)
setLastPostDate in interface DLFolderModellastPostDate - the last post date of this document library folderpublic void setLastPublishDate(Date lastPublishDate)
setLastPublishDate in interface DLFolderModelsetLastPublishDate in interface StagedGroupedModellastPublishDate - the last publish date of this document library folderpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface DLFolderModelsetModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this document library folderpublic void setMountPoint(boolean mountPoint)
setMountPoint in interface DLFolderModelmountPoint - the mount point of this document library folderpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface DLFolderModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this document library folderpublic void setName(String name)
setName in interface DLFolderModelname - the name of this document library folderpublic void setParentContainerModelId(long parentContainerModelId)
setParentContainerModelId in interface DLFolderModelsetParentContainerModelId in interface ContainerModelparentContainerModelId - the parent container model ID of this document library folderpublic void setParentFolderId(long parentFolderId)
setParentFolderId in interface DLFolderModelparentFolderId - the parent folder ID of this document library folderpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DLFolderModelprimaryKey - the primary key of this document library folderpublic void setRepositoryId(long repositoryId)
setRepositoryId in interface DLFolderModelrepositoryId - the repository ID of this document library folderpublic void setRestrictionType(int restrictionType)
setRestrictionType in interface DLFolderModelrestrictionType - the restriction type of this document library folderpublic void setStatus(int status)
setStatus in interface DLFolderModelsetStatus in interface WorkflowedModelstatus - the status of this document library folderpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface DLFolderModelsetStatusByUserId in interface WorkflowedModelstatusByUserId - the status by user ID of this document library folderpublic void setStatusByUserName(String statusByUserName)
setStatusByUserName in interface DLFolderModelsetStatusByUserName in interface WorkflowedModelstatusByUserName - the status by user name of this document library folderpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid in interface DLFolderModelsetStatusByUserUuid in interface WorkflowedModelstatusByUserUuid - the status by user uuid of this document library folderpublic void setStatusDate(Date statusDate)
setStatusDate in interface DLFolderModelsetStatusDate in interface WorkflowedModelstatusDate - the status date of this document library folderpublic void setTreePath(String treePath)
setTreePath in interface DLFolderModeltreePath - the tree path of this document library folderpublic void setUserId(long userId)
setUserId in interface DLFolderModelsetUserId in interface AuditedModeluserId - the user ID of this document library folderpublic void setUserName(String userName)
setUserName in interface DLFolderModelsetUserName in interface AuditedModeluserName - the user name of this document library folderpublic void setUserUuid(String userUuid)
setUserUuid in interface DLFolderModelsetUserUuid in interface AuditedModeluserUuid - the user uuid of this document library folderpublic void setUuid(String uuid)
setUuid in interface DLFolderModelsetUuid in interface StagedModeluuid - the uuid of this document library folderpublic void updateTreePath(String treePath)
updateTreePath in interface TreeModelpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelprotected DLFolderWrapper wrap(DLFolder dlFolder)
wrap in class BaseModelWrapper<DLFolder>