public class WikiNodeWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<WikiNode> implements com.liferay.portal.kernel.model.ModelWrapper<WikiNode>, 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() |
WikiNode |
cloneWithOriginalValues() |
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.
|
java.lang.String |
getExternalReferenceCode()
Returns the external reference code 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.
|
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.
|
long |
getTrashEntryClassPK()
Returns the class primary key of the trash entry 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.
|
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 |
isPending()
Returns
true if this wiki node is pending. |
boolean |
isScheduled()
Returns
true if this wiki node is scheduled. |
void |
persist() |
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 |
setExternalReferenceCode(java.lang.String externalReferenceCode)
Sets the external reference code 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.
|
java.lang.String |
toXmlString() |
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, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelgetModelClass, getModelClassNamepublic WikiNodeWrapper(WikiNode wikiNode)
public 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 WikiNode cloneWithOriginalValues()
cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>cloneWithOriginalValues in interface WikiNodeModelpublic 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 java.lang.String getExternalReferenceCode()
getExternalReferenceCode 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 long getMvccVersion()
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelgetMvccVersion 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 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 long getTrashEntryClassPK()
getTrashEntryClassPK in interface com.liferay.portal.kernel.model.TrashedModelgetTrashEntryClassPK 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 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 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 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 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 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 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 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 setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode in interface WikiNodeModelexternalReferenceCode - the external reference code of this wiki nodepublic 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 setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.kernel.model.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 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 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 java.lang.String toXmlString()
toXmlString in interface WikiNodeModelpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected WikiNodeWrapper wrap(WikiNode wikiNode)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<WikiNode>