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
modelFields 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.FileEntrygetAttachmentsFileEntryByExternalReferenceCode(String externalReferenceCode) longlonglonglongReturns the company ID of this kb article.Returns the content of this kb article.Returns the create date of this kb article.longReturns 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.longReturns the group ID of this kb article.longReturns the kb article ID of this kb article.longReturns the kb folder ID of this kb article.Returns the last publish date of this kb article.booleanReturns the latest of this kb article.booleangetMain()Returns the main of this kb article.Returns the modified date of this kb article.longReturns the mvcc version of this kb article.longReturns the parent resource class name ID of this kb article.longReturns the parent resource prim key of this kb article.getParentTitle(Locale locale, int status) longReturns the primary key of this kb article.doubleReturns the priority of this kb article.longReturns the resource prim key of this kb article.Returns the review date of this kb article.longReturns 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.StagedModelTypeintReturns the status of this kb article.longReturns 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.longReturns the class primary key of the trash entry for this kb article.Returns the url title of this kb article.longReturns 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.intReturns the version of this kb article.longbooleanbooleanReturnstrueif this kb article is approved.booleanisDenied()Returnstrueif this kb article is denied.booleanisDraft()Returnstrueif this kb article is a draft.booleanReturnstrueif this kb article is expired.booleanbooleanReturnstrueif this kb article is inactive.booleanReturnstrueif this kb article is incomplete.booleanReturnstrueif this kb article is in the Recycle Bin.booleanisLatest()Returnstrueif this kb article is latest.booleanisMain()Returnstrueif this kb article is main.booleanReturnstrueif this kb article is pending.booleanbooleanisRoot()booleanReturnstrueif this kb article is scheduled.voidpersist()voidsetCompanyId(long companyId) Sets the company ID of this kb article.voidsetContent(String content) Sets the content of this kb article.voidsetCreateDate(Date createDate) Sets the create date of this kb article.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this kb article.voidsetDescription(String description) Sets the description of this kb article.voidsetDisplayDate(Date displayDate) Sets the display date of this kb article.voidsetExpirationDate(Date expirationDate) Sets the expiration date of this kb article.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this kb article.voidsetGroupId(long groupId) Sets the group ID of this kb article.voidsetKbArticleId(long kbArticleId) Sets the kb article ID of this kb article.voidsetKbFolderId(long kbFolderId) Sets the kb folder ID of this kb article.voidsetLastPublishDate(Date lastPublishDate) Sets the last publish date of this kb article.voidsetLatest(boolean latest) Sets whether this kb article is latest.voidsetMain(boolean main) Sets whether this kb article is main.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this kb article.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this kb article.voidsetParentResourceClassNameId(long parentResourceClassNameId) Sets the parent resource class name ID of this kb article.voidsetParentResourcePrimKey(long parentResourcePrimKey) Sets the parent resource prim key of this kb article.voidsetPrimaryKey(long primaryKey) Sets the primary key of this kb article.voidsetPriority(double priority) Sets the priority of this kb article.voidsetResourcePrimKey(long resourcePrimKey) Sets the resource prim key of this kb article.voidsetReviewDate(Date reviewDate) Sets the review date of this kb article.voidsetRootResourcePrimKey(long rootResourcePrimKey) Sets the root resource prim key of this kb article.voidsetSections(String sections) Sets the sections of this kb article.voidsetSourceURL(String sourceURL) Sets the source url of this kb article.voidsetStatus(int status) Sets the status of this kb article.voidsetStatusByUserId(long statusByUserId) Sets the status by user ID of this kb article.voidsetStatusByUserName(String statusByUserName) Sets the status by user name of this kb article.voidsetStatusByUserUuid(String statusByUserUuid) Sets the status by user uuid of this kb article.voidsetStatusDate(Date statusDate) Sets the status date of this kb article.voidSets the title of this kb article.voidsetUrlTitle(String urlTitle) Sets the url title of this kb article.voidsetUserId(long userId) Sets the user ID of this kb article.voidsetUserName(String userName) Sets the user name of this kb article.voidsetUserUuid(String userUuid) Sets the user uuid of this kb article.voidSets the uuid of this kb article.voidsetVersion(int version) Sets the version of this kb article.protected KBArticleWrapperMethods 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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
KBArticleWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<KBArticle>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<KBArticle>
-
buildTreePath
- Specified by:
buildTreePathin interfaceKBArticle- Throws:
com.liferay.portal.kernel.exception.PortalException- See Also:
-
com.liferay.portal.model.impl.OrganizationBaseImpl#buildTreePath()
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<KBArticle>- Specified by:
cloneWithOriginalValuesin interfaceKBArticleModel
-
getAncestorKBArticles
public List<KBArticle> getAncestorKBArticles() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getAncestorKBArticlesin interfaceKBArticle- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAncestorResourcePrimaryKeys
public List<Long> getAncestorResourcePrimaryKeys() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getAncestorResourcePrimaryKeysin 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:
getAttachmentsFileEntriesin 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:
getAttachmentsFileEntryByExternalReferenceCodein interfaceKBArticle- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAttachmentsFolderId
public long getAttachmentsFolderId() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getAttachmentsFolderIdin interfaceKBArticle- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getClassNameId
public long getClassNameId()- Specified by:
getClassNameIdin interfaceKBArticle
-
getClassPK
public long getClassPK()- Specified by:
getClassPKin interfaceKBArticle
-
getCompanyId
public long getCompanyId()Returns the company ID of this kb article.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfaceKBArticleModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the company ID of this kb article
-
getContent
Returns the content of this kb article.- Specified by:
getContentin interfaceKBArticleModel- Returns:
- the content of this kb article
-
getCreateDate
Returns the create date of this kb article.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfaceKBArticleModel- Specified by:
getCreateDatein 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:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KBArticle>- Specified by:
getCtCollectionIdin interfaceKBArticleModel- Returns:
- the ct collection ID of this kb article
-
getDescription
Returns the description of this kb article.- Specified by:
getDescriptionin interfaceKBArticleModel- Returns:
- the description of this kb article
-
getDisplayDate
Returns the display date of this kb article.- Specified by:
getDisplayDatein interfaceKBArticleModel- Returns:
- the display date of this kb article
-
getExpirationDate
Returns the expiration date of this kb article.- Specified by:
getExpirationDatein interfaceKBArticleModel- Returns:
- the expiration date of this kb article
-
getExternalReferenceCode
Returns the external reference code of this kb article.- Specified by:
getExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Specified by:
getExternalReferenceCodein interfaceKBArticleModel- Returns:
- the external reference code of this kb article
-
getGroupId
public long getGroupId()Returns the group ID of this kb article.- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Specified by:
getGroupIdin interfaceKBArticleModel- Returns:
- the group ID of this kb article
-
getKbArticleId
public long getKbArticleId()Returns the kb article ID of this kb article.- Specified by:
getKbArticleIdin 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:
getKbFolderIdin interfaceKBArticleModel- Returns:
- the kb folder ID of this kb article
-
getLastPublishDate
Returns the last publish date of this kb article.- Specified by:
getLastPublishDatein interfaceKBArticleModel- Specified by:
getLastPublishDatein 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:
getLatestin interfaceKBArticleModel- Returns:
- the latest of this kb article
-
getMain
public boolean getMain()Returns the main of this kb article.- Specified by:
getMainin interfaceKBArticleModel- Returns:
- the main of this kb article
-
getModifiedDate
Returns the modified date of this kb article.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfaceKBArticleModel- Specified by:
getModifiedDatein 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:
getMvccVersionin interfaceKBArticleModel- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this kb article
-
getParentKBArticle
- Specified by:
getParentKBArticlein 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:
getParentResourceClassNameIdin 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:
getParentResourcePrimKeyin 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:
getParentTitlein interfaceKBArticle- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this kb article.- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KBArticle>- Specified by:
getPrimaryKeyin interfaceKBArticleModel- Returns:
- the primary key of this kb article
-
getPriority
public double getPriority()Returns the priority of this kb article.- Specified by:
getPriorityin interfaceKBArticleModel- Returns:
- the priority of this kb article
-
getResourcePrimKey
public long getResourcePrimKey()Returns the resource prim key of this kb article.- Specified by:
getResourcePrimKeyin interfaceKBArticleModel- Specified by:
getResourcePrimKeyin 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:
getReviewDatein 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:
getRootResourcePrimKeyin interfaceKBArticleModel- Returns:
- the root resource prim key of this kb article
-
getSections
Returns the sections of this kb article.- Specified by:
getSectionsin interfaceKBArticleModel- Returns:
- the sections of this kb article
-
getSourceURL
Returns the source url of this kb article.- Specified by:
getSourceURLin interfaceKBArticleModel- Returns:
- the source url of this kb article
-
getStatus
public int getStatus()Returns the status of this kb article.- Specified by:
getStatusin interfaceKBArticleModel- Specified by:
getStatusin interfacecom.liferay.portal.kernel.model.TrashedModel- Specified by:
getStatusin 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:
getStatusByUserIdin interfaceKBArticleModel- Specified by:
getStatusByUserIdin 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:
getStatusByUserNamein interfaceKBArticleModel- Specified by:
getStatusByUserNamein 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:
getStatusByUserUuidin interfaceKBArticleModel- Specified by:
getStatusByUserUuidin 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:
getStatusDatein interfaceKBArticleModel- Specified by:
getStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status date of this kb article
-
getTitle
Returns the title of this kb article.- Specified by:
getTitlein 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:
getTrashEntryClassPKin interfaceKBArticleModel- Specified by:
getTrashEntryClassPKin 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:
getUrlTitlein interfaceKBArticleModel- Returns:
- the url title of this kb article
-
getUserId
public long getUserId()Returns the user ID of this kb article.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserIdin interfaceKBArticleModel- Returns:
- the user ID of this kb article
-
getUserName
Returns the user name of this kb article.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserNamein interfaceKBArticleModel- Returns:
- the user name of this kb article
-
getUserUuid
Returns the user uuid of this kb article.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserUuidin interfaceKBArticleModel- Returns:
- the user uuid of this kb article
-
getUuid
Returns the uuid of this kb article.- Specified by:
getUuidin interfaceKBArticleModel- Specified by:
getUuidin 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:
getVersionin interfaceKBArticleModel- Returns:
- the version of this kb article
-
getViewCount
public long getViewCount()- Specified by:
getViewCountin interfaceKBArticle
-
hasParentKBArticle
public boolean hasParentKBArticle()- Specified by:
hasParentKBArticlein interfaceKBArticle
-
isApproved
public boolean isApproved()Returnstrueif this kb article is approved.- Specified by:
isApprovedin interfaceKBArticleModel- Specified by:
isApprovedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this kb article is approved;falseotherwise
-
isDenied
public boolean isDenied()Returnstrueif this kb article is denied.- Specified by:
isDeniedin interfaceKBArticleModel- Specified by:
isDeniedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this kb article is denied;falseotherwise
-
isDraft
public boolean isDraft()Returnstrueif this kb article is a draft.- Specified by:
isDraftin interfaceKBArticleModel- Specified by:
isDraftin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this kb article is a draft;falseotherwise
-
isExpired
public boolean isExpired()Returnstrueif this kb article is expired.- Specified by:
isExpiredin interfaceKBArticleModel- Specified by:
isExpiredin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this kb article is expired;falseotherwise
-
isFirstVersion
public boolean isFirstVersion()- Specified by:
isFirstVersionin interfaceKBArticle
-
isInactive
public boolean isInactive()Returnstrueif this kb article is inactive.- Specified by:
isInactivein interfaceKBArticleModel- Specified by:
isInactivein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this kb article is inactive;falseotherwise
-
isIncomplete
public boolean isIncomplete()Returnstrueif this kb article is incomplete.- Specified by:
isIncompletein interfaceKBArticleModel- Specified by:
isIncompletein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this kb article is incomplete;falseotherwise
-
isInTrash
public boolean isInTrash()Returnstrueif this kb article is in the Recycle Bin.- Specified by:
isInTrashin interfaceKBArticleModel- Specified by:
isInTrashin interfacecom.liferay.portal.kernel.model.TrashedModel- Returns:
trueif this kb article is in the Recycle Bin;falseotherwise
-
isLatest
public boolean isLatest()Returnstrueif this kb article is latest.- Specified by:
isLatestin interfaceKBArticleModel- Returns:
trueif this kb article is latest;falseotherwise
-
isMain
public boolean isMain()Returnstrueif this kb article is main.- Specified by:
isMainin interfaceKBArticleModel- Returns:
trueif this kb article is main;falseotherwise
-
isPending
public boolean isPending()Returnstrueif this kb article is pending.- Specified by:
isPendingin interfaceKBArticleModel- Specified by:
isPendingin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this kb article is pending;falseotherwise
-
isResourceMain
public boolean isResourceMain()- Specified by:
isResourceMainin interfaceKBArticleModel- Specified by:
isResourceMainin interfacecom.liferay.portal.kernel.model.ResourcedModel
-
isRoot
public boolean isRoot() -
isScheduled
public boolean isScheduled()Returnstrueif this kb article is scheduled.- Specified by:
isScheduledin interfaceKBArticleModel- Specified by:
isScheduledin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this kb article is scheduled;falseotherwise
-
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this kb article.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfaceKBArticleModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin 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:
setContentin interfaceKBArticleModel- Parameters:
content- the content of this kb article
-
setCreateDate
Sets the create date of this kb article.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfaceKBArticleModel- Specified by:
setCreateDatein 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:
setCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KBArticle>- Specified by:
setCtCollectionIdin interfaceKBArticleModel- Parameters:
ctCollectionId- the ct collection ID of this kb article
-
setDescription
Sets the description of this kb article.- Specified by:
setDescriptionin interfaceKBArticleModel- Parameters:
description- the description of this kb article
-
setDisplayDate
Sets the display date of this kb article.- Specified by:
setDisplayDatein interfaceKBArticleModel- Parameters:
displayDate- the display date of this kb article
-
setExpirationDate
Sets the expiration date of this kb article.- Specified by:
setExpirationDatein interfaceKBArticleModel- Parameters:
expirationDate- the expiration date of this kb article
-
setExternalReferenceCode
Sets the external reference code of this kb article.- Specified by:
setExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Specified by:
setExternalReferenceCodein 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:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Specified by:
setGroupIdin 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:
setKbArticleIdin 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:
setKbFolderIdin interfaceKBArticleModel- Parameters:
kbFolderId- the kb folder ID of this kb article
-
setLastPublishDate
Sets the last publish date of this kb article.- Specified by:
setLastPublishDatein interfaceKBArticleModel- Specified by:
setLastPublishDatein 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:
setLatestin interfaceKBArticleModel- Parameters:
latest- the latest of this kb article
-
setMain
public void setMain(boolean main) Sets whether this kb article is main.- Specified by:
setMainin interfaceKBArticleModel- Parameters:
main- the main of this kb article
-
setModifiedDate
Sets the modified date of this kb article.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfaceKBArticleModel- Specified by:
setModifiedDatein 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:
setMvccVersionin interfaceKBArticleModel- Specified by:
setMvccVersionin 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:
setParentResourceClassNameIdin 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:
setParentResourcePrimKeyin 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:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KBArticle>- Specified by:
setPrimaryKeyin 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:
setPriorityin 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:
setResourcePrimKeyin interfaceKBArticleModel- Specified by:
setResourcePrimKeyin 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:
setReviewDatein 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:
setRootResourcePrimKeyin interfaceKBArticleModel- Parameters:
rootResourcePrimKey- the root resource prim key of this kb article
-
setSections
Sets the sections of this kb article.- Specified by:
setSectionsin interfaceKBArticleModel- Parameters:
sections- the sections of this kb article
-
setSourceURL
Sets the source url of this kb article.- Specified by:
setSourceURLin 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:
setStatusin interfaceKBArticleModel- Specified by:
setStatusin 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:
setStatusByUserIdin interfaceKBArticleModel- Specified by:
setStatusByUserIdin 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:
setStatusByUserNamein interfaceKBArticleModel- Specified by:
setStatusByUserNamein 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:
setStatusByUserUuidin interfaceKBArticleModel- Specified by:
setStatusByUserUuidin 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:
setStatusDatein interfaceKBArticleModel- Specified by:
setStatusDatein 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:
setTitlein interfaceKBArticleModel- Parameters:
title- the title of this kb article
-
setUrlTitle
Sets the url title of this kb article.- Specified by:
setUrlTitlein 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:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserIdin interfaceKBArticleModel- Parameters:
userId- the user ID of this kb article
-
setUserName
Sets the user name of this kb article.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserNamein interfaceKBArticleModel- Parameters:
userName- the user name of this kb article
-
setUserUuid
Sets the user uuid of this kb article.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserUuidin interfaceKBArticleModel- Parameters:
userUuid- the user uuid of this kb article
-
setUuid
Sets the uuid of this kb article.- Specified by:
setUuidin interfaceKBArticleModel- Specified by:
setUuidin 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:
setVersionin interfaceKBArticleModel- Parameters:
version- the version of this kb article
-
toXmlString
- Specified by:
toXmlStringin interfaceKBArticleModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfacecom.liferay.portal.kernel.model.BaseModel<KBArticle>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfacecom.liferay.portal.kernel.model.BaseModel<KBArticle>
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelTypein interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KBArticle>
-