public class WikiNodeWrapper extends BaseModelWrapper<WikiNode> implements ModelWrapper<WikiNode>, WikiNode
This class is a wrapper for WikiNode.
WikiNode,
Serialized FormmodelNODE_ID_ACCESSOR| Constructor and Description |
|---|
WikiNodeWrapper(WikiNode wikiNode) |
| Modifier and Type | Method and Description |
|---|---|
Folder |
addAttachmentsFolder() |
long |
getAttachmentsFolderId() |
long |
getCompanyId()
Returns the company ID of this wiki node.
|
long |
getContainerModelId()
Returns the container model ID of this wiki node.
|
java.lang.String |
getContainerModelName()
Returns the container name of this wiki node.
|
java.util.Date |
getCreateDate()
Returns the create date of this wiki node.
|
java.util.List<FileEntry> |
getDeletedAttachmentsFiles() |
java.lang.String |
getDescription()
Returns the description of this wiki node.
|
long |
getGroupId()
Returns the group ID of this wiki node.
|
java.util.Date |
getLastPostDate()
Returns the last post date of this wiki node.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this wiki node.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this wiki node.
|
long |
getMvccVersion()
Returns the mvcc version of this wiki node.
|
java.lang.String |
getName()
Returns the name of this wiki node.
|
long |
getNodeId()
Returns the node ID of this wiki node.
|
long |
getParentContainerModelId()
Returns the parent container model ID of this wiki node.
|
long |
getPrimaryKey()
Returns the primary key of this wiki node.
|
StagedModelType |
getStagedModelType() |
int |
getStatus()
Returns the status of this wiki node.
|
long |
getStatusByUserId()
Returns the status by user ID of this wiki node.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this wiki node.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this wiki node.
|
java.util.Date |
getStatusDate()
Returns the status date of this wiki node.
|
TrashEntry |
getTrashEntry()
Returns the trash entry created when this wiki node was moved to the Recycle Bin.
|
long |
getTrashEntryClassPK()
Returns the class primary key of the trash entry for this wiki node.
|
TrashHandler |
getTrashHandler()
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
long |
getUserId()
Returns the user ID of this wiki node.
|
java.lang.String |
getUserName()
Returns the user name of this wiki node.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this wiki node.
|
java.lang.String |
getUuid()
Returns the uuid of this wiki node.
|
boolean |
isApproved()
Returns
true if this wiki node is approved. |
boolean |
isDenied()
Returns
true if this wiki node is denied. |
boolean |
isDraft()
Returns
true if this wiki node is a draft. |
boolean |
isExpired()
Returns
true if this wiki node is expired. |
boolean |
isInactive()
Returns
true if this wiki node is inactive. |
boolean |
isIncomplete()
Returns
true if this wiki node is incomplete. |
boolean |
isInTrash()
Returns
true if this wiki node is in the Recycle Bin. |
boolean |
isInTrashContainer()
Returns
true if the parent of this wiki node is in the Recycle Bin. |
boolean |
isInTrashExplicitly() |
boolean |
isInTrashImplicitly() |
boolean |
isPending()
Returns
true if this wiki node is pending. |
boolean |
isScheduled()
Returns
true if this wiki node 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 wiki node.
|
void |
setContainerModelId(long containerModelId)
Sets the container model ID of this wiki node.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this wiki node.
|
void |
setDescription(java.lang.String description)
Sets the description of this wiki node.
|
void |
setGroupId(long groupId)
Sets the group ID of this wiki node.
|
void |
setLastPostDate(java.util.Date lastPostDate)
Sets the last post date of this wiki node.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this wiki node.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this wiki node.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this wiki node.
|
void |
setName(java.lang.String name)
Sets the name of this wiki node.
|
void |
setNodeId(long nodeId)
Sets the node ID of this wiki node.
|
void |
setParentContainerModelId(long parentContainerModelId)
Sets the parent container model ID of this wiki node.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this wiki node.
|
void |
setStatus(int status)
Sets the status of this wiki node.
|
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this wiki node.
|
void |
setStatusByUserName(java.lang.String statusByUserName)
Sets the status by user name of this wiki node.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this wiki node.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this wiki node.
|
void |
setUserId(long userId)
Sets the user ID of this wiki node.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this wiki node.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this wiki node.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this wiki node.
|
protected WikiNodeWrapper |
wrap(WikiNode wikiNode) |
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, waitgetWrappedModelclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamegetModelClass, getModelClassNameclonepublic WikiNodeWrapper(WikiNode wikiNode)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<WikiNode>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<WikiNode>public Folder addAttachmentsFolder() throws PortalException
addAttachmentsFolder in interface WikiNodePortalExceptionpublic long getAttachmentsFolderId()
getAttachmentsFolderId in interface WikiNodepublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelgetCompanyId in interface WikiNodeModelpublic long getContainerModelId()
getContainerModelId in interface ContainerModelgetContainerModelId in interface WikiNodeModelpublic java.lang.String getContainerModelName()
getContainerModelName in interface ContainerModelgetContainerModelName in interface WikiNodeModelpublic java.util.Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface WikiNodeModelpublic java.util.List<FileEntry> getDeletedAttachmentsFiles() throws PortalException
getDeletedAttachmentsFiles in interface WikiNodePortalExceptionpublic java.lang.String getDescription()
getDescription in interface WikiNodeModelpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface WikiNodeModelpublic java.util.Date getLastPostDate()
getLastPostDate in interface WikiNodeModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface StagedGroupedModelgetLastPublishDate in interface WikiNodeModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface WikiNodeModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface WikiNodeModelpublic java.lang.String getName()
getName in interface WikiNodeModelpublic long getNodeId()
getNodeId in interface WikiNodeModelpublic long getParentContainerModelId()
getParentContainerModelId in interface ContainerModelgetParentContainerModelId in interface WikiNodeModelpublic long getPrimaryKey()
getPrimaryKey in interface WikiNodeModelpublic int getStatus()
getStatus in interface TrashedModelgetStatus in interface WorkflowedModelgetStatus in interface WikiNodeModelpublic long getStatusByUserId()
getStatusByUserId in interface WorkflowedModelgetStatusByUserId in interface WikiNodeModelpublic java.lang.String getStatusByUserName()
getStatusByUserName in interface WorkflowedModelgetStatusByUserName in interface WikiNodeModelpublic java.lang.String getStatusByUserUuid()
getStatusByUserUuid in interface WorkflowedModelgetStatusByUserUuid in interface WikiNodeModelpublic java.util.Date getStatusDate()
getStatusDate in interface WorkflowedModelgetStatusDate in interface WikiNodeModelpublic TrashEntry getTrashEntry() throws PortalException
getTrashEntry in interface TrashedModelgetTrashEntry in interface WikiNodeModelPortalExceptionpublic long getTrashEntryClassPK()
getTrashEntryClassPK in interface TrashedModelgetTrashEntryClassPK in interface WikiNodeModel@Deprecated public TrashHandler getTrashHandler()
getTrashHandler in interface TrashedModelgetTrashHandler in interface WikiNodeModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface WikiNodeModelpublic java.lang.String getUserName()
getUserName in interface AuditedModelgetUserName in interface WikiNodeModelpublic java.lang.String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface WikiNodeModelpublic java.lang.String getUuid()
getUuid in interface StagedModelgetUuid in interface WikiNodeModelpublic boolean isApproved()
true if this wiki node is approved.isApproved in interface WorkflowedModelisApproved in interface WikiNodeModeltrue if this wiki node is approved; false otherwisepublic boolean isDenied()
true if this wiki node is denied.isDenied in interface WorkflowedModelisDenied in interface WikiNodeModeltrue if this wiki node is denied; false otherwisepublic boolean isDraft()
true if this wiki node is a draft.isDraft in interface WorkflowedModelisDraft in interface WikiNodeModeltrue if this wiki node is a draft; false otherwisepublic boolean isExpired()
true if this wiki node is expired.isExpired in interface WorkflowedModelisExpired in interface WikiNodeModeltrue if this wiki node is expired; false otherwisepublic boolean isInactive()
true if this wiki node is inactive.isInactive in interface WorkflowedModelisInactive in interface WikiNodeModeltrue if this wiki node is inactive; false otherwisepublic boolean isIncomplete()
true if this wiki node is incomplete.isIncomplete in interface WorkflowedModelisIncomplete in interface WikiNodeModeltrue if this wiki node is incomplete; false otherwisepublic boolean isInTrash()
true if this wiki node is in the Recycle Bin.isInTrash in interface TrashedModelisInTrash in interface WikiNodeModeltrue if this wiki node is in the Recycle Bin; false otherwisepublic boolean isInTrashContainer()
true if the parent of this wiki node is in the Recycle Bin.isInTrashContainer in interface TrashedModelisInTrashContainer in interface WikiNodeModeltrue if the parent of this wiki node is in the Recycle Bin; false otherwisepublic boolean isInTrashExplicitly()
isInTrashExplicitly in interface TrashedModelisInTrashExplicitly in interface WikiNodeModelpublic boolean isInTrashImplicitly()
isInTrashImplicitly in interface TrashedModelisInTrashImplicitly in interface WikiNodeModelpublic boolean isPending()
true if this wiki node is pending.isPending in interface WorkflowedModelisPending in interface WikiNodeModeltrue if this wiki node is pending; false otherwisepublic boolean isScheduled()
true if this wiki node is scheduled.isScheduled in interface WorkflowedModelisScheduled in interface WikiNodeModeltrue if this wiki node is scheduled; false otherwisepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelsetCompanyId in interface WikiNodeModelcompanyId - the company ID of this wiki nodepublic void setContainerModelId(long containerModelId)
setContainerModelId in interface ContainerModelsetContainerModelId in interface WikiNodeModelcontainerModelId - the container model ID of this wiki nodepublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface WikiNodeModelcreateDate - the create date of this wiki nodepublic void setDescription(java.lang.String description)
setDescription in interface WikiNodeModeldescription - the description of this wiki nodepublic void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface WikiNodeModelgroupId - the group ID of this wiki nodepublic void setLastPostDate(java.util.Date lastPostDate)
setLastPostDate in interface WikiNodeModellastPostDate - the last post date of this wiki nodepublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface StagedGroupedModelsetLastPublishDate in interface WikiNodeModellastPublishDate - the last publish date of this wiki nodepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface WikiNodeModelmodifiedDate - the modified date of this wiki nodepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface WikiNodeModelmvccVersion - the mvcc version of this wiki nodepublic void setName(java.lang.String name)
setName in interface WikiNodeModelname - the name of this wiki nodepublic void setNodeId(long nodeId)
setNodeId in interface WikiNodeModelnodeId - the node ID of this wiki nodepublic void setParentContainerModelId(long parentContainerModelId)
setParentContainerModelId in interface ContainerModelsetParentContainerModelId in interface WikiNodeModelparentContainerModelId - the parent container model ID of this wiki nodepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface WikiNodeModelprimaryKey - the primary key of this wiki nodepublic void setStatus(int status)
setStatus in interface WorkflowedModelsetStatus in interface WikiNodeModelstatus - the status of this wiki nodepublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface WorkflowedModelsetStatusByUserId in interface WikiNodeModelstatusByUserId - the status by user ID of this wiki nodepublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName in interface WorkflowedModelsetStatusByUserName in interface WikiNodeModelstatusByUserName - the status by user name of this wiki nodepublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid in interface WorkflowedModelsetStatusByUserUuid in interface WikiNodeModelstatusByUserUuid - the status by user uuid of this wiki nodepublic void setStatusDate(java.util.Date statusDate)
setStatusDate in interface WorkflowedModelsetStatusDate in interface WikiNodeModelstatusDate - the status date of this wiki nodepublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface WikiNodeModeluserId - the user ID of this wiki nodepublic void setUserName(java.lang.String userName)
setUserName in interface AuditedModelsetUserName in interface WikiNodeModeluserName - the user name of this wiki nodepublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface WikiNodeModeluserUuid - the user uuid of this wiki nodepublic void setUuid(java.lang.String uuid)
setUuid in interface StagedModelsetUuid in interface WikiNodeModeluuid - the uuid of this wiki nodepublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelprotected WikiNodeWrapper wrap(WikiNode wikiNode)
wrap in class BaseModelWrapper<WikiNode>