public class DLFolderWrapper extends BaseModelWrapper<DLFolder> implements DLFolder, ModelWrapper<DLFolder>
This class is a wrapper for DLFolder
.
DLFolder
,
Serialized Formmodel
FOLDER_ID_ACCESSOR
Constructor and Description |
---|
DLFolderWrapper(DLFolder dlFolder) |
Modifier and Type | Method and Description |
---|---|
String |
buildTreePath() |
DLFolder |
cloneWithOriginalValues() |
List<Long> |
getAncestorFolderIds() |
List<DLFolder> |
getAncestors() |
Map<String,Function<DLFolder,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<DLFolder,Object>> |
getAttributeSetterBiConsumers() |
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 |
getCtCollectionId()
Returns the ct collection ID 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()
Updates this model instance in the database or adds it if it does not yet
exist.
|
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 |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID 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, toXmlString
getModelClass, getModelClassName
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
clone
getPrimaryKeyObj
getWrappedModel
public 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 TreeModel
PortalException
public DLFolder cloneWithOriginalValues()
cloneWithOriginalValues
in interface DLFolderModel
cloneWithOriginalValues
in interface BaseModel<DLFolder>
public List<Long> getAncestorFolderIds() throws PortalException
getAncestorFolderIds
in interface DLFolder
PortalException
public List<DLFolder> getAncestors() throws PortalException
getAncestors
in interface DLFolder
PortalException
public long getCompanyId()
getCompanyId
in interface DLFolderModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface ShardedModel
getCompanyId
in interface StagedModel
public long getContainerModelId()
getContainerModelId
in interface DLFolderModel
getContainerModelId
in interface ContainerModel
public String getContainerModelName()
getContainerModelName
in interface DLFolderModel
getContainerModelName
in interface ContainerModel
public Date getCreateDate()
getCreateDate
in interface DLFolderModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
public long getCtCollectionId()
getCtCollectionId
in interface DLFolderModel
getCtCollectionId
in interface CTModel<DLFolder>
public long getDefaultFileEntryTypeId()
getDefaultFileEntryTypeId
in interface DLFolderModel
public String getDescription()
getDescription
in interface DLFolderModel
public long getFolderId()
getFolderId
in interface DLFolderModel
public long getGroupId()
getGroupId
in interface DLFolderModel
getGroupId
in interface GroupedModel
public boolean getHidden()
getHidden
in interface DLFolderModel
public Date getLastPostDate()
getLastPostDate
in interface DLFolderModel
public Date getLastPublishDate()
getLastPublishDate
in interface DLFolderModel
getLastPublishDate
in interface StagedGroupedModel
public Date getModifiedDate()
getModifiedDate
in interface DLFolderModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
public boolean getMountPoint()
getMountPoint
in interface DLFolderModel
public long getMvccVersion()
getMvccVersion
in interface DLFolderModel
getMvccVersion
in interface MVCCModel
public String getName()
getName
in interface DLFolderModel
public long getParentContainerModelId()
getParentContainerModelId
in interface DLFolderModel
getParentContainerModelId
in interface ContainerModel
public DLFolder getParentFolder() throws PortalException
getParentFolder
in interface DLFolder
PortalException
public long getParentFolderId()
getParentFolderId
in interface DLFolderModel
public String getPath() throws PortalException
getPath
in interface DLFolder
PortalException
public String[] getPathArray() throws PortalException
getPathArray
in interface DLFolder
PortalException
public long getPrimaryKey()
getPrimaryKey
in interface DLFolderModel
getPrimaryKey
in interface CTModel<DLFolder>
public long getRepositoryId()
getRepositoryId
in interface DLFolderModel
public int getRestrictionType()
getRestrictionType
in interface DLFolderModel
public int getStatus()
getStatus
in interface DLFolderModel
getStatus
in interface TrashedModel
getStatus
in interface WorkflowedModel
public long getStatusByUserId()
getStatusByUserId
in interface DLFolderModel
getStatusByUserId
in interface WorkflowedModel
public String getStatusByUserName()
getStatusByUserName
in interface DLFolderModel
getStatusByUserName
in interface WorkflowedModel
public String getStatusByUserUuid()
getStatusByUserUuid
in interface DLFolderModel
getStatusByUserUuid
in interface WorkflowedModel
public Date getStatusDate()
getStatusDate
in interface DLFolderModel
getStatusDate
in interface WorkflowedModel
public TrashEntry getTrashEntry() throws PortalException
getTrashEntry
in interface DLFolderModel
getTrashEntry
in interface TrashedModel
PortalException
public long getTrashEntryClassPK()
getTrashEntryClassPK
in interface DLFolderModel
getTrashEntryClassPK
in interface TrashedModel
@Deprecated public TrashHandler getTrashHandler()
getTrashHandler
in interface DLFolderModel
getTrashHandler
in interface TrashedModel
public String getTreePath()
getTreePath
in interface DLFolderModel
getTreePath
in interface TreeModel
public long getUserId()
getUserId
in interface DLFolderModel
getUserId
in interface AuditedModel
public String getUserName()
getUserName
in interface DLFolderModel
getUserName
in interface AuditedModel
public String getUserUuid()
getUserUuid
in interface DLFolderModel
getUserUuid
in interface AuditedModel
public String getUuid()
getUuid
in interface DLFolderModel
getUuid
in interface StagedModel
public boolean hasInheritableLock()
hasInheritableLock
in interface DLFolder
public boolean isApproved()
true
if this document library folder is approved.isApproved
in interface DLFolderModel
isApproved
in interface WorkflowedModel
true
if this document library folder is approved; false
otherwisepublic boolean isDenied()
true
if this document library folder is denied.isDenied
in interface DLFolderModel
isDenied
in interface WorkflowedModel
true
if this document library folder is denied; false
otherwisepublic boolean isDraft()
true
if this document library folder is a draft.isDraft
in interface DLFolderModel
isDraft
in interface WorkflowedModel
true
if this document library folder is a draft; false
otherwisepublic boolean isExpired()
true
if this document library folder is expired.isExpired
in interface DLFolderModel
isExpired
in interface WorkflowedModel
true
if this document library folder is expired; false
otherwisepublic boolean isHidden()
true
if this document library folder is hidden.isHidden
in interface DLFolderModel
true
if this document library folder is hidden; false
otherwisepublic boolean isInactive()
true
if this document library folder is inactive.isInactive
in interface DLFolderModel
isInactive
in interface WorkflowedModel
true
if this document library folder is inactive; false
otherwisepublic boolean isIncomplete()
true
if this document library folder is incomplete.isIncomplete
in interface DLFolderModel
isIncomplete
in interface WorkflowedModel
true
if this document library folder is incomplete; false
otherwisepublic boolean isInHiddenFolder()
isInHiddenFolder
in interface DLFolder
public boolean isInTrash()
true
if this document library folder is in the Recycle Bin.isInTrash
in interface DLFolderModel
isInTrash
in interface TrashedModel
true
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 DLFolderModel
isInTrashContainer
in interface TrashedModel
true
if the parent of this document library folder is in the Recycle Bin; false
otherwisepublic boolean isInTrashExplicitly()
isInTrashExplicitly
in interface DLFolderModel
isInTrashExplicitly
in interface TrashedModel
public boolean isInTrashImplicitly()
isInTrashImplicitly
in interface DLFolderModel
isInTrashImplicitly
in interface TrashedModel
public boolean isMountPoint()
true
if this document library folder is mount point.isMountPoint
in interface DLFolderModel
true
if this document library folder is mount point; false
otherwisepublic boolean isPending()
true
if this document library folder is pending.isPending
in interface DLFolderModel
isPending
in interface WorkflowedModel
true
if this document library folder is pending; false
otherwisepublic boolean isScheduled()
true
if this document library folder is scheduled.isScheduled
in interface DLFolderModel
isScheduled
in interface WorkflowedModel
true
if this document library folder is scheduled; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setCompanyId(long companyId)
setCompanyId
in interface DLFolderModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface ShardedModel
setCompanyId
in interface StagedModel
companyId
- the company ID of this document library folderpublic void setContainerModelId(long containerModelId)
setContainerModelId
in interface DLFolderModel
setContainerModelId
in interface ContainerModel
containerModelId
- the container model ID of this document library folderpublic void setCreateDate(Date createDate)
setCreateDate
in interface DLFolderModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
createDate
- the create date of this document library folderpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface DLFolderModel
setCtCollectionId
in interface CTModel<DLFolder>
ctCollectionId
- the ct collection ID of this document library folderpublic void setDefaultFileEntryTypeId(long defaultFileEntryTypeId)
setDefaultFileEntryTypeId
in interface DLFolderModel
defaultFileEntryTypeId
- the default file entry type ID of this document library folderpublic void setDescription(String description)
setDescription
in interface DLFolderModel
description
- the description of this document library folderpublic void setFolderId(long folderId)
setFolderId
in interface DLFolderModel
folderId
- the folder ID of this document library folderpublic void setGroupId(long groupId)
setGroupId
in interface DLFolderModel
setGroupId
in interface GroupedModel
groupId
- the group ID of this document library folderpublic void setHidden(boolean hidden)
setHidden
in interface DLFolderModel
hidden
- the hidden of this document library folderpublic void setLastPostDate(Date lastPostDate)
setLastPostDate
in interface DLFolderModel
lastPostDate
- the last post date of this document library folderpublic void setLastPublishDate(Date lastPublishDate)
setLastPublishDate
in interface DLFolderModel
setLastPublishDate
in interface StagedGroupedModel
lastPublishDate
- the last publish date of this document library folderpublic void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface DLFolderModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
modifiedDate
- the modified date of this document library folderpublic void setMountPoint(boolean mountPoint)
setMountPoint
in interface DLFolderModel
mountPoint
- the mount point of this document library folderpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface DLFolderModel
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this document library folderpublic void setName(String name)
setName
in interface DLFolderModel
name
- the name of this document library folderpublic void setParentContainerModelId(long parentContainerModelId)
setParentContainerModelId
in interface DLFolderModel
setParentContainerModelId
in interface ContainerModel
parentContainerModelId
- the parent container model ID of this document library folderpublic void setParentFolderId(long parentFolderId)
setParentFolderId
in interface DLFolderModel
parentFolderId
- the parent folder ID of this document library folderpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface DLFolderModel
setPrimaryKey
in interface CTModel<DLFolder>
primaryKey
- the primary key of this document library folderpublic void setRepositoryId(long repositoryId)
setRepositoryId
in interface DLFolderModel
repositoryId
- the repository ID of this document library folderpublic void setRestrictionType(int restrictionType)
setRestrictionType
in interface DLFolderModel
restrictionType
- the restriction type of this document library folderpublic void setStatus(int status)
setStatus
in interface DLFolderModel
setStatus
in interface WorkflowedModel
status
- the status of this document library folderpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface DLFolderModel
setStatusByUserId
in interface WorkflowedModel
statusByUserId
- the status by user ID of this document library folderpublic void setStatusByUserName(String statusByUserName)
setStatusByUserName
in interface DLFolderModel
setStatusByUserName
in interface WorkflowedModel
statusByUserName
- the status by user name of this document library folderpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid
in interface DLFolderModel
setStatusByUserUuid
in interface WorkflowedModel
statusByUserUuid
- the status by user uuid of this document library folderpublic void setStatusDate(Date statusDate)
setStatusDate
in interface DLFolderModel
setStatusDate
in interface WorkflowedModel
statusDate
- the status date of this document library folderpublic void setTreePath(String treePath)
setTreePath
in interface DLFolderModel
treePath
- the tree path of this document library folderpublic void setUserId(long userId)
setUserId
in interface DLFolderModel
setUserId
in interface AuditedModel
userId
- the user ID of this document library folderpublic void setUserName(String userName)
setUserName
in interface DLFolderModel
setUserName
in interface AuditedModel
userName
- the user name of this document library folderpublic void setUserUuid(String userUuid)
setUserUuid
in interface DLFolderModel
setUserUuid
in interface AuditedModel
userUuid
- the user uuid of this document library folderpublic void setUuid(String uuid)
setUuid
in interface DLFolderModel
setUuid
in interface StagedModel
uuid
- the uuid of this document library folderpublic void updateTreePath(String treePath)
updateTreePath
in interface TreeModel
public Map<String,Function<DLFolder,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface BaseModel<DLFolder>
public Map<String,BiConsumer<DLFolder,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface BaseModel<DLFolder>
public StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
protected DLFolderWrapper wrap(DLFolder dlFolder)
wrap
in class BaseModelWrapper<DLFolder>