Interface MBCategoryModel

All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<MBCategory>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<MBCategory>, com.liferay.portal.kernel.model.ContainerModel, com.liferay.portal.kernel.model.change.tracking.CTModel<MBCategory>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.MVCCModel, Serializable, 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
All Known Subinterfaces:
MBCategory
All Known Implementing Classes:
MBCategoryWrapper

@ProviderType public interface MBCategoryModel extends com.liferay.portal.kernel.model.BaseModel<MBCategory>, com.liferay.portal.kernel.model.ContainerModel, com.liferay.portal.kernel.model.change.tracking.CTModel<MBCategory>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.TrashedModel, com.liferay.portal.kernel.model.WorkflowedModel
The base model interface for the MBCategory service. Represents a row in the "MBCategory" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.message.boards.model.impl.MBCategoryModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.message.boards.model.impl.MBCategoryImpl.

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Returns the category ID of this message boards category.
    long
    Returns the company ID of this message boards category.
    long
    Returns the container model ID of this message boards category.
    Returns the container name of this message boards category.
    Returns the create date of this message boards category.
    long
    Returns the ct collection ID of this message boards category.
    Returns the description of this message boards category.
    Returns the display style of this message boards category.
    Returns the external reference code of this message boards category.
    Returns the friendly url of this message boards category.
    long
    Returns the group ID of this message boards category.
    Returns the last publish date of this message boards category.
    Returns the modified date of this message boards category.
    long
    Returns the mvcc version of this message boards category.
    Returns the name of this message boards category.
    long
    Returns the parent category ID of this message boards category.
    long
    Returns the parent container model ID of this message boards category.
    long
    Returns the primary key of this message boards category.
    int
    Returns the status of this message boards category.
    long
    Returns the status by user ID of this message boards category.
    Returns the status by user name of this message boards category.
    Returns the status by user uuid of this message boards category.
    Returns the status date of this message boards category.
    long
    Returns the class primary key of the trash entry for this message boards category.
    long
    Returns the user ID of this message boards category.
    Returns the user name of this message boards category.
    Returns the user uuid of this message boards category.
    Returns the uuid of this message boards category.
    boolean
    Returns true if this message boards category is approved.
    boolean
    Returns true if this message boards category is denied.
    boolean
    Returns true if this message boards category is a draft.
    boolean
    Returns true if this message boards category is expired.
    boolean
    Returns true if this message boards category is inactive.
    boolean
    Returns true if this message boards category is incomplete.
    boolean
    Returns true if this message boards category is in the Recycle Bin.
    boolean
    Returns true if this message boards category is pending.
    boolean
    Returns true if this message boards category is scheduled.
    void
    setCategoryId(long categoryId)
    Sets the category ID of this message boards category.
    void
    setCompanyId(long companyId)
    Sets the company ID of this message boards category.
    void
    setContainerModelId(long containerModelId)
    Sets the container model ID of this message boards category.
    void
    setCreateDate(Date createDate)
    Sets the create date of this message boards category.
    void
    setCtCollectionId(long ctCollectionId)
    Sets the ct collection ID of this message boards category.
    void
    setDescription(String description)
    Sets the description of this message boards category.
    void
    setDisplayStyle(String displayStyle)
    Sets the display style of this message boards category.
    void
    setExternalReferenceCode(String externalReferenceCode)
    Sets the external reference code of this message boards category.
    void
    setFriendlyURL(String friendlyURL)
    Sets the friendly url of this message boards category.
    void
    setGroupId(long groupId)
    Sets the group ID of this message boards category.
    void
    setLastPublishDate(Date lastPublishDate)
    Sets the last publish date of this message boards category.
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this message boards category.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this message boards category.
    void
    Sets the name of this message boards category.
    void
    setParentCategoryId(long parentCategoryId)
    Sets the parent category ID of this message boards category.
    void
    setParentContainerModelId(long parentContainerModelId)
    Sets the parent container model ID of this message boards category.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this message boards category.
    void
    setStatus(int status)
    Sets the status of this message boards category.
    void
    setStatusByUserId(long statusByUserId)
    Sets the status by user ID of this message boards category.
    void
    setStatusByUserName(String statusByUserName)
    Sets the status by user name of this message boards category.
    void
    setStatusByUserUuid(String statusByUserUuid)
    Sets the status by user uuid of this message boards category.
    void
    setStatusDate(Date statusDate)
    Sets the status date of this message boards category.
    void
    setUserId(long userId)
    Sets the user ID of this message boards category.
    void
    setUserName(String userName)
    Sets the user name of this message boards category.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this message boards category.
    void
    Sets the uuid of this message boards category.
    default String
     

    Methods inherited from interface com.liferay.portal.kernel.model.BaseModel

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel

    Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel

    getModelClass, getModelClassName

    Methods inherited from interface java.lang.Comparable

    compareTo

    Methods inherited from interface com.liferay.portal.kernel.model.ContainerModel

    getModelClass, getModelClassName

    Methods inherited from interface com.liferay.portal.kernel.model.StagedModel

    clone, getStagedModelType
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this message boards category.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<MBCategory>
      Returns:
      the primary key of this message boards category
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this message boards category.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<MBCategory>
      Parameters:
      primaryKey - the primary key of this message boards category
    • getMvccVersion

      long getMvccVersion()
      Returns the mvcc version of this message boards category.
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this message boards category
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this message boards category.
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this message boards category
    • getCtCollectionId

      long getCtCollectionId()
      Returns the ct collection ID of this message boards category.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<MBCategory>
      Returns:
      the ct collection ID of this message boards category
    • setCtCollectionId

      void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this message boards category.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<MBCategory>
      Parameters:
      ctCollectionId - the ct collection ID of this message boards category
    • getUuid

      @AutoEscape String getUuid()
      Returns the uuid of this message boards category.
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this message boards category
    • setUuid

      void setUuid(String uuid)
      Sets the uuid of this message boards category.
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this message boards category
    • getExternalReferenceCode

      @AutoEscape String getExternalReferenceCode()
      Returns the external reference code of this message boards category.
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Returns:
      the external reference code of this message boards category
    • setExternalReferenceCode

      void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this message boards category.
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Parameters:
      externalReferenceCode - the external reference code of this message boards category
    • getCategoryId

      long getCategoryId()
      Returns the category ID of this message boards category.
      Returns:
      the category ID of this message boards category
    • setCategoryId

      void setCategoryId(long categoryId)
      Sets the category ID of this message boards category.
      Parameters:
      categoryId - the category ID of this message boards category
    • getGroupId

      long getGroupId()
      Returns the group ID of this message boards category.
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this message boards category
    • setGroupId

      void setGroupId(long groupId)
      Sets the group ID of this message boards category.
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this message boards category
    • getCompanyId

      long getCompanyId()
      Returns the company ID of this message boards category.
      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
      Returns:
      the company ID of this message boards category
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this message boards category.
      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
      Parameters:
      companyId - the company ID of this message boards category
    • getUserId

      long getUserId()
      Returns the user ID of this message boards category.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user ID of this message boards category
    • setUserId

      void setUserId(long userId)
      Sets the user ID of this message boards category.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userId - the user ID of this message boards category
    • getUserUuid

      String getUserUuid()
      Returns the user uuid of this message boards category.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user uuid of this message boards category
    • setUserUuid

      void setUserUuid(String userUuid)
      Sets the user uuid of this message boards category.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userUuid - the user uuid of this message boards category
    • getUserName

      @AutoEscape String getUserName()
      Returns the user name of this message boards category.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user name of this message boards category
    • setUserName

      void setUserName(String userName)
      Sets the user name of this message boards category.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userName - the user name of this message boards category
    • getCreateDate

      Date getCreateDate()
      Returns the create date of this message boards category.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this message boards category
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this message boards category.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this message boards category
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this message boards category.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this message boards category
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this message boards category.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this message boards category
    • getParentCategoryId

      long getParentCategoryId()
      Returns the parent category ID of this message boards category.
      Returns:
      the parent category ID of this message boards category
    • setParentCategoryId

      void setParentCategoryId(long parentCategoryId)
      Sets the parent category ID of this message boards category.
      Parameters:
      parentCategoryId - the parent category ID of this message boards category
    • getName

      @AutoEscape String getName()
      Returns the name of this message boards category.
      Returns:
      the name of this message boards category
    • setName

      void setName(String name)
      Sets the name of this message boards category.
      Parameters:
      name - the name of this message boards category
    • getDescription

      @AutoEscape String getDescription()
      Returns the description of this message boards category.
      Returns:
      the description of this message boards category
    • setDescription

      void setDescription(String description)
      Sets the description of this message boards category.
      Parameters:
      description - the description of this message boards category
    • getDisplayStyle

      @AutoEscape String getDisplayStyle()
      Returns the display style of this message boards category.
      Returns:
      the display style of this message boards category
    • setDisplayStyle

      void setDisplayStyle(String displayStyle)
      Sets the display style of this message boards category.
      Parameters:
      displayStyle - the display style of this message boards category
    • getFriendlyURL

      @AutoEscape String getFriendlyURL()
      Returns the friendly url of this message boards category.
      Returns:
      the friendly url of this message boards category
    • setFriendlyURL

      void setFriendlyURL(String friendlyURL)
      Sets the friendly url of this message boards category.
      Parameters:
      friendlyURL - the friendly url of this message boards category
    • getLastPublishDate

      Date getLastPublishDate()
      Returns the last publish date of this message boards category.
      Specified by:
      getLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Returns:
      the last publish date of this message boards category
    • setLastPublishDate

      void setLastPublishDate(Date lastPublishDate)
      Sets the last publish date of this message boards category.
      Specified by:
      setLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Parameters:
      lastPublishDate - the last publish date of this message boards category
    • getStatus

      int getStatus()
      Returns the status of this message boards category.
      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 message boards category
    • setStatus

      void setStatus(int status)
      Sets the status of this message boards category.
      Specified by:
      setStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      status - the status of this message boards category
    • getStatusByUserId

      long getStatusByUserId()
      Returns the status by user ID of this message boards category.
      Specified by:
      getStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user ID of this message boards category
    • setStatusByUserId

      void setStatusByUserId(long statusByUserId)
      Sets the status by user ID of this message boards category.
      Specified by:
      setStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserId - the status by user ID of this message boards category
    • getStatusByUserUuid

      String getStatusByUserUuid()
      Returns the status by user uuid of this message boards category.
      Specified by:
      getStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user uuid of this message boards category
    • setStatusByUserUuid

      void setStatusByUserUuid(String statusByUserUuid)
      Sets the status by user uuid of this message boards category.
      Specified by:
      setStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserUuid - the status by user uuid of this message boards category
    • getStatusByUserName

      @AutoEscape String getStatusByUserName()
      Returns the status by user name of this message boards category.
      Specified by:
      getStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user name of this message boards category
    • setStatusByUserName

      void setStatusByUserName(String statusByUserName)
      Sets the status by user name of this message boards category.
      Specified by:
      setStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserName - the status by user name of this message boards category
    • getStatusDate

      Date getStatusDate()
      Returns the status date of this message boards category.
      Specified by:
      getStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status date of this message boards category
    • setStatusDate

      void setStatusDate(Date statusDate)
      Sets the status date of this message boards category.
      Specified by:
      setStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusDate - the status date of this message boards category
    • getTrashEntryClassPK

      long getTrashEntryClassPK()
      Returns the class primary key of the trash entry for this message boards category.
      Specified by:
      getTrashEntryClassPK in interface com.liferay.portal.kernel.model.TrashedModel
      Returns:
      the class primary key of the trash entry for this message boards category
    • isInTrash

      boolean isInTrash()
      Returns true if this message boards category is in the Recycle Bin.
      Specified by:
      isInTrash in interface com.liferay.portal.kernel.model.TrashedModel
      Returns:
      true if this message boards category is in the Recycle Bin; false otherwise
    • isApproved

      boolean isApproved()
      Returns true if this message boards category is approved.
      Specified by:
      isApproved in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this message boards category is approved; false otherwise
    • isDenied

      boolean isDenied()
      Returns true if this message boards category is denied.
      Specified by:
      isDenied in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this message boards category is denied; false otherwise
    • isDraft

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

      boolean isExpired()
      Returns true if this message boards category is expired.
      Specified by:
      isExpired in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this message boards category is expired; false otherwise
    • isInactive

      boolean isInactive()
      Returns true if this message boards category is inactive.
      Specified by:
      isInactive in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this message boards category is inactive; false otherwise
    • isIncomplete

      boolean isIncomplete()
      Returns true if this message boards category is incomplete.
      Specified by:
      isIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this message boards category is incomplete; false otherwise
    • isPending

      boolean isPending()
      Returns true if this message boards category is pending.
      Specified by:
      isPending in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this message boards category is pending; false otherwise
    • isScheduled

      boolean isScheduled()
      Returns true if this message boards category is scheduled.
      Specified by:
      isScheduled in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this message boards category is scheduled; false otherwise
    • getContainerModelId

      long getContainerModelId()
      Returns the container model ID of this message boards category.
      Specified by:
      getContainerModelId in interface com.liferay.portal.kernel.model.ContainerModel
      Returns:
      the container model ID of this message boards category
    • setContainerModelId

      void setContainerModelId(long containerModelId)
      Sets the container model ID of this message boards category.
      Specified by:
      setContainerModelId in interface com.liferay.portal.kernel.model.ContainerModel
      Parameters:
      containerModelId - the container model ID of this message boards category
    • getContainerModelName

      String getContainerModelName()
      Returns the container name of this message boards category.
      Specified by:
      getContainerModelName in interface com.liferay.portal.kernel.model.ContainerModel
      Returns:
      the container name of this message boards category
    • getParentContainerModelId

      long getParentContainerModelId()
      Returns the parent container model ID of this message boards category.
      Specified by:
      getParentContainerModelId in interface com.liferay.portal.kernel.model.ContainerModel
      Returns:
      the parent container model ID of this message boards category
    • setParentContainerModelId

      void setParentContainerModelId(long parentContainerModelId)
      Sets the parent container model ID of this message boards category.
      Specified by:
      setParentContainerModelId in interface com.liferay.portal.kernel.model.ContainerModel
      Parameters:
      parentContainerModelId - the parent container model ID of this message boards category
    • cloneWithOriginalValues

      MBCategory cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<MBCategory>
    • toXmlString

      default String toXmlString()