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() |
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.
|
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.
|
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() |
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.
|
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, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
public 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 WikiNode
com.liferay.portal.kernel.exception.PortalException
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 java.lang.String getExternalReferenceCode()
getExternalReferenceCode
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 long getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
getMvccVersion
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 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 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 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 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 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 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 setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode
in interface WikiNodeModel
externalReferenceCode
- the external reference code of this wiki nodepublic 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 setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
setMvccVersion
in interface WikiNodeModel
mvccVersion
- the mvcc version of this wiki nodepublic void setName(java.lang.String name)
setName
in interface WikiNodeModel
name
- the name of this wiki nodepublic 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 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.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected WikiNodeWrapper wrap(WikiNode wikiNode)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<WikiNode>