Class WikiNodeWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<WikiNode>
com.liferay.wiki.model.WikiNodeWrapper
All Implemented Interfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<WikiNode>, com.liferay.portal.kernel.model.change.tracking.CTModel<WikiNode>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ContainerModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<WikiNode>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.StagedModel, com.liferay.portal.kernel.model.TrashedModel, com.liferay.portal.kernel.model.WorkflowedModel, WikiNode, WikiNodeModel, Serializable, Cloneable, Comparable<WikiNode>

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.

See Also:
Generated:
  • Constructor Details

    • WikiNodeWrapper

      public WikiNodeWrapper(WikiNode wikiNode)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>
    • addAttachmentsFolder

      public com.liferay.portal.kernel.repository.model.Folder addAttachmentsFolder() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addAttachmentsFolder in interface WikiNode
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • cloneWithOriginalValues

      public WikiNode cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>
      Specified by:
      cloneWithOriginalValues in interface WikiNodeModel
    • getAttachmentsFolderId

      public long getAttachmentsFolderId()
      Specified by:
      getAttachmentsFolderId in interface WikiNode
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this wiki node.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Specified by:
      getCompanyId in interface WikiNodeModel
      Returns:
      the company ID of this wiki node
    • getContainerModelId

      public long getContainerModelId()
      Returns the container model ID of this wiki node.
      Specified by:
      getContainerModelId in interface com.liferay.portal.kernel.model.ContainerModel
      Specified by:
      getContainerModelId in interface WikiNodeModel
      Returns:
      the container model ID of this wiki node
    • getContainerModelName

      public String getContainerModelName()
      Returns the container name of this wiki node.
      Specified by:
      getContainerModelName in interface com.liferay.portal.kernel.model.ContainerModel
      Specified by:
      getContainerModelName in interface WikiNodeModel
      Returns:
      the container name of this wiki node
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this wiki node.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Specified by:
      getCreateDate in interface WikiNodeModel
      Returns:
      the create date of this wiki node
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this wiki node.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<WikiNode>
      Specified by:
      getCtCollectionId in interface WikiNodeModel
      Returns:
      the ct collection ID of this wiki node
    • getDeletedAttachmentsFiles

      public List<com.liferay.portal.kernel.repository.model.FileEntry> getDeletedAttachmentsFiles() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getDeletedAttachmentsFiles in interface WikiNode
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDescription

      public String getDescription()
      Returns the description of this wiki node.
      Specified by:
      getDescription in interface WikiNodeModel
      Returns:
      the description of this wiki node
    • getExternalReferenceCode

      public String getExternalReferenceCode()
      Returns the external reference code of this wiki node.
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Specified by:
      getExternalReferenceCode in interface WikiNodeModel
      Returns:
      the external reference code of this wiki node
    • getGroupId

      public long getGroupId()
      Returns the group ID of this wiki node.
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Specified by:
      getGroupId in interface WikiNodeModel
      Returns:
      the group ID of this wiki node
    • getLastPostDate

      public Date getLastPostDate()
      Returns the last post date of this wiki node.
      Specified by:
      getLastPostDate in interface WikiNodeModel
      Returns:
      the last post date of this wiki node
    • getLastPublishDate

      public Date getLastPublishDate()
      Returns the last publish date of this wiki node.
      Specified by:
      getLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Specified by:
      getLastPublishDate in interface WikiNodeModel
      Returns:
      the last publish date of this wiki node
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this wiki node.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Specified by:
      getModifiedDate in interface WikiNodeModel
      Returns:
      the modified date of this wiki node
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this wiki node.
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      getMvccVersion in interface WikiNodeModel
      Returns:
      the mvcc version of this wiki node
    • getName

      public String getName()
      Returns the name of this wiki node.
      Specified by:
      getName in interface WikiNodeModel
      Returns:
      the name of this wiki node
    • getNodeId

      public long getNodeId()
      Returns the node ID of this wiki node.
      Specified by:
      getNodeId in interface WikiNodeModel
      Returns:
      the node ID of this wiki node
    • getParentContainerModelId

      public long getParentContainerModelId()
      Returns the parent container model ID of this wiki node.
      Specified by:
      getParentContainerModelId in interface com.liferay.portal.kernel.model.ContainerModel
      Specified by:
      getParentContainerModelId in interface WikiNodeModel
      Returns:
      the parent container model ID of this wiki node
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this wiki node.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<WikiNode>
      Specified by:
      getPrimaryKey in interface WikiNodeModel
      Returns:
      the primary key of this wiki node
    • getStatus

      public int getStatus()
      Returns the status of this wiki node.
      Specified by:
      getStatus in interface com.liferay.portal.kernel.model.TrashedModel
      Specified by:
      getStatus in interface WikiNodeModel
      Specified by:
      getStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status of this wiki node
    • getStatusByUserId

      public long getStatusByUserId()
      Returns the status by user ID of this wiki node.
      Specified by:
      getStatusByUserId in interface WikiNodeModel
      Specified by:
      getStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user ID of this wiki node
    • getStatusByUserName

      public String getStatusByUserName()
      Returns the status by user name of this wiki node.
      Specified by:
      getStatusByUserName in interface WikiNodeModel
      Specified by:
      getStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user name of this wiki node
    • getStatusByUserUuid

      public String getStatusByUserUuid()
      Returns the status by user uuid of this wiki node.
      Specified by:
      getStatusByUserUuid in interface WikiNodeModel
      Specified by:
      getStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user uuid of this wiki node
    • getStatusDate

      public Date getStatusDate()
      Returns the status date of this wiki node.
      Specified by:
      getStatusDate in interface WikiNodeModel
      Specified by:
      getStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status date of this wiki node
    • getTrashEntryClassPK

      public long getTrashEntryClassPK()
      Returns the class primary key of the trash entry for this wiki node.
      Specified by:
      getTrashEntryClassPK in interface com.liferay.portal.kernel.model.TrashedModel
      Specified by:
      getTrashEntryClassPK in interface WikiNodeModel
      Returns:
      the class primary key of the trash entry for this wiki node
    • getUserId

      public long getUserId()
      Returns the user ID of this wiki node.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface WikiNodeModel
      Returns:
      the user ID of this wiki node
    • getUserName

      public String getUserName()
      Returns the user name of this wiki node.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface WikiNodeModel
      Returns:
      the user name of this wiki node
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this wiki node.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface WikiNodeModel
      Returns:
      the user uuid of this wiki node
    • getUuid

      public String getUuid()
      Returns the uuid of this wiki node.
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Specified by:
      getUuid in interface WikiNodeModel
      Returns:
      the uuid of this wiki node
    • isApproved

      public boolean isApproved()
      Returns true if this wiki node is approved.
      Specified by:
      isApproved in interface WikiNodeModel
      Specified by:
      isApproved in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this wiki node is approved; false otherwise
    • isDenied

      public boolean isDenied()
      Returns true if this wiki node is denied.
      Specified by:
      isDenied in interface WikiNodeModel
      Specified by:
      isDenied in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this wiki node is denied; false otherwise
    • isDraft

      public boolean isDraft()
      Returns true if this wiki node is a draft.
      Specified by:
      isDraft in interface WikiNodeModel
      Specified by:
      isDraft in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this wiki node is a draft; false otherwise
    • isExpired

      public boolean isExpired()
      Returns true if this wiki node is expired.
      Specified by:
      isExpired in interface WikiNodeModel
      Specified by:
      isExpired in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this wiki node is expired; false otherwise
    • isInactive

      public boolean isInactive()
      Returns true if this wiki node is inactive.
      Specified by:
      isInactive in interface WikiNodeModel
      Specified by:
      isInactive in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this wiki node is inactive; false otherwise
    • isIncomplete

      public boolean isIncomplete()
      Returns true if this wiki node is incomplete.
      Specified by:
      isIncomplete in interface WikiNodeModel
      Specified by:
      isIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this wiki node is incomplete; false otherwise
    • isInTrash

      public boolean isInTrash()
      Returns true if this wiki node is in the Recycle Bin.
      Specified by:
      isInTrash in interface com.liferay.portal.kernel.model.TrashedModel
      Specified by:
      isInTrash in interface WikiNodeModel
      Returns:
      true if this wiki node is in the Recycle Bin; false otherwise
    • isPending

      public boolean isPending()
      Returns true if this wiki node is pending.
      Specified by:
      isPending in interface WikiNodeModel
      Specified by:
      isPending in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this wiki node is pending; false otherwise
    • isScheduled

      public boolean isScheduled()
      Returns true if this wiki node is scheduled.
      Specified by:
      isScheduled in interface WikiNodeModel
      Specified by:
      isScheduled in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this wiki node is scheduled; false otherwise
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this wiki node.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Specified by:
      setCompanyId in interface WikiNodeModel
      Parameters:
      companyId - the company ID of this wiki node
    • setContainerModelId

      public void setContainerModelId(long containerModelId)
      Sets the container model ID of this wiki node.
      Specified by:
      setContainerModelId in interface com.liferay.portal.kernel.model.ContainerModel
      Specified by:
      setContainerModelId in interface WikiNodeModel
      Parameters:
      containerModelId - the container model ID of this wiki node
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this wiki node.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Specified by:
      setCreateDate in interface WikiNodeModel
      Parameters:
      createDate - the create date of this wiki node
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this wiki node.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<WikiNode>
      Specified by:
      setCtCollectionId in interface WikiNodeModel
      Parameters:
      ctCollectionId - the ct collection ID of this wiki node
    • setDescription

      public void setDescription(String description)
      Sets the description of this wiki node.
      Specified by:
      setDescription in interface WikiNodeModel
      Parameters:
      description - the description of this wiki node
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this wiki node.
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Specified by:
      setExternalReferenceCode in interface WikiNodeModel
      Parameters:
      externalReferenceCode - the external reference code of this wiki node
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this wiki node.
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Specified by:
      setGroupId in interface WikiNodeModel
      Parameters:
      groupId - the group ID of this wiki node
    • setLastPostDate

      public void setLastPostDate(Date lastPostDate)
      Sets the last post date of this wiki node.
      Specified by:
      setLastPostDate in interface WikiNodeModel
      Parameters:
      lastPostDate - the last post date of this wiki node
    • setLastPublishDate

      public void setLastPublishDate(Date lastPublishDate)
      Sets the last publish date of this wiki node.
      Specified by:
      setLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Specified by:
      setLastPublishDate in interface WikiNodeModel
      Parameters:
      lastPublishDate - the last publish date of this wiki node
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this wiki node.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Specified by:
      setModifiedDate in interface WikiNodeModel
      Parameters:
      modifiedDate - the modified date of this wiki node
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this wiki node.
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      setMvccVersion in interface WikiNodeModel
      Parameters:
      mvccVersion - the mvcc version of this wiki node
    • setName

      public void setName(String name)
      Sets the name of this wiki node.
      Specified by:
      setName in interface WikiNodeModel
      Parameters:
      name - the name of this wiki node
    • setNodeId

      public void setNodeId(long nodeId)
      Sets the node ID of this wiki node.
      Specified by:
      setNodeId in interface WikiNodeModel
      Parameters:
      nodeId - the node ID of this wiki node
    • setParentContainerModelId

      public void setParentContainerModelId(long parentContainerModelId)
      Sets the parent container model ID of this wiki node.
      Specified by:
      setParentContainerModelId in interface com.liferay.portal.kernel.model.ContainerModel
      Specified by:
      setParentContainerModelId in interface WikiNodeModel
      Parameters:
      parentContainerModelId - the parent container model ID of this wiki node
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this wiki node.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<WikiNode>
      Specified by:
      setPrimaryKey in interface WikiNodeModel
      Parameters:
      primaryKey - the primary key of this wiki node
    • setStatus

      public void setStatus(int status)
      Sets the status of this wiki node.
      Specified by:
      setStatus in interface WikiNodeModel
      Specified by:
      setStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      status - the status of this wiki node
    • setStatusByUserId

      public void setStatusByUserId(long statusByUserId)
      Sets the status by user ID of this wiki node.
      Specified by:
      setStatusByUserId in interface WikiNodeModel
      Specified by:
      setStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserId - the status by user ID of this wiki node
    • setStatusByUserName

      public void setStatusByUserName(String statusByUserName)
      Sets the status by user name of this wiki node.
      Specified by:
      setStatusByUserName in interface WikiNodeModel
      Specified by:
      setStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserName - the status by user name of this wiki node
    • setStatusByUserUuid

      public void setStatusByUserUuid(String statusByUserUuid)
      Sets the status by user uuid of this wiki node.
      Specified by:
      setStatusByUserUuid in interface WikiNodeModel
      Specified by:
      setStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserUuid - the status by user uuid of this wiki node
    • setStatusDate

      public void setStatusDate(Date statusDate)
      Sets the status date of this wiki node.
      Specified by:
      setStatusDate in interface WikiNodeModel
      Specified by:
      setStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusDate - the status date of this wiki node
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this wiki node.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface WikiNodeModel
      Parameters:
      userId - the user ID of this wiki node
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this wiki node.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserName in interface WikiNodeModel
      Parameters:
      userName - the user name of this wiki node
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this wiki node.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface WikiNodeModel
      Parameters:
      userUuid - the user uuid of this wiki node
    • setUuid

      public void setUuid(String uuid)
      Sets the uuid of this wiki node.
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Specified by:
      setUuid in interface WikiNodeModel
      Parameters:
      uuid - the uuid of this wiki node
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface WikiNodeModel
    • getAttributeGetterFunctions

      public Map<String,Function<WikiNode,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<WikiNode,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<WikiNode>
    • getStagedModelType

      public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
      Specified by:
      getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
    • wrap

      protected WikiNodeWrapper wrap(WikiNode wikiNode)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<WikiNode>