@ProviderType public interface KBArticleModel extends com.liferay.portal.kernel.model.BaseModel<KBArticle>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ResourcedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.WorkflowedModel
This interface and its corresponding implementation com.liferay.knowledge.base.model.impl.KBArticleModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.knowledge.base.model.impl.KBArticleImpl.
KBArticle| Modifier and Type | Method and Description |
|---|---|
KBArticle |
cloneWithOriginalValues() |
long |
getCompanyId()
Returns the company ID of this kb article.
|
java.lang.String |
getContent()
Returns the content of this kb article.
|
java.util.Date |
getCreateDate()
Returns the create date of this kb article.
|
java.lang.String |
getDescription()
Returns the description of this kb article.
|
java.util.Date |
getExpirationDate()
Returns the expiration date of this kb article.
|
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this kb article.
|
long |
getGroupId()
Returns the group ID of this kb article.
|
long |
getKbArticleId()
Returns the kb article ID of this kb article.
|
long |
getKbFolderId()
Returns the kb folder ID of this kb article.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this kb article.
|
boolean |
getLatest()
Returns the latest of this kb article.
|
boolean |
getMain()
Returns the main of this kb article.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this kb article.
|
long |
getMvccVersion()
Returns the mvcc version of this kb article.
|
long |
getParentResourceClassNameId()
Returns the parent resource class name ID of this kb article.
|
long |
getParentResourcePrimKey()
Returns the parent resource prim key of this kb article.
|
long |
getPrimaryKey()
Returns the primary key of this kb article.
|
double |
getPriority()
Returns the priority of this kb article.
|
long |
getResourcePrimKey()
Returns the resource prim key of this kb article.
|
java.util.Date |
getReviewDate()
Returns the review date of this kb article.
|
long |
getRootResourcePrimKey()
Returns the root resource prim key of this kb article.
|
java.lang.String |
getSections()
Returns the sections of this kb article.
|
java.lang.String |
getSourceURL()
Returns the source url of this kb article.
|
int |
getStatus()
Returns the status of this kb article.
|
long |
getStatusByUserId()
Returns the status by user ID of this kb article.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this kb article.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this kb article.
|
java.util.Date |
getStatusDate()
Returns the status date of this kb article.
|
java.lang.String |
getTitle()
Returns the title of this kb article.
|
java.lang.String |
getUrlTitle()
Returns the url title of this kb article.
|
long |
getUserId()
Returns the user ID of this kb article.
|
java.lang.String |
getUserName()
Returns the user name of this kb article.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this kb article.
|
java.lang.String |
getUuid()
Returns the uuid of this kb article.
|
int |
getVersion()
Returns the version of this kb article.
|
boolean |
isApproved()
Returns
true if this kb article is approved. |
boolean |
isDenied()
Returns
true if this kb article is denied. |
boolean |
isDraft()
Returns
true if this kb article is a draft. |
boolean |
isExpired()
Returns
true if this kb article is expired. |
boolean |
isInactive()
Returns
true if this kb article is inactive. |
boolean |
isIncomplete()
Returns
true if this kb article is incomplete. |
boolean |
isLatest()
Returns
true if this kb article is latest. |
boolean |
isMain()
Returns
true if this kb article is main. |
boolean |
isPending()
Returns
true if this kb article is pending. |
boolean |
isResourceMain() |
boolean |
isScheduled()
Returns
true if this kb article is scheduled. |
void |
setCompanyId(long companyId)
Sets the company ID of this kb article.
|
void |
setContent(java.lang.String content)
Sets the content of this kb article.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this kb article.
|
void |
setDescription(java.lang.String description)
Sets the description of this kb article.
|
void |
setExpirationDate(java.util.Date expirationDate)
Sets the expiration date of this kb article.
|
void |
setExternalReferenceCode(java.lang.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(java.util.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 |
setModifiedDate(java.util.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(java.util.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(java.lang.String sections)
Sets the sections of this kb article.
|
void |
setSourceURL(java.lang.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(java.lang.String statusByUserName)
Sets the status by user name of this kb article.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this kb article.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this kb article.
|
void |
setTitle(java.lang.String title)
Sets the title of this kb article.
|
void |
setUrlTitle(java.lang.String urlTitle)
Sets the url title of this kb article.
|
void |
setUserId(long userId)
Sets the user ID of this kb article.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this kb article.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this kb article.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this kb article.
|
void |
setVersion(int version)
Sets the version of this kb article.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringlong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this kb articlelong getMvccVersion()
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this kb article@AutoEscape java.lang.String getUuid()
getUuid in interface com.liferay.portal.kernel.model.StagedModelvoid setUuid(java.lang.String uuid)
setUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this kb articlelong getKbArticleId()
void setKbArticleId(long kbArticleId)
kbArticleId - the kb article ID of this kb articlelong getResourcePrimKey()
getResourcePrimKey in interface com.liferay.portal.kernel.model.ResourcedModelvoid setResourcePrimKey(long resourcePrimKey)
setResourcePrimKey in interface com.liferay.portal.kernel.model.ResourcedModelresourcePrimKey - the resource prim key of this kb articleboolean isResourceMain()
isResourceMain in interface com.liferay.portal.kernel.model.ResourcedModellong getGroupId()
getGroupId in interface com.liferay.portal.kernel.model.GroupedModelvoid setGroupId(long groupId)
setGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this kb articlelong getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelvoid setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this kb articlelong getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this kb articlejava.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this kb article@AutoEscape java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this kb articlejava.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this kb articlejava.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this kb article@AutoEscape java.lang.String getExternalReferenceCode()
void setExternalReferenceCode(java.lang.String externalReferenceCode)
externalReferenceCode - the external reference code of this kb articlelong getRootResourcePrimKey()
void setRootResourcePrimKey(long rootResourcePrimKey)
rootResourcePrimKey - the root resource prim key of this kb articlelong getParentResourceClassNameId()
void setParentResourceClassNameId(long parentResourceClassNameId)
parentResourceClassNameId - the parent resource class name ID of this kb articlelong getParentResourcePrimKey()
void setParentResourcePrimKey(long parentResourcePrimKey)
parentResourcePrimKey - the parent resource prim key of this kb articlelong getKbFolderId()
void setKbFolderId(long kbFolderId)
kbFolderId - the kb folder ID of this kb articleint getVersion()
void setVersion(int version)
version - the version of this kb article@AutoEscape java.lang.String getTitle()
void setTitle(java.lang.String title)
title - the title of this kb article@AutoEscape java.lang.String getUrlTitle()
void setUrlTitle(java.lang.String urlTitle)
urlTitle - the url title of this kb article@AutoEscape java.lang.String getContent()
void setContent(java.lang.String content)
content - the content of this kb article@AutoEscape java.lang.String getDescription()
void setDescription(java.lang.String description)
description - the description of this kb articledouble getPriority()
void setPriority(double priority)
priority - the priority of this kb article@AutoEscape java.lang.String getSections()
void setSections(java.lang.String sections)
sections - the sections of this kb articleboolean getLatest()
boolean isLatest()
true if this kb article is latest.true if this kb article is latest; false otherwisevoid setLatest(boolean latest)
latest - the latest of this kb articleboolean getMain()
boolean isMain()
true if this kb article is main.true if this kb article is main; false otherwisevoid setMain(boolean main)
main - the main of this kb article@AutoEscape java.lang.String getSourceURL()
void setSourceURL(java.lang.String sourceURL)
sourceURL - the source url of this kb articlejava.util.Date getExpirationDate()
void setExpirationDate(java.util.Date expirationDate)
expirationDate - the expiration date of this kb articlejava.util.Date getReviewDate()
void setReviewDate(java.util.Date reviewDate)
reviewDate - the review date of this kb articlejava.util.Date getLastPublishDate()
getLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelvoid setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModellastPublishDate - the last publish date of this kb articleint getStatus()
getStatus in interface com.liferay.portal.kernel.model.WorkflowedModelvoid setStatus(int status)
setStatus in interface com.liferay.portal.kernel.model.WorkflowedModelstatus - the status of this kb articlelong getStatusByUserId()
getStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelvoid setStatusByUserId(long statusByUserId)
setStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserId - the status by user ID of this kb articlejava.lang.String getStatusByUserUuid()
getStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelvoid setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserUuid - the status by user uuid of this kb article@AutoEscape java.lang.String getStatusByUserName()
getStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelvoid setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserName - the status by user name of this kb articlejava.util.Date getStatusDate()
getStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelvoid setStatusDate(java.util.Date statusDate)
setStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelstatusDate - the status date of this kb articleboolean isApproved()
true if this kb article is approved.isApproved in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this kb article is approved; false otherwiseboolean isDenied()
true if this kb article is denied.isDenied in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this kb article is denied; false otherwiseboolean isDraft()
true if this kb article is a draft.isDraft in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this kb article is a draft; false otherwiseboolean isExpired()
true if this kb article is expired.isExpired in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this kb article is expired; false otherwiseboolean isInactive()
true if this kb article is inactive.isInactive in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this kb article is inactive; false otherwiseboolean isIncomplete()
true if this kb article is incomplete.isIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this kb article is incomplete; false otherwiseboolean isPending()
true if this kb article is pending.isPending in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this kb article is pending; false otherwiseboolean isScheduled()
true if this kb article is scheduled.isScheduled in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this kb article is scheduled; false otherwise