@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()
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.
|
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.ClassedModel
getModelClass
in interface com.liferay.portal.kernel.model.ContainerModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
getModelClassName
in interface com.liferay.portal.kernel.model.ContainerModel
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 WikiNode
com.liferay.portal.kernel.exception.PortalException
public java.lang.Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>
clone
in interface com.liferay.portal.kernel.model.StagedModel
clone
in interface WikiNodeModel
clone
in class java.lang.Object
public int compareTo(WikiNode wikiNode)
compareTo
in interface WikiNodeModel
compareTo
in interface java.lang.Comparable<WikiNode>
public long getAttachmentsFolderId()
getAttachmentsFolderId
in interface WikiNode
public long getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
getCompanyId
in interface WikiNodeModel
public long getContainerModelId()
getContainerModelId
in interface com.liferay.portal.kernel.model.ContainerModel
getContainerModelId
in interface WikiNodeModel
public java.lang.String getContainerModelName()
getContainerModelName
in interface com.liferay.portal.kernel.model.ContainerModel
getContainerModelName
in interface WikiNodeModel
public java.util.Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
getCreateDate
in interface WikiNodeModel
public java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> getDeletedAttachmentsFiles() throws com.liferay.portal.kernel.exception.PortalException
getDeletedAttachmentsFiles
in interface WikiNode
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getDescription()
getDescription
in interface WikiNodeModel
public 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.ClassedModel
getExpandoBridge
in interface WikiNodeModel
public long getGroupId()
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
getGroupId
in interface WikiNodeModel
public java.util.Date getLastPostDate()
getLastPostDate
in interface WikiNodeModel
public java.util.Date getLastPublishDate()
getLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
getLastPublishDate
in interface WikiNodeModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
getModifiedDate
in interface WikiNodeModel
public java.lang.String getName()
getName
in interface WikiNodeModel
public long getNodeId()
getNodeId
in interface WikiNodeModel
public long getParentContainerModelId()
getParentContainerModelId
in interface com.liferay.portal.kernel.model.ContainerModel
getParentContainerModelId
in interface WikiNodeModel
public long getPrimaryKey()
getPrimaryKey
in interface WikiNodeModel
public java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
getPrimaryKeyObj
in interface WikiNodeModel
public int getStatus()
getStatus
in interface com.liferay.portal.kernel.model.TrashedModel
getStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
getStatus
in interface WikiNodeModel
public long getStatusByUserId()
getStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
getStatusByUserId
in interface WikiNodeModel
public java.lang.String getStatusByUserName()
getStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
getStatusByUserName
in interface WikiNodeModel
public java.lang.String getStatusByUserUuid()
getStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
getStatusByUserUuid
in interface WikiNodeModel
public java.util.Date getStatusDate()
getStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
getStatusDate
in interface WikiNodeModel
public com.liferay.trash.kernel.model.TrashEntry getTrashEntry() throws com.liferay.portal.kernel.exception.PortalException
getTrashEntry
in interface com.liferay.portal.kernel.model.TrashedModel
getTrashEntry
in interface WikiNodeModel
com.liferay.portal.kernel.exception.PortalException
public long getTrashEntryClassPK()
getTrashEntryClassPK
in interface com.liferay.portal.kernel.model.TrashedModel
getTrashEntryClassPK
in interface WikiNodeModel
@Deprecated public com.liferay.portal.kernel.trash.TrashHandler getTrashHandler()
getTrashHandler
in interface com.liferay.portal.kernel.model.TrashedModel
getTrashHandler
in interface WikiNodeModel
public long getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
getUserId
in interface WikiNodeModel
public java.lang.String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
getUserName
in interface WikiNodeModel
public java.lang.String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
getUserUuid
in interface WikiNodeModel
public java.lang.String getUuid()
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
getUuid
in interface WikiNodeModel
public int hashCode()
hashCode
in interface WikiNodeModel
hashCode
in class java.lang.Object
public boolean isApproved()
true
if this wiki node is approved.isApproved
in interface com.liferay.portal.kernel.model.WorkflowedModel
isApproved
in interface WikiNodeModel
true
if this wiki node is approved; false
otherwisepublic boolean isCachedModel()
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>
isCachedModel
in interface WikiNodeModel
public boolean isDenied()
true
if this wiki node is denied.isDenied
in interface com.liferay.portal.kernel.model.WorkflowedModel
isDenied
in interface WikiNodeModel
true
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.WorkflowedModel
isDraft
in interface WikiNodeModel
true
if this wiki node is a draft; false
otherwisepublic boolean isEscapedModel()
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>
isEscapedModel
in interface WikiNodeModel
public boolean isExpired()
true
if this wiki node is expired.isExpired
in interface com.liferay.portal.kernel.model.WorkflowedModel
isExpired
in interface WikiNodeModel
true
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.WorkflowedModel
isInactive
in interface WikiNodeModel
true
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.WorkflowedModel
isIncomplete
in interface WikiNodeModel
true
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.TrashedModel
isInTrash
in interface WikiNodeModel
true
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.TrashedModel
isInTrashContainer
in interface WikiNodeModel
true
if the parent of this wiki node is in the Recycle Bin; false
otherwisepublic boolean isInTrashExplicitly()
isInTrashExplicitly
in interface com.liferay.portal.kernel.model.TrashedModel
isInTrashExplicitly
in interface WikiNodeModel
public boolean isInTrashImplicitly()
isInTrashImplicitly
in interface com.liferay.portal.kernel.model.TrashedModel
isInTrashImplicitly
in interface WikiNodeModel
public boolean isNew()
isNew
in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>
isNew
in interface WikiNodeModel
public boolean isPending()
true
if this wiki node is pending.isPending
in interface com.liferay.portal.kernel.model.WorkflowedModel
isPending
in interface WikiNodeModel
true
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.WorkflowedModel
isScheduled
in interface WikiNodeModel
true
if this wiki node is scheduled; false
otherwisepublic void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCachedModel(boolean cachedModel)
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>
setCachedModel
in interface WikiNodeModel
public void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
setCompanyId
in interface WikiNodeModel
companyId
- the company ID of this wiki nodepublic void setContainerModelId(long containerModelId)
setContainerModelId
in interface com.liferay.portal.kernel.model.ContainerModel
setContainerModelId
in interface WikiNodeModel
containerModelId
- the container model ID of this wiki nodepublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
setCreateDate
in interface WikiNodeModel
createDate
- the create date of this wiki nodepublic void setDescription(java.lang.String description)
setDescription
in interface WikiNodeModel
description
- 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 WikiNodeModel
public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>
setExpandoBridgeAttributes
in interface WikiNodeModel
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>
setExpandoBridgeAttributes
in interface WikiNodeModel
public void setGroupId(long groupId)
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
setGroupId
in interface WikiNodeModel
groupId
- the group ID of this wiki nodepublic void setLastPostDate(java.util.Date lastPostDate)
setLastPostDate
in interface WikiNodeModel
lastPostDate
- the last post date of this wiki nodepublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
setLastPublishDate
in interface WikiNodeModel
lastPublishDate
- the last publish date of this wiki nodepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
setModifiedDate
in interface WikiNodeModel
modifiedDate
- the modified date of this wiki nodepublic void setName(java.lang.String name)
setName
in interface WikiNodeModel
name
- the name of this wiki nodepublic void setNew(boolean n)
setNew
in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>
setNew
in interface WikiNodeModel
public void setNodeId(long nodeId)
setNodeId
in interface WikiNodeModel
nodeId
- the node ID of this wiki nodepublic void setParentContainerModelId(long parentContainerModelId)
setParentContainerModelId
in interface com.liferay.portal.kernel.model.ContainerModel
setParentContainerModelId
in interface WikiNodeModel
parentContainerModelId
- the parent container model ID of this wiki nodepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface WikiNodeModel
primaryKey
- 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.ClassedModel
setPrimaryKeyObj
in interface WikiNodeModel
public void setStatus(int status)
setStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
setStatus
in interface WikiNodeModel
status
- the status of this wiki nodepublic void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
setStatusByUserId
in interface WikiNodeModel
statusByUserId
- the status by user ID of this wiki nodepublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
setStatusByUserName
in interface WikiNodeModel
statusByUserName
- the status by user name of this wiki nodepublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
setStatusByUserUuid
in interface WikiNodeModel
statusByUserUuid
- the status by user uuid of this wiki nodepublic void setStatusDate(java.util.Date statusDate)
setStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
setStatusDate
in interface WikiNodeModel
statusDate
- the status date of this wiki nodepublic void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
setUserId
in interface WikiNodeModel
userId
- the user ID of this wiki nodepublic void setUserName(java.lang.String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
setUserName
in interface WikiNodeModel
userName
- the user name of this wiki nodepublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
setUserUuid
in interface WikiNodeModel
userUuid
- the user uuid of this wiki nodepublic void setUuid(java.lang.String uuid)
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
setUuid
in interface WikiNodeModel
uuid
- 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 WikiNodeModel
public WikiNode toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>
toEscapedModel
in interface WikiNodeModel
public java.lang.String toString()
toString
in interface WikiNodeModel
toString
in class java.lang.Object
public WikiNode toUnescapedModel()
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>
toUnescapedModel
in interface WikiNodeModel
public java.lang.String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>
toXmlString
in interface WikiNodeModel
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
public 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>