Package com.liferay.knowledge.base.model
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:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.knowledge.base.model.KBArticle
KB_ARTICLE_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.liferay.portal.kernel.repository.model.FileEntry>
com.liferay.portal.kernel.repository.model.FileEntry
getAttachmentsFileEntryByExternalReferenceCode
(String externalReferenceCode) long
long
long
long
Returns the company ID of this kb article.Returns the content of this kb article.Returns the create date of this kb article.long
Returns the ct collection ID of this kb article.Returns the description of this kb article.Returns the display date of this kb article.Returns the expiration date of this kb article.Returns the external reference code of this kb article.long
Returns the group ID of this kb article.long
Returns the kb article ID of this kb article.long
Returns the kb folder ID of this kb article.Returns the last publish date of this kb article.boolean
Returns the latest of this kb article.boolean
getMain()
Returns the main of this kb article.Returns the modified date of this kb article.long
Returns the mvcc version of this kb article.long
Returns the parent resource class name ID of this kb article.long
Returns the parent resource prim key of this kb article.getParentTitle
(Locale locale, int status) long
Returns the primary key of this kb article.double
Returns the priority of this kb article.long
Returns the resource prim key of this kb article.Returns the review date of this kb article.long
Returns the root resource prim key of this kb article.Returns the sections of this kb article.Returns the source url of this kb article.com.liferay.exportimport.kernel.lar.StagedModelType
int
Returns the status of this kb article.long
Returns the status by user ID of this kb article.Returns the status by user name of this kb article.Returns the status by user uuid of this kb article.Returns the status date of this kb article.getTitle()
Returns the title of this kb article.long
Returns the class primary key of the trash entry for this kb article.Returns the url title of this kb article.long
Returns the user ID of this kb article.Returns the user name of this kb article.Returns the user uuid of this kb article.getUuid()
Returns the uuid of this kb article.int
Returns the version of this kb article.long
boolean
boolean
Returnstrue
if this kb article is approved.boolean
isDenied()
Returnstrue
if this kb article is denied.boolean
isDraft()
Returnstrue
if this kb article is a draft.boolean
Returnstrue
if this kb article is expired.boolean
boolean
Returnstrue
if this kb article is inactive.boolean
Returnstrue
if this kb article is incomplete.boolean
Returnstrue
if this kb article is in the Recycle Bin.boolean
isLatest()
Returnstrue
if this kb article is latest.boolean
isMain()
Returnstrue
if this kb article is main.boolean
Returnstrue
if this kb article is pending.boolean
boolean
isRoot()
boolean
Returnstrue
if this kb article is scheduled.void
persist()
void
setCompanyId
(long companyId) Sets the company ID of this kb article.void
setContent
(String content) Sets the content of this kb article.void
setCreateDate
(Date createDate) Sets the create date of this kb article.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this kb article.void
setDescription
(String description) Sets the description of this kb article.void
setDisplayDate
(Date displayDate) Sets the display date of this kb article.void
setExpirationDate
(Date expirationDate) Sets the expiration date of this kb article.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this kb article.void
setGroupId
(long groupId) Sets the group ID of this kb article.void
setKbArticleId
(long kbArticleId) Sets the kb article ID of this kb article.void
setKbFolderId
(long kbFolderId) Sets the kb folder ID of this kb article.void
setLastPublishDate
(Date lastPublishDate) Sets the last publish date of this kb article.void
setLatest
(boolean latest) Sets whether this kb article is latest.void
setMain
(boolean main) Sets whether this kb article is main.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this kb article.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this kb article.void
setParentResourceClassNameId
(long parentResourceClassNameId) Sets the parent resource class name ID of this kb article.void
setParentResourcePrimKey
(long parentResourcePrimKey) Sets the parent resource prim key of this kb article.void
setPrimaryKey
(long primaryKey) Sets the primary key of this kb article.void
setPriority
(double priority) Sets the priority of this kb article.void
setResourcePrimKey
(long resourcePrimKey) Sets the resource prim key of this kb article.void
setReviewDate
(Date reviewDate) Sets the review date of this kb article.void
setRootResourcePrimKey
(long rootResourcePrimKey) Sets the root resource prim key of this kb article.void
setSections
(String sections) Sets the sections of this kb article.void
setSourceURL
(String sourceURL) Sets the source url of this kb article.void
setStatus
(int status) Sets the status of this kb article.void
setStatusByUserId
(long statusByUserId) Sets the status by user ID of this kb article.void
setStatusByUserName
(String statusByUserName) Sets the status by user name of this kb article.void
setStatusByUserUuid
(String statusByUserUuid) Sets the status by user uuid of this kb article.void
setStatusDate
(Date statusDate) Sets the status date of this kb article.void
Sets the title of this kb article.void
setUrlTitle
(String urlTitle) Sets the url title of this kb article.void
setUserId
(long userId) Sets the user ID of this kb article.void
setUserName
(String userName) Sets the user name of this kb article.void
setUserUuid
(String userUuid) Sets the user uuid of this kb article.void
Sets the uuid of this kb article.void
setVersion
(int version) Sets the version of this kb article.protected KBArticleWrapper
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, 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
-
KBArticleWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<KBArticle>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<KBArticle>
-
buildTreePath
- Specified by:
buildTreePath
in interfaceKBArticle
- Throws:
com.liferay.portal.kernel.exception.PortalException
- See Also:
-
com.liferay.portal.model.impl.OrganizationBaseImpl#buildTreePath()
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<KBArticle>
- Specified by:
cloneWithOriginalValues
in interfaceKBArticleModel
-
getAncestorKBArticles
public List<KBArticle> getAncestorKBArticles() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getAncestorKBArticles
in interfaceKBArticle
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAncestorResourcePrimaryKeys
public List<Long> getAncestorResourcePrimaryKeys() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getAncestorResourcePrimaryKeys
in interfaceKBArticle
- 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 interfaceKBArticle
- 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 interfaceKBArticle
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAttachmentsFolderId
public long getAttachmentsFolderId() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getAttachmentsFolderId
in interfaceKBArticle
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getClassNameId
public long getClassNameId()- Specified by:
getClassNameId
in interfaceKBArticle
-
getClassPK
public long getClassPK()- Specified by:
getClassPK
in interfaceKBArticle
-
getCompanyId
public long getCompanyId()Returns the company ID of this kb article.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceKBArticleModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the company ID of this kb article
-
getContent
Returns the content of this kb article.- Specified by:
getContent
in interfaceKBArticleModel
- Returns:
- the content of this kb article
-
getCreateDate
Returns the create date of this kb article.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceKBArticleModel
- Specified by:
getCreateDate
in interfacecom.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 interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KBArticle>
- Specified by:
getCtCollectionId
in interfaceKBArticleModel
- Returns:
- the ct collection ID of this kb article
-
getDescription
Returns the description of this kb article.- Specified by:
getDescription
in interfaceKBArticleModel
- Returns:
- the description of this kb article
-
getDisplayDate
Returns the display date of this kb article.- Specified by:
getDisplayDate
in interfaceKBArticleModel
- Returns:
- the display date of this kb article
-
getExpirationDate
Returns the expiration date of this kb article.- Specified by:
getExpirationDate
in interfaceKBArticleModel
- Returns:
- the expiration date of this kb article
-
getExternalReferenceCode
Returns the external reference code of this kb article.- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Specified by:
getExternalReferenceCode
in interfaceKBArticleModel
- 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 interfacecom.liferay.portal.kernel.model.GroupedModel
- Specified by:
getGroupId
in interfaceKBArticleModel
- 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 interfaceKBArticleModel
- 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 interfaceKBArticleModel
- Returns:
- the kb folder ID of this kb article
-
getLastPublishDate
Returns the last publish date of this kb article.- Specified by:
getLastPublishDate
in interfaceKBArticleModel
- Specified by:
getLastPublishDate
in interfacecom.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 interfaceKBArticleModel
- Returns:
- the latest of this kb article
-
getMain
public boolean getMain()Returns the main of this kb article.- Specified by:
getMain
in interfaceKBArticleModel
- Returns:
- the main of this kb article
-
getModifiedDate
Returns the modified date of this kb article.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceKBArticleModel
- Specified by:
getModifiedDate
in interfacecom.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 interfaceKBArticleModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this kb article
-
getParentKBArticle
- Specified by:
getParentKBArticle
in interfaceKBArticle
- 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 interfaceKBArticleModel
- 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 interfaceKBArticleModel
- 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 interfaceKBArticle
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this kb article.- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KBArticle>
- Specified by:
getPrimaryKey
in interfaceKBArticleModel
- Returns:
- the primary key of this kb article
-
getPriority
public double getPriority()Returns the priority of this kb article.- Specified by:
getPriority
in interfaceKBArticleModel
- Returns:
- the priority of this kb article
-
getResourcePrimKey
public long getResourcePrimKey()Returns the resource prim key of this kb article.- Specified by:
getResourcePrimKey
in interfaceKBArticleModel
- Specified by:
getResourcePrimKey
in interfacecom.liferay.portal.kernel.model.ResourcedModel
- Returns:
- the resource prim key of this kb article
-
getReviewDate
Returns the review date of this kb article.- Specified by:
getReviewDate
in interfaceKBArticleModel
- 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 interfaceKBArticleModel
- Returns:
- the root resource prim key of this kb article
-
getSections
Returns the sections of this kb article.- Specified by:
getSections
in interfaceKBArticleModel
- Returns:
- the sections of this kb article
-
getSourceURL
Returns the source url of this kb article.- Specified by:
getSourceURL
in interfaceKBArticleModel
- Returns:
- the source url of this kb article
-
getStatus
public int getStatus()Returns the status of this kb article.- Specified by:
getStatus
in interfaceKBArticleModel
- Specified by:
getStatus
in interfacecom.liferay.portal.kernel.model.TrashedModel
- Specified by:
getStatus
in interfacecom.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 interfaceKBArticleModel
- Specified by:
getStatusByUserId
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user ID of this kb article
-
getStatusByUserName
Returns the status by user name of this kb article.- Specified by:
getStatusByUserName
in interfaceKBArticleModel
- Specified by:
getStatusByUserName
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user name of this kb article
-
getStatusByUserUuid
Returns the status by user uuid of this kb article.- Specified by:
getStatusByUserUuid
in interfaceKBArticleModel
- Specified by:
getStatusByUserUuid
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user uuid of this kb article
-
getStatusDate
Returns the status date of this kb article.- Specified by:
getStatusDate
in interfaceKBArticleModel
- Specified by:
getStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status date of this kb article
-
getTitle
Returns the title of this kb article.- Specified by:
getTitle
in interfaceKBArticleModel
- 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 interfaceKBArticleModel
- Specified by:
getTrashEntryClassPK
in interfacecom.liferay.portal.kernel.model.TrashedModel
- Returns:
- the class primary key of the trash entry for this kb article
-
getUrlTitle
Returns the url title of this kb article.- Specified by:
getUrlTitle
in interfaceKBArticleModel
- Returns:
- the url title of this kb article
-
getUserId
public long getUserId()Returns the user ID of this kb article.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceKBArticleModel
- Returns:
- the user ID of this kb article
-
getUserName
Returns the user name of this kb article.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceKBArticleModel
- Returns:
- the user name of this kb article
-
getUserUuid
Returns the user uuid of this kb article.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceKBArticleModel
- Returns:
- the user uuid of this kb article
-
getUuid
Returns the uuid of this kb article.- Specified by:
getUuid
in interfaceKBArticleModel
- Specified by:
getUuid
in interfacecom.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 interfaceKBArticleModel
- Returns:
- the version of this kb article
-
getViewCount
public long getViewCount()- Specified by:
getViewCount
in interfaceKBArticle
-
hasParentKBArticle
public boolean hasParentKBArticle()- Specified by:
hasParentKBArticle
in interfaceKBArticle
-
isApproved
public boolean isApproved()Returnstrue
if this kb article is approved.- Specified by:
isApproved
in interfaceKBArticleModel
- Specified by:
isApproved
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this kb article is approved;false
otherwise
-
isDenied
public boolean isDenied()Returnstrue
if this kb article is denied.- Specified by:
isDenied
in interfaceKBArticleModel
- Specified by:
isDenied
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this kb article is denied;false
otherwise
-
isDraft
public boolean isDraft()Returnstrue
if this kb article is a draft.- Specified by:
isDraft
in interfaceKBArticleModel
- Specified by:
isDraft
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this kb article is a draft;false
otherwise
-
isExpired
public boolean isExpired()Returnstrue
if this kb article is expired.- Specified by:
isExpired
in interfaceKBArticleModel
- Specified by:
isExpired
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this kb article is expired;false
otherwise
-
isFirstVersion
public boolean isFirstVersion()- Specified by:
isFirstVersion
in interfaceKBArticle
-
isInactive
public boolean isInactive()Returnstrue
if this kb article is inactive.- Specified by:
isInactive
in interfaceKBArticleModel
- Specified by:
isInactive
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this kb article is inactive;false
otherwise
-
isIncomplete
public boolean isIncomplete()Returnstrue
if this kb article is incomplete.- Specified by:
isIncomplete
in interfaceKBArticleModel
- Specified by:
isIncomplete
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this kb article is incomplete;false
otherwise
-
isInTrash
public boolean isInTrash()Returnstrue
if this kb article is in the Recycle Bin.- Specified by:
isInTrash
in interfaceKBArticleModel
- Specified by:
isInTrash
in interfacecom.liferay.portal.kernel.model.TrashedModel
- Returns:
true
if this kb article is in the Recycle Bin;false
otherwise
-
isLatest
public boolean isLatest()Returnstrue
if this kb article is latest.- Specified by:
isLatest
in interfaceKBArticleModel
- Returns:
true
if this kb article is latest;false
otherwise
-
isMain
public boolean isMain()Returnstrue
if this kb article is main.- Specified by:
isMain
in interfaceKBArticleModel
- Returns:
true
if this kb article is main;false
otherwise
-
isPending
public boolean isPending()Returnstrue
if this kb article is pending.- Specified by:
isPending
in interfaceKBArticleModel
- Specified by:
isPending
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this kb article is pending;false
otherwise
-
isResourceMain
public boolean isResourceMain()- Specified by:
isResourceMain
in interfaceKBArticleModel
- Specified by:
isResourceMain
in interfacecom.liferay.portal.kernel.model.ResourcedModel
-
isRoot
public boolean isRoot() -
isScheduled
public boolean isScheduled()Returnstrue
if this kb article is scheduled.- Specified by:
isScheduled
in interfaceKBArticleModel
- Specified by:
isScheduled
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this kb article is scheduled;false
otherwise
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this kb article.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceKBArticleModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
companyId
- the company ID of this kb article
-
setContent
Sets the content of this kb article.- Specified by:
setContent
in interfaceKBArticleModel
- Parameters:
content
- the content of this kb article
-
setCreateDate
Sets the create date of this kb article.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceKBArticleModel
- Specified by:
setCreateDate
in interfacecom.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 interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KBArticle>
- Specified by:
setCtCollectionId
in interfaceKBArticleModel
- Parameters:
ctCollectionId
- the ct collection ID of this kb article
-
setDescription
Sets the description of this kb article.- Specified by:
setDescription
in interfaceKBArticleModel
- Parameters:
description
- the description of this kb article
-
setDisplayDate
Sets the display date of this kb article.- Specified by:
setDisplayDate
in interfaceKBArticleModel
- Parameters:
displayDate
- the display date of this kb article
-
setExpirationDate
Sets the expiration date of this kb article.- Specified by:
setExpirationDate
in interfaceKBArticleModel
- Parameters:
expirationDate
- the expiration date of this kb article
-
setExternalReferenceCode
Sets the external reference code of this kb article.- Specified by:
setExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Specified by:
setExternalReferenceCode
in interfaceKBArticleModel
- 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 interfacecom.liferay.portal.kernel.model.GroupedModel
- Specified by:
setGroupId
in interfaceKBArticleModel
- 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 interfaceKBArticleModel
- 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 interfaceKBArticleModel
- Parameters:
kbFolderId
- the kb folder ID of this kb article
-
setLastPublishDate
Sets the last publish date of this kb article.- Specified by:
setLastPublishDate
in interfaceKBArticleModel
- Specified by:
setLastPublishDate
in interfacecom.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 interfaceKBArticleModel
- 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 interfaceKBArticleModel
- Parameters:
main
- the main of this kb article
-
setModifiedDate
Sets the modified date of this kb article.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceKBArticleModel
- Specified by:
setModifiedDate
in interfacecom.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 interfaceKBArticleModel
- Specified by:
setMvccVersion
in interfacecom.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 interfaceKBArticleModel
- 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 interfaceKBArticleModel
- 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 interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KBArticle>
- Specified by:
setPrimaryKey
in interfaceKBArticleModel
- 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 interfaceKBArticleModel
- 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 interfaceKBArticleModel
- Specified by:
setResourcePrimKey
in interfacecom.liferay.portal.kernel.model.ResourcedModel
- Parameters:
resourcePrimKey
- the resource prim key of this kb article
-
setReviewDate
Sets the review date of this kb article.- Specified by:
setReviewDate
in interfaceKBArticleModel
- 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 interfaceKBArticleModel
- Parameters:
rootResourcePrimKey
- the root resource prim key of this kb article
-
setSections
Sets the sections of this kb article.- Specified by:
setSections
in interfaceKBArticleModel
- Parameters:
sections
- the sections of this kb article
-
setSourceURL
Sets the source url of this kb article.- Specified by:
setSourceURL
in interfaceKBArticleModel
- 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 interfaceKBArticleModel
- Specified by:
setStatus
in interfacecom.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 interfaceKBArticleModel
- Specified by:
setStatusByUserId
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserId
- the status by user ID of this kb article
-
setStatusByUserName
Sets the status by user name of this kb article.- Specified by:
setStatusByUserName
in interfaceKBArticleModel
- Specified by:
setStatusByUserName
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserName
- the status by user name of this kb article
-
setStatusByUserUuid
Sets the status by user uuid of this kb article.- Specified by:
setStatusByUserUuid
in interfaceKBArticleModel
- Specified by:
setStatusByUserUuid
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserUuid
- the status by user uuid of this kb article
-
setStatusDate
Sets the status date of this kb article.- Specified by:
setStatusDate
in interfaceKBArticleModel
- Specified by:
setStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusDate
- the status date of this kb article
-
setTitle
Sets the title of this kb article.- Specified by:
setTitle
in interfaceKBArticleModel
- Parameters:
title
- the title of this kb article
-
setUrlTitle
Sets the url title of this kb article.- Specified by:
setUrlTitle
in interfaceKBArticleModel
- 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 interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceKBArticleModel
- Parameters:
userId
- the user ID of this kb article
-
setUserName
Sets the user name of this kb article.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceKBArticleModel
- Parameters:
userName
- the user name of this kb article
-
setUserUuid
Sets the user uuid of this kb article.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceKBArticleModel
- Parameters:
userUuid
- the user uuid of this kb article
-
setUuid
Sets the uuid of this kb article.- Specified by:
setUuid
in interfaceKBArticleModel
- Specified by:
setUuid
in interfacecom.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 interfaceKBArticleModel
- Parameters:
version
- the version of this kb article
-
toXmlString
- Specified by:
toXmlString
in interfaceKBArticleModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<KBArticle>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<KBArticle>
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KBArticle>
-