Class KBArticleWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KBArticle>
com.liferay.knowledge.base.model.KBArticleWrapper
All Implemented Interfaces:
KBArticle, KBArticleModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<KBArticle>, com.liferay.portal.kernel.model.change.tracking.CTModel<KBArticle>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<KBArticle>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ResourcedModel, 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, Serializable, Cloneable, Comparable<KBArticle>

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

This class is a wrapper for KBArticle.

See Also:
Generated:
  • Constructor Details

    • KBArticleWrapper

      public KBArticleWrapper(KBArticle kbArticle)
  • Method Details

    • getModelAttributes

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

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

      public String buildTreePath() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      buildTreePath in interface KBArticle
      Throws:
      com.liferay.portal.kernel.exception.PortalException
      See Also:
      • com.liferay.portal.model.impl.OrganizationBaseImpl#buildTreePath()
    • cloneWithOriginalValues

      public KBArticle cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>
      Specified by:
      cloneWithOriginalValues in interface KBArticleModel
    • getAncestorKBArticles

      public List<KBArticle> getAncestorKBArticles() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getAncestorKBArticles in interface KBArticle
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAncestorResourcePrimaryKeys

      public List<Long> getAncestorResourcePrimaryKeys() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getAncestorResourcePrimaryKeys in interface KBArticle
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAttachmentsFileEntries

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

      public com.liferay.portal.kernel.repository.model.FileEntry getAttachmentsFileEntryByExternalReferenceCode(String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getAttachmentsFileEntryByExternalReferenceCode in interface KBArticle
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAttachmentsFolderId

      public long getAttachmentsFolderId() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getAttachmentsFolderId in interface KBArticle
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getClassNameId

      public long getClassNameId()
      Specified by:
      getClassNameId in interface KBArticle
    • getClassPK

      public long getClassPK()
      Specified by:
      getClassPK in interface KBArticle
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this kb article.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface KBArticleModel
      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 article
    • getContent

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

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

      public long getCtCollectionId()
      Returns the ct collection ID of this kb article.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KBArticle>
      Specified by:
      getCtCollectionId in interface KBArticleModel
      Returns:
      the ct collection ID of this kb article
    • getDescription

      public String getDescription()
      Returns the description of this kb article.
      Specified by:
      getDescription in interface KBArticleModel
      Returns:
      the description of this kb article
    • getDisplayDate

      public Date getDisplayDate()
      Returns the display date of this kb article.
      Specified by:
      getDisplayDate in interface KBArticleModel
      Returns:
      the display date of this kb article
    • getExpirationDate

      public Date getExpirationDate()
      Returns the expiration date of this kb article.
      Specified by:
      getExpirationDate in interface KBArticleModel
      Returns:
      the expiration date of this kb article
    • getExternalReferenceCode

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

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

      public long getKbArticleId()
      Returns the kb article ID of this kb article.
      Specified by:
      getKbArticleId in interface KBArticleModel
      Returns:
      the kb article ID of this kb article
    • getKbFolderId

      public long getKbFolderId()
      Returns the kb folder ID of this kb article.
      Specified by:
      getKbFolderId in interface KBArticleModel
      Returns:
      the kb folder ID of this kb article
    • getLastPublishDate

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

      public boolean getLatest()
      Returns the latest of this kb article.
      Specified by:
      getLatest in interface KBArticleModel
      Returns:
      the latest of this kb article
    • getMain

      public boolean getMain()
      Returns the main of this kb article.
      Specified by:
      getMain in interface KBArticleModel
      Returns:
      the main of this kb article
    • getModifiedDate

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

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

      public KBArticle getParentKBArticle() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getParentKBArticle in interface KBArticle
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getParentResourceClassNameId

      public long getParentResourceClassNameId()
      Returns the parent resource class name ID of this kb article.
      Specified by:
      getParentResourceClassNameId in interface KBArticleModel
      Returns:
      the parent resource class name ID of this kb article
    • getParentResourcePrimKey

      public long getParentResourcePrimKey()
      Returns the parent resource prim key of this kb article.
      Specified by:
      getParentResourcePrimKey in interface KBArticleModel
      Returns:
      the parent resource prim key of this kb article
    • getParentTitle

      public String getParentTitle(Locale locale, int status) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getParentTitle in interface KBArticle
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this kb article.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KBArticle>
      Specified by:
      getPrimaryKey in interface KBArticleModel
      Returns:
      the primary key of this kb article
    • getPriority

      public double getPriority()
      Returns the priority of this kb article.
      Specified by:
      getPriority in interface KBArticleModel
      Returns:
      the priority of this kb article
    • getResourcePrimKey

      public long getResourcePrimKey()
      Returns the resource prim key of this kb article.
      Specified by:
      getResourcePrimKey in interface KBArticleModel
      Specified by:
      getResourcePrimKey in interface com.liferay.portal.kernel.model.ResourcedModel
      Returns:
      the resource prim key of this kb article
    • getReviewDate

      public Date getReviewDate()
      Returns the review date of this kb article.
      Specified by:
      getReviewDate in interface KBArticleModel
      Returns:
      the review date of this kb article
    • getRootResourcePrimKey

      public long getRootResourcePrimKey()
      Returns the root resource prim key of this kb article.
      Specified by:
      getRootResourcePrimKey in interface KBArticleModel
      Returns:
      the root resource prim key of this kb article
    • getSections

      public String getSections()
      Returns the sections of this kb article.
      Specified by:
      getSections in interface KBArticleModel
      Returns:
      the sections of this kb article
    • getSourceURL

      public String getSourceURL()
      Returns the source url of this kb article.
      Specified by:
      getSourceURL in interface KBArticleModel
      Returns:
      the source url of this kb article
    • getStatus

      public int getStatus()
      Returns the status of this kb article.
      Specified by:
      getStatus in interface KBArticleModel
      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 kb article
    • getStatusByUserId

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

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

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

      public Date getStatusDate()
      Returns the status date of this kb article.
      Specified by:
      getStatusDate in interface KBArticleModel
      Specified by:
      getStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status date of this kb article
    • getTitle

      public String getTitle()
      Returns the title of this kb article.
      Specified by:
      getTitle in interface KBArticleModel
      Returns:
      the title of this kb article
    • getTrashEntryClassPK

      public long getTrashEntryClassPK()
      Returns the class primary key of the trash entry for this kb article.
      Specified by:
      getTrashEntryClassPK in interface KBArticleModel
      Specified by:
      getTrashEntryClassPK in interface com.liferay.portal.kernel.model.TrashedModel
      Returns:
      the class primary key of the trash entry for this kb article
    • getUrlTitle

      public String getUrlTitle()
      Returns the url title of this kb article.
      Specified by:
      getUrlTitle in interface KBArticleModel
      Returns:
      the url title of this kb article
    • getUserId

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

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

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

      public String getUuid()
      Returns the uuid of this kb article.
      Specified by:
      getUuid in interface KBArticleModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this kb article
    • getVersion

      public int getVersion()
      Returns the version of this kb article.
      Specified by:
      getVersion in interface KBArticleModel
      Returns:
      the version of this kb article
    • getViewCount

      public long getViewCount()
      Specified by:
      getViewCount in interface KBArticle
    • hasParentKBArticle

      public boolean hasParentKBArticle()
      Specified by:
      hasParentKBArticle in interface KBArticle
    • isApproved

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

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

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

      public boolean isExpired()
      Returns true if this kb article is expired.
      Specified by:
      isExpired in interface KBArticleModel
      Specified by:
      isExpired in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this kb article is expired; false otherwise
    • isFirstVersion

      public boolean isFirstVersion()
      Specified by:
      isFirstVersion in interface KBArticle
    • isInactive

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

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

      public boolean isInTrash()
      Returns true if this kb article is in the Recycle Bin.
      Specified by:
      isInTrash in interface KBArticleModel
      Specified by:
      isInTrash in interface com.liferay.portal.kernel.model.TrashedModel
      Returns:
      true if this kb article is in the Recycle Bin; false otherwise
    • isLatest

      public boolean isLatest()
      Returns true if this kb article is latest.
      Specified by:
      isLatest in interface KBArticleModel
      Returns:
      true if this kb article is latest; false otherwise
    • isMain

      public boolean isMain()
      Returns true if this kb article is main.
      Specified by:
      isMain in interface KBArticleModel
      Returns:
      true if this kb article is main; false otherwise
    • isPending

      public boolean isPending()
      Returns true if this kb article is pending.
      Specified by:
      isPending in interface KBArticleModel
      Specified by:
      isPending in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this kb article is pending; false otherwise
    • isResourceMain

      public boolean isResourceMain()
      Specified by:
      isResourceMain in interface KBArticleModel
      Specified by:
      isResourceMain in interface com.liferay.portal.kernel.model.ResourcedModel
    • isRoot

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

      public boolean isScheduled()
      Returns true if this kb article is scheduled.
      Specified by:
      isScheduled in interface KBArticleModel
      Specified by:
      isScheduled in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this kb article 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 kb article.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface KBArticleModel
      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 article
    • setContent

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

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

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

      public void setDescription(String description)
      Sets the description of this kb article.
      Specified by:
      setDescription in interface KBArticleModel
      Parameters:
      description - the description of this kb article
    • setDisplayDate

      public void setDisplayDate(Date displayDate)
      Sets the display date of this kb article.
      Specified by:
      setDisplayDate in interface KBArticleModel
      Parameters:
      displayDate - the display date of this kb article
    • setExpirationDate

      public void setExpirationDate(Date expirationDate)
      Sets the expiration date of this kb article.
      Specified by:
      setExpirationDate in interface KBArticleModel
      Parameters:
      expirationDate - the expiration date of this kb article
    • setExternalReferenceCode

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

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

      public void setKbArticleId(long kbArticleId)
      Sets the kb article ID of this kb article.
      Specified by:
      setKbArticleId in interface KBArticleModel
      Parameters:
      kbArticleId - the kb article ID of this kb article
    • setKbFolderId

      public void setKbFolderId(long kbFolderId)
      Sets the kb folder ID of this kb article.
      Specified by:
      setKbFolderId in interface KBArticleModel
      Parameters:
      kbFolderId - the kb folder ID of this kb article
    • setLastPublishDate

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

      public void setLatest(boolean latest)
      Sets whether this kb article is latest.
      Specified by:
      setLatest in interface KBArticleModel
      Parameters:
      latest - the latest of this kb article
    • setMain

      public void setMain(boolean main)
      Sets whether this kb article is main.
      Specified by:
      setMain in interface KBArticleModel
      Parameters:
      main - the main of this kb article
    • setModifiedDate

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

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

      public void setParentResourceClassNameId(long parentResourceClassNameId)
      Sets the parent resource class name ID of this kb article.
      Specified by:
      setParentResourceClassNameId in interface KBArticleModel
      Parameters:
      parentResourceClassNameId - the parent resource class name ID of this kb article
    • setParentResourcePrimKey

      public void setParentResourcePrimKey(long parentResourcePrimKey)
      Sets the parent resource prim key of this kb article.
      Specified by:
      setParentResourcePrimKey in interface KBArticleModel
      Parameters:
      parentResourcePrimKey - the parent resource prim key of this kb article
    • setPrimaryKey

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

      public void setPriority(double priority)
      Sets the priority of this kb article.
      Specified by:
      setPriority in interface KBArticleModel
      Parameters:
      priority - the priority of this kb article
    • setResourcePrimKey

      public void setResourcePrimKey(long resourcePrimKey)
      Sets the resource prim key of this kb article.
      Specified by:
      setResourcePrimKey in interface KBArticleModel
      Specified by:
      setResourcePrimKey in interface com.liferay.portal.kernel.model.ResourcedModel
      Parameters:
      resourcePrimKey - the resource prim key of this kb article
    • setReviewDate

      public void setReviewDate(Date reviewDate)
      Sets the review date of this kb article.
      Specified by:
      setReviewDate in interface KBArticleModel
      Parameters:
      reviewDate - the review date of this kb article
    • setRootResourcePrimKey

      public void setRootResourcePrimKey(long rootResourcePrimKey)
      Sets the root resource prim key of this kb article.
      Specified by:
      setRootResourcePrimKey in interface KBArticleModel
      Parameters:
      rootResourcePrimKey - the root resource prim key of this kb article
    • setSections

      public void setSections(String sections)
      Sets the sections of this kb article.
      Specified by:
      setSections in interface KBArticleModel
      Parameters:
      sections - the sections of this kb article
    • setSourceURL

      public void setSourceURL(String sourceURL)
      Sets the source url of this kb article.
      Specified by:
      setSourceURL in interface KBArticleModel
      Parameters:
      sourceURL - the source url of this kb article
    • setStatus

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

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

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

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

      public void setStatusDate(Date statusDate)
      Sets the status date of this kb article.
      Specified by:
      setStatusDate in interface KBArticleModel
      Specified by:
      setStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusDate - the status date of this kb article
    • setTitle

      public void setTitle(String title)
      Sets the title of this kb article.
      Specified by:
      setTitle in interface KBArticleModel
      Parameters:
      title - the title of this kb article
    • setUrlTitle

      public void setUrlTitle(String urlTitle)
      Sets the url title of this kb article.
      Specified by:
      setUrlTitle in interface KBArticleModel
      Parameters:
      urlTitle - the url title of this kb article
    • setUserId

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

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

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

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

      public void setVersion(int version)
      Sets the version of this kb article.
      Specified by:
      setVersion in interface KBArticleModel
      Parameters:
      version - the version of this kb article
    • toXmlString

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

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

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

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

      protected KBArticleWrapper wrap(KBArticle kbArticle)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KBArticle>