Class JournalFolderWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<JournalFolder>
com.liferay.journal.model.JournalFolderWrapper
All Implemented Interfaces:
JournalFolder, JournalFolderModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<JournalFolder>, com.liferay.portal.kernel.model.change.tracking.CTModel<JournalFolder>, 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<JournalFolder>, 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.TreeModel, com.liferay.portal.kernel.model.WorkflowedModel, Serializable, Cloneable, Comparable<JournalFolder>

public class JournalFolderWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<JournalFolder> implements JournalFolder, com.liferay.portal.kernel.model.ModelWrapper<JournalFolder>

This class is a wrapper for JournalFolder.

See Also:
Generated:
  • Constructor Details

    • JournalFolderWrapper

      public JournalFolderWrapper(JournalFolder journalFolder)
  • Method Details

    • getModelAttributes

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

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

      public String buildTreePath() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      buildTreePath in interface com.liferay.portal.kernel.model.TreeModel
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • cloneWithOriginalValues

      public JournalFolder cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<JournalFolder>
      Specified by:
      cloneWithOriginalValues in interface JournalFolderModel
    • getAncestorFolderIds

      public List<Long> getAncestorFolderIds() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getAncestorFolderIds in interface JournalFolder
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAncestors

      public List<JournalFolder> getAncestors() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getAncestors in interface JournalFolder
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCompanyId

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

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

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

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

      public long getCtCollectionId()
      Returns the ct collection ID of this journal folder.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<JournalFolder>
      Specified by:
      getCtCollectionId in interface JournalFolderModel
      Returns:
      the ct collection ID of this journal folder
    • getDescription

      public String getDescription()
      Returns the description of this journal folder.
      Specified by:
      getDescription in interface JournalFolderModel
      Returns:
      the description of this journal folder
    • getExternalReferenceCode

      public String getExternalReferenceCode()
      Returns the external reference code of this journal folder.
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Specified by:
      getExternalReferenceCode in interface JournalFolderModel
      Returns:
      the external reference code of this journal folder
    • getFolderId

      public long getFolderId()
      Returns the folder ID of this journal folder.
      Specified by:
      getFolderId in interface JournalFolderModel
      Returns:
      the folder ID of this journal folder
    • getGroupId

      public long getGroupId()
      Returns the group ID of this journal folder.
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Specified by:
      getGroupId in interface JournalFolderModel
      Returns:
      the group ID of this journal folder
    • getLastPublishDate

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

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

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

      public String getName()
      Returns the name of this journal folder.
      Specified by:
      getName in interface JournalFolderModel
      Returns:
      the name of this journal folder
    • getParentContainerModelId

      public long getParentContainerModelId()
      Returns the parent container model ID of this journal folder.
      Specified by:
      getParentContainerModelId in interface com.liferay.portal.kernel.model.ContainerModel
      Specified by:
      getParentContainerModelId in interface JournalFolderModel
      Returns:
      the parent container model ID of this journal folder
    • getParentFolder

      public JournalFolder getParentFolder() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getParentFolder in interface JournalFolder
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getParentFolderId

      public long getParentFolderId()
      Returns the parent folder ID of this journal folder.
      Specified by:
      getParentFolderId in interface JournalFolderModel
      Returns:
      the parent folder ID of this journal folder
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this journal folder.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<JournalFolder>
      Specified by:
      getPrimaryKey in interface JournalFolderModel
      Returns:
      the primary key of this journal folder
    • getRestrictionType

      public int getRestrictionType()
      Returns the restriction type of this journal folder.
      Specified by:
      getRestrictionType in interface JournalFolderModel
      Returns:
      the restriction type of this journal folder
    • getStatus

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

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

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

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

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

      public long getTrashEntryClassPK()
      Returns the class primary key of the trash entry for this journal folder.
      Specified by:
      getTrashEntryClassPK in interface JournalFolderModel
      Specified by:
      getTrashEntryClassPK in interface com.liferay.portal.kernel.model.TrashedModel
      Returns:
      the class primary key of the trash entry for this journal folder
    • getTreePath

      public String getTreePath()
      Returns the tree path of this journal folder.
      Specified by:
      getTreePath in interface JournalFolderModel
      Specified by:
      getTreePath in interface com.liferay.portal.kernel.model.TreeModel
      Returns:
      the tree path of this journal folder
    • getUserId

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

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

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

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

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

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

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

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

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

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

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

      public boolean isPending()
      Returns true if this journal folder is pending.
      Specified by:
      isPending in interface JournalFolderModel
      Specified by:
      isPending in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this journal folder is pending; false otherwise
    • isRoot

      public boolean isRoot()
      Specified by:
      isRoot in interface JournalFolder
    • isScheduled

      public boolean isScheduled()
      Returns true if this journal folder is scheduled.
      Specified by:
      isScheduled in interface JournalFolderModel
      Specified by:
      isScheduled in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this journal folder 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 journal folder.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface JournalFolderModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this journal folder
    • setContainerModelId

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

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

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

      public void setDescription(String description)
      Sets the description of this journal folder.
      Specified by:
      setDescription in interface JournalFolderModel
      Parameters:
      description - the description of this journal folder
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this journal folder.
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Specified by:
      setExternalReferenceCode in interface JournalFolderModel
      Parameters:
      externalReferenceCode - the external reference code of this journal folder
    • setFolderId

      public void setFolderId(long folderId)
      Sets the folder ID of this journal folder.
      Specified by:
      setFolderId in interface JournalFolderModel
      Parameters:
      folderId - the folder ID of this journal folder
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this journal folder.
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Specified by:
      setGroupId in interface JournalFolderModel
      Parameters:
      groupId - the group ID of this journal folder
    • setLastPublishDate

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

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

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

      public void setName(String name)
      Sets the name of this journal folder.
      Specified by:
      setName in interface JournalFolderModel
      Parameters:
      name - the name of this journal folder
    • setParentContainerModelId

      public void setParentContainerModelId(long parentContainerModelId)
      Sets the parent container model ID of this journal folder.
      Specified by:
      setParentContainerModelId in interface com.liferay.portal.kernel.model.ContainerModel
      Specified by:
      setParentContainerModelId in interface JournalFolderModel
      Parameters:
      parentContainerModelId - the parent container model ID of this journal folder
    • setParentFolderId

      public void setParentFolderId(long parentFolderId)
      Sets the parent folder ID of this journal folder.
      Specified by:
      setParentFolderId in interface JournalFolderModel
      Parameters:
      parentFolderId - the parent folder ID of this journal folder
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this journal folder.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<JournalFolder>
      Specified by:
      setPrimaryKey in interface JournalFolderModel
      Parameters:
      primaryKey - the primary key of this journal folder
    • setRestrictionType

      public void setRestrictionType(int restrictionType)
      Sets the restriction type of this journal folder.
      Specified by:
      setRestrictionType in interface JournalFolderModel
      Parameters:
      restrictionType - the restriction type of this journal folder
    • setStatus

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

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

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

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

      public void setStatusDate(Date statusDate)
      Sets the status date of this journal folder.
      Specified by:
      setStatusDate in interface JournalFolderModel
      Specified by:
      setStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusDate - the status date of this journal folder
    • setTreePath

      public void setTreePath(String treePath)
      Sets the tree path of this journal folder.
      Specified by:
      setTreePath in interface JournalFolderModel
      Parameters:
      treePath - the tree path of this journal folder
    • setUserId

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

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

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

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

      public String toXmlString()
      Specified by:
      toXmlString in interface JournalFolderModel
    • updateTreePath

      public void updateTreePath(String treePath)
      Specified by:
      updateTreePath in interface com.liferay.portal.kernel.model.TreeModel
    • getAttributeGetterFunctions

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

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

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

      protected JournalFolderWrapper wrap(JournalFolder journalFolder)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<JournalFolder>