@ProviderType public class DLFolderWrapper extends Object implements DLFolder, ModelWrapper<DLFolder>
This class is a wrapper for DLFolder.
DLFolder,
Serialized FormFOLDER_ID_ACCESSOR| Constructor and Description |
|---|
DLFolderWrapper(DLFolder dlFolder) |
| Modifier and Type | Method and Description |
|---|---|
String |
buildTreePath() |
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(DLFolder dlFolder) |
boolean |
equals(Object obj) |
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.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
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() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
Date |
getModifiedDate()
Returns the modified date of this document library folder.
|
boolean |
getMountPoint()
Returns the mount point 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.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
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()
Returns the trash handler for this document library folder.
|
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.
|
DLFolder |
getWrappedModel() |
int |
hashCode() |
boolean |
hasInheritableLock() |
boolean |
hasLock() |
boolean |
isApproved()
Returns
true if this document library folder is approved. |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isDenied()
Returns
true if this document library folder is denied. |
boolean |
isDraft()
Returns
true if this document library folder is a draft. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isExpired()
Returns
true if this document library folder is expired. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
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 |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
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 |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
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 |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
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 |
setName(String name)
Sets the name of this document library folder.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
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 |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
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.
|
CacheModel<DLFolder> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
DLFolder |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
DLFolder |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
void |
updateTreePath(String treePath) |
public DLFolderWrapper(DLFolder dlFolder)
public Class<?> getModelClass()
getModelClass in interface ClassedModelgetModelClass in interface ContainerModelpublic String getModelClassName()
getModelClassName in interface ClassedModelgetModelClassName in interface ContainerModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<DLFolder>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<DLFolder>public DLFolder toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface DLFolderModeltoEscapedModel in interface BaseModel<DLFolder>AutoEscapeBeanHandlerpublic DLFolder toUnescapedModel()
toUnescapedModel in interface DLFolderModeltoUnescapedModel in interface BaseModel<DLFolder>public boolean getHidden()
getHidden in interface DLFolderModelpublic boolean getMountPoint()
getMountPoint in interface DLFolderModelpublic 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 isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface DLFolderModelisCachedModel in interface BaseModel<DLFolder>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public 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 isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface DLFolderModelisEscapedModel in interface BaseModel<DLFolder>true if this model instance is escaped;
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 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 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 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 isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface DLFolderModelisNew in interface BaseModel<DLFolder>true if this model instance does not yet exist in
the database; 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 DLFolder getParentFolder() throws PortalException
getParentFolder in interface DLFolderPortalExceptionpublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface DLFolderModelgetExpandoBridge in interface BaseModel<DLFolder>getExpandoBridge in interface ClassedModelpublic CacheModel<DLFolder> toCacheModel()
BaseModeltoCacheModel in interface DLFolderModeltoCacheModel in interface BaseModel<DLFolder>public TrashHandler getTrashHandler()
getTrashHandler in interface DLFolderModelgetTrashHandler in interface TrashedModelpublic TrashEntry getTrashEntry() throws PortalException
getTrashEntry in interface DLFolderModelgetTrashEntry in interface TrashedModelPortalExceptionpublic int compareTo(DLFolder dlFolder)
compareTo in interface DLFolderModelcompareTo in interface Comparable<DLFolder>public int getRestrictionType()
getRestrictionType in interface DLFolderModelpublic int getStatus()
getStatus in interface DLFolderModelgetStatus in interface TrashedModelgetStatus in interface WorkflowedModelpublic int hashCode()
hashCode in interface DLFolderModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface DLFolderModelgetPrimaryKeyObj in interface BaseModel<DLFolder>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface TreeModelpublic Object clone()
BaseModelclone in interface DLFolderModelclone in interface BaseModel<DLFolder>clone in interface StagedModelclone in class Objectpublic String buildTreePath() throws PortalException
buildTreePath in interface TreeModelPortalExceptionpublic String getContainerModelName()
getContainerModelName in interface DLFolderModelgetContainerModelName in interface ContainerModelpublic String getDescription()
getDescription in interface DLFolderModelpublic String getName()
getName in interface DLFolderModelpublic String getPath() throws PortalException
getPath in interface DLFolderPortalExceptionpublic String getStatusByUserName()
getStatusByUserName in interface DLFolderModelgetStatusByUserName in interface WorkflowedModelpublic String getStatusByUserUuid()
getStatusByUserUuid in interface DLFolderModelgetStatusByUserUuid in interface WorkflowedModelpublic String getTreePath()
getTreePath in interface DLFolderModelgetTreePath in interface TreeModelpublic 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 String toString()
toString in interface DLFolderModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface DLFolderModeltoXmlString in interface BaseModel<DLFolder>public String[] getPathArray() throws PortalException
getPathArray in interface DLFolderPortalExceptionpublic Date getCreateDate()
getCreateDate in interface DLFolderModelgetCreateDate in interface AuditedModelgetCreateDate in interface StagedModelpublic 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 Date getStatusDate()
getStatusDate in interface DLFolderModelgetStatusDate in interface WorkflowedModelpublic 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 long getDefaultFileEntryTypeId()
getDefaultFileEntryTypeId in interface DLFolderModelpublic long getFolderId()
getFolderId in interface DLFolderModelpublic long getGroupId()
getGroupId in interface DLFolderModelgetGroupId in interface GroupedModelpublic long getParentContainerModelId()
getParentContainerModelId in interface DLFolderModelgetParentContainerModelId in interface ContainerModelpublic long getParentFolderId()
getParentFolderId in interface DLFolderModelpublic long getPrimaryKey()
getPrimaryKey in interface DLFolderModelpublic long getRepositoryId()
getRepositoryId in interface DLFolderModelpublic long getStatusByUserId()
getStatusByUserId in interface DLFolderModelgetStatusByUserId in interface WorkflowedModelpublic long getTrashEntryClassPK()
getTrashEntryClassPK in interface DLFolderModelgetTrashEntryClassPK in interface TrashedModelpublic long getUserId()
getUserId in interface DLFolderModelgetUserId in interface AuditedModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface DLFolderModelsetCachedModel in interface BaseModel<DLFolder>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic 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 setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface DLFolderModelsetExpandoBridgeAttributes in interface BaseModel<DLFolder>public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface DLFolderModelsetExpandoBridgeAttributes in interface BaseModel<DLFolder>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface DLFolderModelsetExpandoBridgeAttributes in interface BaseModel<DLFolder>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public 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 setName(String name)
setName in interface DLFolderModelname - the name of this document library folderpublic void setNew(boolean n)
BaseModelsetNew in interface DLFolderModelsetNew in interface BaseModel<DLFolder>n - whether this model instance does not yet exist in the databasepublic 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 setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface DLFolderModelsetPrimaryKeyObj in interface BaseModel<DLFolder>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instancepublic 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 StagedModelpublic DLFolder getWrappedModel()
getWrappedModel in interface ModelWrapper<DLFolder>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<DLFolder>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<DLFolder>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<DLFolder>