@ProviderType public class WikiNodeWrapper extends java.lang.Object implements WikiNode, com.liferay.portal.kernel.model.ModelWrapper<WikiNode>
This class is a wrapper for WikiNode.
WikiNode,
Serialized FormNODE_ID_ACCESSOR| Constructor and Description |
|---|
WikiNodeWrapper(WikiNode wikiNode) |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portal.kernel.repository.model.Folder |
addAttachmentsFolder() |
java.lang.Object |
clone() |
int |
compareTo(WikiNode wikiNode) |
boolean |
equals(java.lang.Object obj) |
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<com.liferay.portal.kernel.repository.model.FileEntry> |
getDeletedAttachmentsFiles() |
java.lang.String |
getDescription()
Returns the description of this wiki node.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
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.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date 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.
|
java.io.Serializable |
getPrimaryKeyObj() |
com.liferay.exportimport.kernel.lar.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.
|
com.liferay.trash.kernel.model.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.
|
com.liferay.portal.kernel.trash.TrashHandler |
getTrashHandler()
Returns the trash handler for this wiki node.
|
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.
|
WikiNode |
getWrappedModel() |
int |
hashCode() |
boolean |
isApproved()
Returns
true if this wiki node is approved. |
boolean |
isCachedModel() |
boolean |
isDenied()
Returns
true if this wiki node is denied. |
boolean |
isDraft()
Returns
true if this wiki node is a draft. |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isExpired()
Returns
true if this wiki node is expired. |
boolean |
isFinderCacheEnabled() |
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 |
isNew() |
boolean |
isPending()
Returns
true if this wiki node is pending. |
boolean |
isScheduled()
Returns
true if this wiki node is scheduled. |
void |
persist() |
void |
resetOriginalValues() |
void |
setCachedModel(boolean cachedModel) |
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 |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
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 |
setName(java.lang.String name)
Sets the name of this wiki node.
|
void |
setNew(boolean n) |
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 |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
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.
|
com.liferay.portal.kernel.model.CacheModel<WikiNode> |
toCacheModel() |
WikiNode |
toEscapedModel() |
java.lang.String |
toString() |
WikiNode |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public WikiNodeWrapper(WikiNode wikiNode)
public java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelgetModelClass in interface com.liferay.portal.kernel.model.ContainerModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelgetModelClassName in interface com.liferay.portal.kernel.model.ContainerModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>public com.liferay.portal.kernel.repository.model.Folder addAttachmentsFolder()
throws com.liferay.portal.kernel.exception.PortalException
addAttachmentsFolder in interface WikiNodecom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.Object clone()
clone in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>clone in interface com.liferay.portal.kernel.model.StagedModelclone in interface WikiNodeModelclone in class java.lang.Objectpublic int compareTo(WikiNode wikiNode)
compareTo in interface WikiNodeModelcompareTo in interface java.lang.Comparable<WikiNode>public long getAttachmentsFolderId()
getAttachmentsFolderId in interface WikiNodepublic long getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelgetCompanyId in interface WikiNodeModelpublic long getContainerModelId()
getContainerModelId in interface com.liferay.portal.kernel.model.ContainerModelgetContainerModelId in interface WikiNodeModelpublic java.lang.String getContainerModelName()
getContainerModelName in interface com.liferay.portal.kernel.model.ContainerModelgetContainerModelName in interface WikiNodeModelpublic java.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelgetCreateDate in interface WikiNodeModelpublic java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> getDeletedAttachmentsFiles()
throws com.liferay.portal.kernel.exception.PortalException
getDeletedAttachmentsFiles in interface WikiNodecom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getDescription()
getDescription in interface WikiNodeModelpublic com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelgetExpandoBridge in interface WikiNodeModelpublic long getGroupId()
getGroupId in interface com.liferay.portal.kernel.model.GroupedModelgetGroupId in interface WikiNodeModelpublic java.util.Date getLastPostDate()
getLastPostDate in interface WikiNodeModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelgetLastPublishDate in interface WikiNodeModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelgetModifiedDate in interface WikiNodeModelpublic java.lang.String getName()
getName in interface WikiNodeModelpublic long getNodeId()
getNodeId in interface WikiNodeModelpublic long getParentContainerModelId()
getParentContainerModelId in interface com.liferay.portal.kernel.model.ContainerModelgetParentContainerModelId in interface WikiNodeModelpublic long getPrimaryKey()
getPrimaryKey in interface WikiNodeModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelgetPrimaryKeyObj in interface WikiNodeModelpublic int getStatus()
getStatus in interface com.liferay.portal.kernel.model.TrashedModelgetStatus in interface com.liferay.portal.kernel.model.WorkflowedModelgetStatus in interface WikiNodeModelpublic long getStatusByUserId()
getStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelgetStatusByUserId in interface WikiNodeModelpublic java.lang.String getStatusByUserName()
getStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelgetStatusByUserName in interface WikiNodeModelpublic java.lang.String getStatusByUserUuid()
getStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelgetStatusByUserUuid in interface WikiNodeModelpublic java.util.Date getStatusDate()
getStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelgetStatusDate in interface WikiNodeModelpublic com.liferay.trash.kernel.model.TrashEntry getTrashEntry()
throws com.liferay.portal.kernel.exception.PortalException
getTrashEntry in interface com.liferay.portal.kernel.model.TrashedModelgetTrashEntry in interface WikiNodeModelcom.liferay.portal.kernel.exception.PortalExceptionpublic long getTrashEntryClassPK()
getTrashEntryClassPK in interface com.liferay.portal.kernel.model.TrashedModelgetTrashEntryClassPK in interface WikiNodeModelpublic com.liferay.portal.kernel.trash.TrashHandler getTrashHandler()
getTrashHandler in interface com.liferay.portal.kernel.model.TrashedModelgetTrashHandler in interface WikiNodeModelpublic long getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelgetUserId in interface WikiNodeModelpublic java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelgetUserName in interface WikiNodeModelpublic java.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelgetUserUuid in interface WikiNodeModelpublic java.lang.String getUuid()
getUuid in interface com.liferay.portal.kernel.model.StagedModelgetUuid in interface WikiNodeModelpublic int hashCode()
hashCode in interface WikiNodeModelhashCode in class java.lang.Objectpublic boolean isApproved()
true if this wiki node is approved.isApproved in interface com.liferay.portal.kernel.model.WorkflowedModelisApproved in interface WikiNodeModeltrue if this wiki node is approved; false otherwisepublic boolean isCachedModel()
isCachedModel in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>isCachedModel in interface WikiNodeModelpublic boolean isDenied()
true if this wiki node is denied.isDenied in interface com.liferay.portal.kernel.model.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 com.liferay.portal.kernel.model.WorkflowedModelisDraft in interface WikiNodeModeltrue if this wiki node is a draft; false otherwisepublic boolean isEscapedModel()
isEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>isEscapedModel in interface WikiNodeModelpublic boolean isExpired()
true if this wiki node is expired.isExpired in interface com.liferay.portal.kernel.model.WorkflowedModelisExpired in interface WikiNodeModeltrue if this wiki node is expired; false otherwisepublic boolean isInTrash()
true if this wiki node is in the Recycle Bin.isInTrash in interface com.liferay.portal.kernel.model.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 com.liferay.portal.kernel.model.TrashedModelisInTrashContainer in interface WikiNodeModeltrue if the parent of this wiki node is in the Recycle Bin; false otherwisepublic boolean isInTrashExplicitly()
isInTrashExplicitly in interface com.liferay.portal.kernel.model.TrashedModelisInTrashExplicitly in interface WikiNodeModelpublic boolean isInTrashImplicitly()
isInTrashImplicitly in interface com.liferay.portal.kernel.model.TrashedModelisInTrashImplicitly in interface WikiNodeModelpublic boolean isInactive()
true if this wiki node is inactive.isInactive in interface com.liferay.portal.kernel.model.WorkflowedModelisInactive in interface WikiNodeModeltrue if this wiki node is inactive; false otherwisepublic boolean isIncomplete()
true if this wiki node is incomplete.isIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModelisIncomplete in interface WikiNodeModeltrue if this wiki node is incomplete; false otherwisepublic boolean isNew()
isNew in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>isNew in interface WikiNodeModelpublic boolean isPending()
true if this wiki node is pending.isPending in interface com.liferay.portal.kernel.model.WorkflowedModelisPending in interface WikiNodeModeltrue if this wiki node is pending; false otherwisepublic boolean isScheduled()
true if this wiki node is scheduled.isScheduled in interface com.liferay.portal.kernel.model.WorkflowedModelisScheduled in interface WikiNodeModeltrue if this wiki node is scheduled; false otherwisepublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setCachedModel(boolean cachedModel)
setCachedModel in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>setCachedModel in interface WikiNodeModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelsetCompanyId in interface WikiNodeModelcompanyId - the company ID of this wiki nodepublic void setContainerModelId(long containerModelId)
setContainerModelId in interface com.liferay.portal.kernel.model.ContainerModelsetContainerModelId in interface WikiNodeModelcontainerModelId - the container model ID of this wiki nodepublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.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 setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>setExpandoBridgeAttributes in interface WikiNodeModelpublic void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>setExpandoBridgeAttributes in interface WikiNodeModelpublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>setExpandoBridgeAttributes in interface WikiNodeModelpublic void setGroupId(long groupId)
setGroupId in interface com.liferay.portal.kernel.model.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 com.liferay.portal.kernel.model.StagedGroupedModelsetLastPublishDate in interface WikiNodeModellastPublishDate - the last publish date of this wiki nodepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelsetModifiedDate in interface WikiNodeModelmodifiedDate - the modified date of this wiki nodepublic void setName(java.lang.String name)
setName in interface WikiNodeModelname - the name of this wiki nodepublic void setNew(boolean n)
setNew in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>setNew in interface WikiNodeModelpublic void setNodeId(long nodeId)
setNodeId in interface WikiNodeModelnodeId - the node ID of this wiki nodepublic void setParentContainerModelId(long parentContainerModelId)
setParentContainerModelId in interface com.liferay.portal.kernel.model.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 setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelsetPrimaryKeyObj in interface WikiNodeModelpublic void setStatus(int status)
setStatus in interface com.liferay.portal.kernel.model.WorkflowedModelsetStatus in interface WikiNodeModelstatus - the status of this wiki nodepublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelsetStatusByUserId in interface WikiNodeModelstatusByUserId - the status by user ID of this wiki nodepublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelsetStatusByUserName in interface WikiNodeModelstatusByUserName - the status by user name of this wiki nodepublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelsetStatusByUserUuid in interface WikiNodeModelstatusByUserUuid - the status by user uuid of this wiki nodepublic void setStatusDate(java.util.Date statusDate)
setStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelsetStatusDate in interface WikiNodeModelstatusDate - the status date of this wiki nodepublic void setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModelsetUserId in interface WikiNodeModeluserId - the user ID of this wiki nodepublic void setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModelsetUserName in interface WikiNodeModeluserName - the user name of this wiki nodepublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModelsetUserUuid in interface WikiNodeModeluserUuid - the user uuid of this wiki nodepublic void setUuid(java.lang.String uuid)
setUuid in interface com.liferay.portal.kernel.model.StagedModelsetUuid in interface WikiNodeModeluuid - the uuid of this wiki nodepublic com.liferay.portal.kernel.model.CacheModel<WikiNode> toCacheModel()
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>toCacheModel in interface WikiNodeModelpublic WikiNode toEscapedModel()
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>toEscapedModel in interface WikiNodeModelpublic java.lang.String toString()
toString in interface WikiNodeModeltoString in class java.lang.Objectpublic WikiNode toUnescapedModel()
toUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>toUnescapedModel in interface WikiNodeModelpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>toXmlString in interface WikiNodeModelpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelpublic WikiNode getWrappedModel()
getWrappedModel in interface com.liferay.portal.kernel.model.ModelWrapper<WikiNode>public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>