Class KBTemplateWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KBTemplate>
com.liferay.knowledge.base.model.KBTemplateWrapper
All Implemented Interfaces:
KBTemplate, KBTemplateModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<KBTemplate>, com.liferay.portal.kernel.model.change.tracking.CTModel<KBTemplate>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<KBTemplate>, 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, Serializable, Cloneable, Comparable<KBTemplate>

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

This class is a wrapper for KBTemplate.

See Also:
Generated:
  • Field Summary

    Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    model

    Fields inherited from interface com.liferay.knowledge.base.model.KBTemplate

    KB_TEMPLATE_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • 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.
    com.liferay.exportimport.kernel.lar.StagedModelType
     
    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
     
    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
     
    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.
     
    wrap(KBTemplate kbTemplate)
     

    Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

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

    clone, copyCacheFields, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, 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.ModelWrapper

    getWrappedModel

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

    clone
  • Constructor Details

    • KBTemplateWrapper

      public KBTemplateWrapper(KBTemplate kbTemplate)
  • Method Details

    • getModelAttributes

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

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

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

      public 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 KBTemplateModel
      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
    • getContent

      public String getContent()
      Returns the content of this kb template.
      Specified by:
      getContent in interface KBTemplateModel
      Returns:
      the content of this kb template
    • getCreateDate

      public 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 KBTemplateModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this kb template
    • getCtCollectionId

      public 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>
      Specified by:
      getCtCollectionId in interface KBTemplateModel
      Returns:
      the ct collection ID of this kb template
    • getGroupId

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

      public long getKbTemplateId()
      Returns the kb template ID of this kb template.
      Specified by:
      getKbTemplateId in interface KBTemplateModel
      Returns:
      the kb template ID of this kb template
    • getLastPublishDate

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

      public 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 KBTemplateModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this kb template
    • getMvccVersion

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

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

      public String getTitle()
      Returns the title of this kb template.
      Specified by:
      getTitle in interface KBTemplateModel
      Returns:
      the title of this kb template
    • getUserId

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

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

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

      public String getUuid()
      Returns the uuid of this kb template.
      Specified by:
      getUuid in interface KBTemplateModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this kb template
    • 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 kb template.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface KBTemplateModel
      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
    • setContent

      public void setContent(String content)
      Sets the content of this kb template.
      Specified by:
      setContent in interface KBTemplateModel
      Parameters:
      content - the content of this kb template
    • setCreateDate

      public 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 KBTemplateModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this kb template
    • setCtCollectionId

      public 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>
      Specified by:
      setCtCollectionId in interface KBTemplateModel
      Parameters:
      ctCollectionId - the ct collection ID of this kb template
    • setGroupId

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

      public void setKbTemplateId(long kbTemplateId)
      Sets the kb template ID of this kb template.
      Specified by:
      setKbTemplateId in interface KBTemplateModel
      Parameters:
      kbTemplateId - the kb template ID of this kb template
    • setLastPublishDate

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

      public 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 KBTemplateModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this kb template
    • setMvccVersion

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

      public 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>
      Specified by:
      setPrimaryKey in interface KBTemplateModel
      Parameters:
      primaryKey - the primary key of this kb template
    • setTitle

      public void setTitle(String title)
      Sets the title of this kb template.
      Specified by:
      setTitle in interface KBTemplateModel
      Parameters:
      title - the title of this kb template
    • setUserId

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

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

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

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

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

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

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

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

      protected KBTemplateWrapper wrap(KBTemplate kbTemplate)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KBTemplate>