public class BookmarksFolderWrapper extends BaseModelWrapper<BookmarksFolder> implements BookmarksFolder, ModelWrapper<BookmarksFolder>
This class is a wrapper for BookmarksFolder.
BookmarksFolder,
Serialized FormmodelFOLDER_ID_ACCESSOR| Constructor and Description |
|---|
BookmarksFolderWrapper(BookmarksFolder bookmarksFolder) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
buildTreePath() |
java.util.List<java.lang.Long> |
getAncestorFolderIds() |
java.util.List<BookmarksFolder> |
getAncestors() |
long |
getCompanyId()
Returns the company ID of this bookmarks folder.
|
long |
getContainerModelId()
Returns the container model ID of this bookmarks folder.
|
java.lang.String |
getContainerModelName()
Returns the container name of this bookmarks folder.
|
java.util.Date |
getCreateDate()
Returns the create date of this bookmarks folder.
|
java.lang.String |
getDescription()
Returns the description of this bookmarks folder.
|
long |
getFolderId()
Returns the folder ID of this bookmarks folder.
|
long |
getGroupId()
Returns the group ID of this bookmarks folder.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this bookmarks folder.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this bookmarks folder.
|
long |
getMvccVersion()
Returns the mvcc version of this bookmarks folder.
|
java.lang.String |
getName()
Returns the name of this bookmarks folder.
|
long |
getParentContainerModelId()
Returns the parent container model ID of this bookmarks folder.
|
BookmarksFolder |
getParentFolder() |
long |
getParentFolderId()
Returns the parent folder ID of this bookmarks folder.
|
long |
getPrimaryKey()
Returns the primary key of this bookmarks folder.
|
StagedModelType |
getStagedModelType() |
int |
getStatus()
Returns the status of this bookmarks folder.
|
long |
getStatusByUserId()
Returns the status by user ID of this bookmarks folder.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this bookmarks folder.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this bookmarks folder.
|
java.util.Date |
getStatusDate()
Returns the status date of this bookmarks folder.
|
TrashEntry |
getTrashEntry()
Returns the trash entry created when this bookmarks folder was moved to the Recycle Bin.
|
long |
getTrashEntryClassPK()
Returns the class primary key of the trash entry for this bookmarks folder.
|
TrashHandler |
getTrashHandler()
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
java.lang.String |
getTreePath()
Returns the tree path of this bookmarks folder.
|
long |
getUserId()
Returns the user ID of this bookmarks folder.
|
java.lang.String |
getUserName()
Returns the user name of this bookmarks folder.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this bookmarks folder.
|
java.lang.String |
getUuid()
Returns the uuid of this bookmarks folder.
|
boolean |
isApproved()
Returns
true if this bookmarks folder is approved. |
boolean |
isDenied()
Returns
true if this bookmarks folder is denied. |
boolean |
isDraft()
Returns
true if this bookmarks folder is a draft. |
boolean |
isExpired()
Returns
true if this bookmarks folder is expired. |
boolean |
isInactive()
Returns
true if this bookmarks folder is inactive. |
boolean |
isIncomplete()
Returns
true if this bookmarks folder is incomplete. |
boolean |
isInTrash()
Returns
true if this bookmarks folder is in the Recycle Bin. |
boolean |
isInTrashContainer()
Returns
true if the parent of this bookmarks folder is in the Recycle Bin. |
boolean |
isInTrashExplicitly() |
boolean |
isInTrashImplicitly() |
boolean |
isPending()
Returns
true if this bookmarks folder is pending. |
boolean |
isRoot() |
boolean |
isScheduled()
Returns
true if this bookmarks 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 bookmarks folder.
|
void |
setContainerModelId(long containerModelId)
Sets the container model ID of this bookmarks folder.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this bookmarks folder.
|
void |
setDescription(java.lang.String description)
Sets the description of this bookmarks folder.
|
void |
setFolderId(long folderId)
Sets the folder ID of this bookmarks folder.
|
void |
setGroupId(long groupId)
Sets the group ID of this bookmarks folder.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this bookmarks folder.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this bookmarks folder.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this bookmarks folder.
|
void |
setName(java.lang.String name)
Sets the name of this bookmarks folder.
|
void |
setParentContainerModelId(long parentContainerModelId)
Sets the parent container model ID of this bookmarks folder.
|
void |
setParentFolderId(long parentFolderId)
Sets the parent folder ID of this bookmarks folder.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this bookmarks folder.
|
void |
setStatus(int status)
Sets the status of this bookmarks folder.
|
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this bookmarks folder.
|
void |
setStatusByUserName(java.lang.String statusByUserName)
Sets the status by user name of this bookmarks folder.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this bookmarks folder.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this bookmarks folder.
|
void |
setTreePath(java.lang.String treePath)
Sets the tree path of this bookmarks folder.
|
void |
setUserId(long userId)
Sets the user ID of this bookmarks folder.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this bookmarks folder.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this bookmarks folder.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this bookmarks folder.
|
void |
updateTreePath(java.lang.String treePath) |
protected BookmarksFolderWrapper |
wrap(BookmarksFolder bookmarksFolder) |
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, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamegetModelClass, getModelClassNameclonegetPrimaryKeyObjgetWrappedModelpublic BookmarksFolderWrapper(BookmarksFolder bookmarksFolder)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<BookmarksFolder>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<BookmarksFolder>public java.lang.String buildTreePath()
throws PortalException
buildTreePath in interface TreeModelPortalExceptionpublic java.util.List<java.lang.Long> getAncestorFolderIds()
throws PortalException
getAncestorFolderIds in interface BookmarksFolderPortalExceptionpublic java.util.List<BookmarksFolder> getAncestors() throws PortalException
getAncestors in interface BookmarksFolderPortalExceptionpublic long getCompanyId()
getCompanyId in interface BookmarksFolderModelgetCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelpublic long getContainerModelId()
getContainerModelId in interface BookmarksFolderModelgetContainerModelId in interface ContainerModelpublic java.lang.String getContainerModelName()
getContainerModelName in interface BookmarksFolderModelgetContainerModelName in interface ContainerModelpublic java.util.Date getCreateDate()
getCreateDate in interface BookmarksFolderModelgetCreateDate in interface AuditedModelgetCreateDate in interface StagedModelpublic java.lang.String getDescription()
getDescription in interface BookmarksFolderModelpublic long getFolderId()
getFolderId in interface BookmarksFolderModelpublic long getGroupId()
getGroupId in interface BookmarksFolderModelgetGroupId in interface GroupedModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface BookmarksFolderModelgetLastPublishDate in interface StagedGroupedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface BookmarksFolderModelgetModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelpublic long getMvccVersion()
getMvccVersion in interface BookmarksFolderModelgetMvccVersion in interface MVCCModelpublic java.lang.String getName()
getName in interface BookmarksFolderModelpublic long getParentContainerModelId()
getParentContainerModelId in interface BookmarksFolderModelgetParentContainerModelId in interface ContainerModelpublic BookmarksFolder getParentFolder() throws PortalException
getParentFolder in interface BookmarksFolderPortalExceptionpublic long getParentFolderId()
getParentFolderId in interface BookmarksFolderModelpublic long getPrimaryKey()
getPrimaryKey in interface BookmarksFolderModelpublic int getStatus()
getStatus in interface BookmarksFolderModelgetStatus in interface TrashedModelgetStatus in interface WorkflowedModelpublic long getStatusByUserId()
getStatusByUserId in interface BookmarksFolderModelgetStatusByUserId in interface WorkflowedModelpublic java.lang.String getStatusByUserName()
getStatusByUserName in interface BookmarksFolderModelgetStatusByUserName in interface WorkflowedModelpublic java.lang.String getStatusByUserUuid()
getStatusByUserUuid in interface BookmarksFolderModelgetStatusByUserUuid in interface WorkflowedModelpublic java.util.Date getStatusDate()
getStatusDate in interface BookmarksFolderModelgetStatusDate in interface WorkflowedModelpublic TrashEntry getTrashEntry() throws PortalException
getTrashEntry in interface BookmarksFolderModelgetTrashEntry in interface TrashedModelPortalExceptionpublic long getTrashEntryClassPK()
getTrashEntryClassPK in interface BookmarksFolderModelgetTrashEntryClassPK in interface TrashedModel@Deprecated public TrashHandler getTrashHandler()
getTrashHandler in interface BookmarksFolderModelgetTrashHandler in interface TrashedModelpublic java.lang.String getTreePath()
getTreePath in interface BookmarksFolderModelgetTreePath in interface TreeModelpublic long getUserId()
getUserId in interface BookmarksFolderModelgetUserId in interface AuditedModelpublic java.lang.String getUserName()
getUserName in interface BookmarksFolderModelgetUserName in interface AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface BookmarksFolderModelgetUserUuid in interface AuditedModelpublic java.lang.String getUuid()
getUuid in interface BookmarksFolderModelgetUuid in interface StagedModelpublic boolean isApproved()
true if this bookmarks folder is approved.isApproved in interface BookmarksFolderModelisApproved in interface WorkflowedModeltrue if this bookmarks folder is approved; false otherwisepublic boolean isDenied()
true if this bookmarks folder is denied.isDenied in interface BookmarksFolderModelisDenied in interface WorkflowedModeltrue if this bookmarks folder is denied; false otherwisepublic boolean isDraft()
true if this bookmarks folder is a draft.isDraft in interface BookmarksFolderModelisDraft in interface WorkflowedModeltrue if this bookmarks folder is a draft; false otherwisepublic boolean isExpired()
true if this bookmarks folder is expired.isExpired in interface BookmarksFolderModelisExpired in interface WorkflowedModeltrue if this bookmarks folder is expired; false otherwisepublic boolean isInactive()
true if this bookmarks folder is inactive.isInactive in interface BookmarksFolderModelisInactive in interface WorkflowedModeltrue if this bookmarks folder is inactive; false otherwisepublic boolean isIncomplete()
true if this bookmarks folder is incomplete.isIncomplete in interface BookmarksFolderModelisIncomplete in interface WorkflowedModeltrue if this bookmarks folder is incomplete; false otherwisepublic boolean isInTrash()
true if this bookmarks folder is in the Recycle Bin.isInTrash in interface BookmarksFolderModelisInTrash in interface TrashedModeltrue if this bookmarks folder is in the Recycle Bin; false otherwisepublic boolean isInTrashContainer()
true if the parent of this bookmarks folder is in the Recycle Bin.isInTrashContainer in interface BookmarksFolderModelisInTrashContainer in interface TrashedModeltrue if the parent of this bookmarks folder is in the Recycle Bin; false otherwisepublic boolean isInTrashExplicitly()
isInTrashExplicitly in interface BookmarksFolderModelisInTrashExplicitly in interface TrashedModelpublic boolean isInTrashImplicitly()
isInTrashImplicitly in interface BookmarksFolderModelisInTrashImplicitly in interface TrashedModelpublic boolean isPending()
true if this bookmarks folder is pending.isPending in interface BookmarksFolderModelisPending in interface WorkflowedModeltrue if this bookmarks folder is pending; false otherwisepublic boolean isRoot()
isRoot in interface BookmarksFolderpublic boolean isScheduled()
true if this bookmarks folder is scheduled.isScheduled in interface BookmarksFolderModelisScheduled in interface WorkflowedModeltrue if this bookmarks folder is scheduled; false otherwisepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface BookmarksFolderModelsetCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this bookmarks folderpublic void setContainerModelId(long containerModelId)
setContainerModelId in interface BookmarksFolderModelsetContainerModelId in interface ContainerModelcontainerModelId - the container model ID of this bookmarks folderpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface BookmarksFolderModelsetCreateDate in interface AuditedModelsetCreateDate in interface StagedModelcreateDate - the create date of this bookmarks folderpublic void setDescription(java.lang.String description)
setDescription in interface BookmarksFolderModeldescription - the description of this bookmarks folderpublic void setFolderId(long folderId)
setFolderId in interface BookmarksFolderModelfolderId - the folder ID of this bookmarks folderpublic void setGroupId(long groupId)
setGroupId in interface BookmarksFolderModelsetGroupId in interface GroupedModelgroupId - the group ID of this bookmarks folderpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface BookmarksFolderModelsetLastPublishDate in interface StagedGroupedModellastPublishDate - the last publish date of this bookmarks folderpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface BookmarksFolderModelsetModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this bookmarks folderpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface BookmarksFolderModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this bookmarks folderpublic void setName(java.lang.String name)
setName in interface BookmarksFolderModelname - the name of this bookmarks folderpublic void setParentContainerModelId(long parentContainerModelId)
setParentContainerModelId in interface BookmarksFolderModelsetParentContainerModelId in interface ContainerModelparentContainerModelId - the parent container model ID of this bookmarks folderpublic void setParentFolderId(long parentFolderId)
setParentFolderId in interface BookmarksFolderModelparentFolderId - the parent folder ID of this bookmarks folderpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface BookmarksFolderModelprimaryKey - the primary key of this bookmarks folderpublic void setStatus(int status)
setStatus in interface BookmarksFolderModelsetStatus in interface WorkflowedModelstatus - the status of this bookmarks folderpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface BookmarksFolderModelsetStatusByUserId in interface WorkflowedModelstatusByUserId - the status by user ID of this bookmarks folderpublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName in interface BookmarksFolderModelsetStatusByUserName in interface WorkflowedModelstatusByUserName - the status by user name of this bookmarks folderpublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid in interface BookmarksFolderModelsetStatusByUserUuid in interface WorkflowedModelstatusByUserUuid - the status by user uuid of this bookmarks folderpublic void setStatusDate(java.util.Date statusDate)
setStatusDate in interface BookmarksFolderModelsetStatusDate in interface WorkflowedModelstatusDate - the status date of this bookmarks folderpublic void setTreePath(java.lang.String treePath)
setTreePath in interface BookmarksFolderModeltreePath - the tree path of this bookmarks folderpublic void setUserId(long userId)
setUserId in interface BookmarksFolderModelsetUserId in interface AuditedModeluserId - the user ID of this bookmarks folderpublic void setUserName(java.lang.String userName)
setUserName in interface BookmarksFolderModelsetUserName in interface AuditedModeluserName - the user name of this bookmarks folderpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface BookmarksFolderModelsetUserUuid in interface AuditedModeluserUuid - the user uuid of this bookmarks folderpublic void setUuid(java.lang.String uuid)
setUuid in interface BookmarksFolderModelsetUuid in interface StagedModeluuid - the uuid of this bookmarks folderpublic void updateTreePath(java.lang.String treePath)
updateTreePath in interface TreeModelpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelprotected BookmarksFolderWrapper wrap(BookmarksFolder bookmarksFolder)
wrap in class BaseModelWrapper<BookmarksFolder>