public class BookmarksEntryWrapper extends BaseModelWrapper<BookmarksEntry> implements BookmarksEntry, ModelWrapper<BookmarksEntry>
This class is a wrapper for BookmarksEntry.
BookmarksEntry,
Serialized FormmodelENTRY_ID_ACCESSOR| Constructor and Description |
|---|
BookmarksEntryWrapper(BookmarksEntry bookmarksEntry) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
buildTreePath() |
long |
getCompanyId()
Returns the company ID of this bookmarks entry.
|
java.util.Date |
getCreateDate()
Returns the create date of this bookmarks entry.
|
java.lang.String |
getDescription()
Returns the description of this bookmarks entry.
|
long |
getEntryId()
Returns the entry ID of this bookmarks entry.
|
BookmarksFolder |
getFolder() |
long |
getFolderId()
Returns the folder ID of this bookmarks entry.
|
long |
getGroupId()
Returns the group ID of this bookmarks entry.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this bookmarks entry.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this bookmarks entry.
|
long |
getMvccVersion()
Returns the mvcc version of this bookmarks entry.
|
java.lang.String |
getName()
Returns the name of this bookmarks entry.
|
long |
getPrimaryKey()
Returns the primary key of this bookmarks entry.
|
int |
getPriority()
Returns the priority of this bookmarks entry.
|
StagedModelType |
getStagedModelType() |
int |
getStatus()
Returns the status of this bookmarks entry.
|
long |
getStatusByUserId()
Returns the status by user ID of this bookmarks entry.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this bookmarks entry.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this bookmarks entry.
|
java.util.Date |
getStatusDate()
Returns the status date of this bookmarks entry.
|
TrashEntry |
getTrashEntry()
Returns the trash entry created when this bookmarks entry was moved to the Recycle Bin.
|
long |
getTrashEntryClassPK()
Returns the class primary key of the trash entry for this bookmarks entry.
|
TrashHandler |
getTrashHandler()
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
java.lang.String |
getTreePath()
Returns the tree path of this bookmarks entry.
|
java.lang.String |
getUrl()
Returns the url of this bookmarks entry.
|
long |
getUserId()
Returns the user ID of this bookmarks entry.
|
java.lang.String |
getUserName()
Returns the user name of this bookmarks entry.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this bookmarks entry.
|
java.lang.String |
getUuid()
Returns the uuid of this bookmarks entry.
|
long |
getVisits() |
boolean |
isApproved()
Returns
true if this bookmarks entry is approved. |
boolean |
isDenied()
Returns
true if this bookmarks entry is denied. |
boolean |
isDraft()
Returns
true if this bookmarks entry is a draft. |
boolean |
isExpired()
Returns
true if this bookmarks entry is expired. |
boolean |
isInactive()
Returns
true if this bookmarks entry is inactive. |
boolean |
isIncomplete()
Returns
true if this bookmarks entry is incomplete. |
boolean |
isInTrash()
Returns
true if this bookmarks entry is in the Recycle Bin. |
boolean |
isInTrashContainer()
Returns
true if the parent of this bookmarks entry is in the Recycle Bin. |
boolean |
isInTrashExplicitly() |
boolean |
isInTrashImplicitly() |
boolean |
isPending()
Returns
true if this bookmarks entry is pending. |
boolean |
isScheduled()
Returns
true if this bookmarks entry 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 entry.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this bookmarks entry.
|
void |
setDescription(java.lang.String description)
Sets the description of this bookmarks entry.
|
void |
setEntryId(long entryId)
Sets the entry ID of this bookmarks entry.
|
void |
setFolderId(long folderId)
Sets the folder ID of this bookmarks entry.
|
void |
setGroupId(long groupId)
Sets the group ID of this bookmarks entry.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this bookmarks entry.
|
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 entry.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this bookmarks entry.
|
void |
setName(java.lang.String name)
Sets the name of this bookmarks entry.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this bookmarks entry.
|
void |
setPriority(int priority)
Sets the priority of this bookmarks entry.
|
void |
setStatus(int status)
Sets the status of this bookmarks entry.
|
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this bookmarks entry.
|
void |
setStatusByUserName(java.lang.String statusByUserName)
Sets the status by user name of this bookmarks entry.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this bookmarks entry.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this bookmarks entry.
|
void |
setTreePath(java.lang.String treePath)
Sets the tree path of this bookmarks entry.
|
void |
setUrl(java.lang.String url)
Sets the url of this bookmarks entry.
|
void |
setUserId(long userId)
Sets the user ID of this bookmarks entry.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this bookmarks entry.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this bookmarks entry.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this bookmarks entry.
|
void |
updateTreePath(java.lang.String treePath) |
protected BookmarksEntryWrapper |
wrap(BookmarksEntry bookmarksEntry) |
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, getModelClassNameclonegetPrimaryKeyObjgetWrappedModelpublic BookmarksEntryWrapper(BookmarksEntry bookmarksEntry)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<BookmarksEntry>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<BookmarksEntry>public java.lang.String buildTreePath()
throws PortalException
buildTreePath in interface BookmarksEntrybuildTreePath in interface TreeModelPortalExceptionpublic long getCompanyId()
getCompanyId in interface BookmarksEntryModelgetCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelpublic java.util.Date getCreateDate()
getCreateDate in interface BookmarksEntryModelgetCreateDate in interface AuditedModelgetCreateDate in interface StagedModelpublic java.lang.String getDescription()
getDescription in interface BookmarksEntryModelpublic long getEntryId()
getEntryId in interface BookmarksEntryModelpublic BookmarksFolder getFolder() throws PortalException
getFolder in interface BookmarksEntryPortalExceptionpublic long getFolderId()
getFolderId in interface BookmarksEntryModelpublic long getGroupId()
getGroupId in interface BookmarksEntryModelgetGroupId in interface GroupedModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface BookmarksEntryModelgetLastPublishDate in interface StagedGroupedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface BookmarksEntryModelgetModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelpublic long getMvccVersion()
getMvccVersion in interface BookmarksEntryModelgetMvccVersion in interface MVCCModelpublic java.lang.String getName()
getName in interface BookmarksEntryModelpublic long getPrimaryKey()
getPrimaryKey in interface BookmarksEntryModelpublic int getPriority()
getPriority in interface BookmarksEntryModelpublic int getStatus()
getStatus in interface BookmarksEntryModelgetStatus in interface TrashedModelgetStatus in interface WorkflowedModelpublic long getStatusByUserId()
getStatusByUserId in interface BookmarksEntryModelgetStatusByUserId in interface WorkflowedModelpublic java.lang.String getStatusByUserName()
getStatusByUserName in interface BookmarksEntryModelgetStatusByUserName in interface WorkflowedModelpublic java.lang.String getStatusByUserUuid()
getStatusByUserUuid in interface BookmarksEntryModelgetStatusByUserUuid in interface WorkflowedModelpublic java.util.Date getStatusDate()
getStatusDate in interface BookmarksEntryModelgetStatusDate in interface WorkflowedModelpublic TrashEntry getTrashEntry() throws PortalException
getTrashEntry in interface BookmarksEntryModelgetTrashEntry in interface TrashedModelPortalExceptionpublic long getTrashEntryClassPK()
getTrashEntryClassPK in interface BookmarksEntryModelgetTrashEntryClassPK in interface TrashedModel@Deprecated public TrashHandler getTrashHandler()
getTrashHandler in interface BookmarksEntryModelgetTrashHandler in interface TrashedModelpublic java.lang.String getTreePath()
getTreePath in interface BookmarksEntryModelgetTreePath in interface TreeModelpublic java.lang.String getUrl()
getUrl in interface BookmarksEntryModelpublic long getUserId()
getUserId in interface BookmarksEntryModelgetUserId in interface AuditedModelpublic java.lang.String getUserName()
getUserName in interface BookmarksEntryModelgetUserName in interface AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface BookmarksEntryModelgetUserUuid in interface AuditedModelpublic java.lang.String getUuid()
getUuid in interface BookmarksEntryModelgetUuid in interface StagedModelpublic long getVisits()
getVisits in interface BookmarksEntrypublic boolean isApproved()
true if this bookmarks entry is approved.isApproved in interface BookmarksEntryModelisApproved in interface WorkflowedModeltrue if this bookmarks entry is approved; false otherwisepublic boolean isDenied()
true if this bookmarks entry is denied.isDenied in interface BookmarksEntryModelisDenied in interface WorkflowedModeltrue if this bookmarks entry is denied; false otherwisepublic boolean isDraft()
true if this bookmarks entry is a draft.isDraft in interface BookmarksEntryModelisDraft in interface WorkflowedModeltrue if this bookmarks entry is a draft; false otherwisepublic boolean isExpired()
true if this bookmarks entry is expired.isExpired in interface BookmarksEntryModelisExpired in interface WorkflowedModeltrue if this bookmarks entry is expired; false otherwisepublic boolean isInactive()
true if this bookmarks entry is inactive.isInactive in interface BookmarksEntryModelisInactive in interface WorkflowedModeltrue if this bookmarks entry is inactive; false otherwisepublic boolean isIncomplete()
true if this bookmarks entry is incomplete.isIncomplete in interface BookmarksEntryModelisIncomplete in interface WorkflowedModeltrue if this bookmarks entry is incomplete; false otherwisepublic boolean isInTrash()
true if this bookmarks entry is in the Recycle Bin.isInTrash in interface BookmarksEntryModelisInTrash in interface TrashedModeltrue if this bookmarks entry is in the Recycle Bin; false otherwisepublic boolean isInTrashContainer()
true if the parent of this bookmarks entry is in the Recycle Bin.isInTrashContainer in interface BookmarksEntryModelisInTrashContainer in interface TrashedModeltrue if the parent of this bookmarks entry is in the Recycle Bin; false otherwisepublic boolean isInTrashExplicitly()
isInTrashExplicitly in interface BookmarksEntryModelisInTrashExplicitly in interface TrashedModelpublic boolean isInTrashImplicitly()
isInTrashImplicitly in interface BookmarksEntryModelisInTrashImplicitly in interface TrashedModelpublic boolean isPending()
true if this bookmarks entry is pending.isPending in interface BookmarksEntryModelisPending in interface WorkflowedModeltrue if this bookmarks entry is pending; false otherwisepublic boolean isScheduled()
true if this bookmarks entry is scheduled.isScheduled in interface BookmarksEntryModelisScheduled in interface WorkflowedModeltrue if this bookmarks entry is scheduled; false otherwisepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface BookmarksEntryModelsetCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this bookmarks entrypublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface BookmarksEntryModelsetCreateDate in interface AuditedModelsetCreateDate in interface StagedModelcreateDate - the create date of this bookmarks entrypublic void setDescription(java.lang.String description)
setDescription in interface BookmarksEntryModeldescription - the description of this bookmarks entrypublic void setEntryId(long entryId)
setEntryId in interface BookmarksEntryModelentryId - the entry ID of this bookmarks entrypublic void setFolderId(long folderId)
setFolderId in interface BookmarksEntryModelfolderId - the folder ID of this bookmarks entrypublic void setGroupId(long groupId)
setGroupId in interface BookmarksEntryModelsetGroupId in interface GroupedModelgroupId - the group ID of this bookmarks entrypublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface BookmarksEntryModelsetLastPublishDate in interface StagedGroupedModellastPublishDate - the last publish date of this bookmarks entrypublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface BookmarksEntryModelsetModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this bookmarks entrypublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface BookmarksEntryModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this bookmarks entrypublic void setName(java.lang.String name)
setName in interface BookmarksEntryModelname - the name of this bookmarks entrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface BookmarksEntryModelprimaryKey - the primary key of this bookmarks entrypublic void setPriority(int priority)
setPriority in interface BookmarksEntryModelpriority - the priority of this bookmarks entrypublic void setStatus(int status)
setStatus in interface BookmarksEntryModelsetStatus in interface WorkflowedModelstatus - the status of this bookmarks entrypublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface BookmarksEntryModelsetStatusByUserId in interface WorkflowedModelstatusByUserId - the status by user ID of this bookmarks entrypublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName in interface BookmarksEntryModelsetStatusByUserName in interface WorkflowedModelstatusByUserName - the status by user name of this bookmarks entrypublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid in interface BookmarksEntryModelsetStatusByUserUuid in interface WorkflowedModelstatusByUserUuid - the status by user uuid of this bookmarks entrypublic void setStatusDate(java.util.Date statusDate)
setStatusDate in interface BookmarksEntryModelsetStatusDate in interface WorkflowedModelstatusDate - the status date of this bookmarks entrypublic void setTreePath(java.lang.String treePath)
setTreePath in interface BookmarksEntryModeltreePath - the tree path of this bookmarks entrypublic void setUrl(java.lang.String url)
setUrl in interface BookmarksEntryModelurl - the url of this bookmarks entrypublic void setUserId(long userId)
setUserId in interface BookmarksEntryModelsetUserId in interface AuditedModeluserId - the user ID of this bookmarks entrypublic void setUserName(java.lang.String userName)
setUserName in interface BookmarksEntryModelsetUserName in interface AuditedModeluserName - the user name of this bookmarks entrypublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface BookmarksEntryModelsetUserUuid in interface AuditedModeluserUuid - the user uuid of this bookmarks entrypublic void setUuid(java.lang.String uuid)
setUuid in interface BookmarksEntryModelsetUuid in interface StagedModeluuid - the uuid of this bookmarks entrypublic void updateTreePath(java.lang.String treePath)
updateTreePath in interface TreeModelpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelprotected BookmarksEntryWrapper wrap(BookmarksEntry bookmarksEntry)
wrap in class BaseModelWrapper<BookmarksEntry>