@ProviderType public interface KBArticleModel extends com.liferay.portal.kernel.model.BaseModel<KBArticle>, 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,
com.liferay.knowledge.base.model.impl.KBArticleImpl,
com.liferay.knowledge.base.model.impl.KBArticleModelImpl| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(KBArticle kbArticle) |
long |
getCompanyId()
Returns the company ID of this k b article.
|
java.lang.String |
getContent()
Returns the content of this k b article.
|
java.util.Date |
getCreateDate()
Returns the create date of this k b article.
|
java.lang.String |
getDescription()
Returns the description of this k b article.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId()
Returns the group ID of this k b article.
|
long |
getKbArticleId()
Returns the kb article ID of this k b article.
|
long |
getKbFolderId()
Returns the kb folder ID of this k b article.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this k b article.
|
boolean |
getLatest()
Returns the latest of this k b article.
|
boolean |
getMain()
Returns the main of this k b article.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this k b article.
|
long |
getParentResourceClassNameId()
Returns the parent resource class name ID of this k b article.
|
long |
getParentResourcePrimKey()
Returns the parent resource prim key of this k b article.
|
long |
getPrimaryKey()
Returns the primary key of this k b article.
|
java.io.Serializable |
getPrimaryKeyObj() |
double |
getPriority()
Returns the priority of this k b article.
|
long |
getResourcePrimKey()
Returns the resource prim key of this k b article.
|
long |
getRootResourcePrimKey()
Returns the root resource prim key of this k b article.
|
java.lang.String |
getSections()
Returns the sections of this k b article.
|
java.lang.String |
getSourceURL()
Returns the source u r l of this k b article.
|
int |
getStatus()
Returns the status of this k b article.
|
long |
getStatusByUserId()
Returns the status by user ID of this k b article.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this k b article.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this k b article.
|
java.util.Date |
getStatusDate()
Returns the status date of this k b article.
|
java.lang.String |
getTitle()
Returns the title of this k b article.
|
java.lang.String |
getUrlTitle()
Returns the url title of this k b article.
|
long |
getUserId()
Returns the user ID of this k b article.
|
java.lang.String |
getUserName()
Returns the user name of this k b article.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this k b article.
|
java.lang.String |
getUuid()
Returns the uuid of this k b article.
|
int |
getVersion()
Returns the version of this k b article.
|
int |
getViewCount()
Returns the view count of this k b article.
|
int |
hashCode() |
boolean |
isApproved()
Returns
true if this k b article is approved. |
boolean |
isCachedModel() |
boolean |
isDenied()
Returns
true if this k b article is denied. |
boolean |
isDraft()
Returns
true if this k b article is a draft. |
boolean |
isEscapedModel() |
boolean |
isExpired()
Returns
true if this k b article is expired. |
boolean |
isInactive()
Returns
true if this k b article is inactive. |
boolean |
isIncomplete()
Returns
true if this k b article is incomplete. |
boolean |
isLatest()
Returns
true if this k b article is latest. |
boolean |
isMain()
Returns
true if this k b article is main. |
boolean |
isNew() |
boolean |
isPending()
Returns
true if this k b article is pending. |
boolean |
isResourceMain() |
boolean |
isScheduled()
Returns
true if this k b article is scheduled. |
void |
setCachedModel(boolean cachedModel) |
void |
setCompanyId(long companyId)
Sets the company ID of this k b article.
|
void |
setContent(java.lang.String content)
Sets the content of this k b article.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this k b article.
|
void |
setDescription(java.lang.String description)
Sets the description of this k b article.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId)
Sets the group ID of this k b article.
|
void |
setKbArticleId(long kbArticleId)
Sets the kb article ID of this k b article.
|
void |
setKbFolderId(long kbFolderId)
Sets the kb folder ID of this k b article.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this k b article.
|
void |
setLatest(boolean latest)
Sets whether this k b article is latest.
|
void |
setMain(boolean main)
Sets whether this k b article is main.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this k b article.
|
void |
setNew(boolean n) |
void |
setParentResourceClassNameId(long parentResourceClassNameId)
Sets the parent resource class name ID of this k b article.
|
void |
setParentResourcePrimKey(long parentResourcePrimKey)
Sets the parent resource prim key of this k b article.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this k b article.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setPriority(double priority)
Sets the priority of this k b article.
|
void |
setResourcePrimKey(long resourcePrimKey)
Sets the resource prim key of this k b article.
|
void |
setRootResourcePrimKey(long rootResourcePrimKey)
Sets the root resource prim key of this k b article.
|
void |
setSections(java.lang.String sections)
Sets the sections of this k b article.
|
void |
setSourceURL(java.lang.String sourceURL)
Sets the source u r l of this k b article.
|
void |
setStatus(int status)
Sets the status of this k b article.
|
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this k b article.
|
void |
setStatusByUserName(java.lang.String statusByUserName)
Sets the status by user name of this k b article.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this k b article.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this k b article.
|
void |
setTitle(java.lang.String title)
Sets the title of this k b article.
|
void |
setUrlTitle(java.lang.String urlTitle)
Sets the url title of this k b article.
|
void |
setUserId(long userId)
Sets the user ID of this k b article.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this k b article.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this k b article.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this k b article.
|
void |
setVersion(int version)
Sets the version of this k b article.
|
void |
setViewCount(int viewCount)
Sets the view count of this k b article.
|
com.liferay.portal.kernel.model.CacheModel<KBArticle> |
toCacheModel() |
KBArticle |
toEscapedModel() |
java.lang.String |
toString() |
KBArticle |
toUnescapedModel() |
java.lang.String |
toXmlString() |
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributeslong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this k b 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 k b articlelong getKbArticleId()
void setKbArticleId(long kbArticleId)
kbArticleId - the kb article ID of this k b 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 k b 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 k b 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 k b 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 k b 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 k b 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 k b 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 k b 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 k b articlelong getRootResourcePrimKey()
void setRootResourcePrimKey(long rootResourcePrimKey)
rootResourcePrimKey - the root resource prim key of this k b articlelong getParentResourceClassNameId()
void setParentResourceClassNameId(long parentResourceClassNameId)
parentResourceClassNameId - the parent resource class name ID of this k b articlelong getParentResourcePrimKey()
void setParentResourcePrimKey(long parentResourcePrimKey)
parentResourcePrimKey - the parent resource prim key of this k b articlelong getKbFolderId()
void setKbFolderId(long kbFolderId)
kbFolderId - the kb folder ID of this k b articleint getVersion()
void setVersion(int version)
version - the version of this k b article@AutoEscape java.lang.String getTitle()
void setTitle(java.lang.String title)
title - the title of this k b article@AutoEscape java.lang.String getUrlTitle()
void setUrlTitle(java.lang.String urlTitle)
urlTitle - the url title of this k b article@AutoEscape java.lang.String getContent()
void setContent(java.lang.String content)
content - the content of this k b article@AutoEscape java.lang.String getDescription()
void setDescription(java.lang.String description)
description - the description of this k b articledouble getPriority()
void setPriority(double priority)
priority - the priority of this k b article@AutoEscape java.lang.String getSections()
void setSections(java.lang.String sections)
sections - the sections of this k b articleint getViewCount()
void setViewCount(int viewCount)
viewCount - the view count of this k b articleboolean getLatest()
boolean isLatest()
true if this k b article is latest.true if this k b article is latest; false otherwisevoid setLatest(boolean latest)
latest - the latest of this k b articleboolean getMain()
boolean isMain()
true if this k b article is main.true if this k b article is main; false otherwisevoid setMain(boolean main)
main - the main of this k b article@AutoEscape java.lang.String getSourceURL()
void setSourceURL(java.lang.String sourceURL)
sourceURL - the source u r l of this k b 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 k b 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 k b 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 k b 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 k b 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 k b 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 k b articleboolean isApproved()
true if this k b article is approved.isApproved in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this k b article is approved; false otherwiseboolean isDenied()
true if this k b article is denied.isDenied in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this k b article is denied; false otherwiseboolean isDraft()
true if this k b article is a draft.isDraft in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this k b article is a draft; false otherwiseboolean isExpired()
true if this k b article is expired.isExpired in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this k b article is expired; false otherwiseboolean isInactive()
true if this k b article is inactive.isInactive in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this k b article is inactive; false otherwiseboolean isIncomplete()
true if this k b article is incomplete.isIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this k b article is incomplete; false otherwiseboolean isPending()
true if this k b article is pending.isPending in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this k b article is pending; false otherwiseboolean isScheduled()
true if this k b article is scheduled.isScheduled in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this k b article is scheduled; false otherwiseboolean isNew()
isNew in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>void setNew(boolean n)
setNew in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>boolean isCachedModel()
isCachedModel in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>void setCachedModel(boolean cachedModel)
setCachedModel in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>boolean isEscapedModel()
isEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelvoid setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelcom.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelvoid setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>java.lang.Object clone()
clone in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>clone in interface com.liferay.portal.kernel.model.StagedModelint compareTo(KBArticle kbArticle)
compareTo in interface java.lang.Comparable<KBArticle>int hashCode()
hashCode in class java.lang.Objectcom.liferay.portal.kernel.model.CacheModel<KBArticle> toCacheModel()
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>KBArticle toEscapedModel()
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>KBArticle toUnescapedModel()
toUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>java.lang.String toString()
toString in class java.lang.Objectjava.lang.String toXmlString()
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>