Interface KBTemplateModel

All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<KBTemplate>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<KBTemplate>, com.liferay.portal.kernel.model.change.tracking.CTModel<KBTemplate>, 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
All Known Subinterfaces:
KBTemplate
All Known Implementing Classes:
KBTemplateWrapper

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

This interface and its corresponding implementation com.liferay.knowledge.base.model.impl.KBTemplateModelImpl 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.knowledge.base.model.impl.KBTemplateImpl.

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Returns the company ID of this kb template.
    Returns the content of this kb template.
    Returns the create date of this kb template.
    long
    Returns the ct collection ID of this kb template.
    long
    Returns the group ID of this kb template.
    long
    Returns the kb template ID of this kb template.
    Returns the last publish date of this kb template.
    Returns the modified date of this kb template.
    long
    Returns the mvcc version of this kb template.
    long
    Returns the primary key of this kb template.
    Returns the title of this kb template.
    long
    Returns the user ID of this kb template.
    Returns the user name of this kb template.
    Returns the user uuid of this kb template.
    Returns the uuid of this kb template.
    void
    setCompanyId(long companyId)
    Sets the company ID of this kb template.
    void
    setContent(String content)
    Sets the content of this kb template.
    void
    setCreateDate(Date createDate)
    Sets the create date of this kb template.
    void
    setCtCollectionId(long ctCollectionId)
    Sets the ct collection ID of this kb template.
    void
    setGroupId(long groupId)
    Sets the group ID of this kb template.
    void
    setKbTemplateId(long kbTemplateId)
    Sets the kb template ID of this kb template.
    void
    setLastPublishDate(Date lastPublishDate)
    Sets the last publish date of this kb template.
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this kb template.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this kb template.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this kb template.
    void
    Sets the title of this kb template.
    void
    setUserId(long userId)
    Sets the user ID of this kb template.
    void
    setUserName(String userName)
    Sets the user name of this kb template.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this kb template.
    void
    Sets the uuid of this kb template.
    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.StagedModel

    clone, getStagedModelType
  • Method Details

    • getPrimaryKey

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

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

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

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

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

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

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

      void setUuid(String uuid)
      Sets the uuid of this kb template.
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this kb template
    • getKbTemplateId

      long getKbTemplateId()
      Returns the kb template ID of this kb template.
      Returns:
      the kb template ID of this kb template
    • setKbTemplateId

      void setKbTemplateId(long kbTemplateId)
      Sets the kb template ID of this kb template.
      Parameters:
      kbTemplateId - the kb template ID of this kb template
    • getGroupId

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

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

      long getCompanyId()
      Returns the company ID of this kb template.
      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 kb template
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this kb template.
      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 kb template
    • getUserId

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

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

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

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

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

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

      Date getCreateDate()
      Returns the create date of this kb template.
      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 kb template
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this kb template.
      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 kb template
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this kb template.
      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 kb template
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this kb template.
      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 kb template
    • getTitle

      @AutoEscape String getTitle()
      Returns the title of this kb template.
      Returns:
      the title of this kb template
    • setTitle

      void setTitle(String title)
      Sets the title of this kb template.
      Parameters:
      title - the title of this kb template
    • getContent

      @AutoEscape String getContent()
      Returns the content of this kb template.
      Returns:
      the content of this kb template
    • setContent

      void setContent(String content)
      Sets the content of this kb template.
      Parameters:
      content - the content of this kb template
    • getLastPublishDate

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

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

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

      default String toXmlString()