@JSON(strict=true) @ProviderType public class KBArticleModelImpl extends com.liferay.portal.kernel.model.impl.BaseModelImpl<KBArticle> implements KBArticleModel
This implementation and its corresponding interface KBArticleModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in KBArticleImpl
.
KBArticleImpl
,
KBArticle
,
KBArticleModel
,
Serialized FormModifier and Type | Field and Description |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED |
static long |
COMPANYID_COLUMN_BITMASK |
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
GROUPID_COLUMN_BITMASK |
static long |
KBFOLDERID_COLUMN_BITMASK |
static long |
LATEST_COLUMN_BITMASK |
static long |
LOCK_EXPIRATION_TIME |
static long |
MAIN_COLUMN_BITMASK |
static long |
MODIFIEDDATE_COLUMN_BITMASK |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static long |
PARENTRESOURCEPRIMKEY_COLUMN_BITMASK |
static long |
RESOURCEPRIMKEY_COLUMN_BITMASK |
static long |
SECTIONS_COLUMN_BITMASK |
static java.lang.String |
SESSION_FACTORY |
static long |
STATUS_COLUMN_BITMASK |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static java.lang.String |
TX_MANAGER |
static long |
URLTITLE_COLUMN_BITMASK |
static long |
UUID_COLUMN_BITMASK |
static long |
VERSION_COLUMN_BITMASK |
Constructor and Description |
---|
KBArticleModelImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(KBArticle kbArticle) |
boolean |
equals(java.lang.Object obj) |
long |
getColumnBitmask() |
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.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
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.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this kb article.
|
long |
getOriginalCompanyId() |
long |
getOriginalGroupId() |
long |
getOriginalKbFolderId() |
boolean |
getOriginalLatest() |
boolean |
getOriginalMain() |
long |
getOriginalParentResourcePrimKey() |
long |
getOriginalResourcePrimKey() |
java.lang.String |
getOriginalSections() |
int |
getOriginalStatus() |
java.lang.String |
getOriginalUrlTitle() |
java.lang.String |
getOriginalUuid() |
int |
getOriginalVersion() |
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.
|
java.io.Serializable |
getPrimaryKeyObj() |
double |
getPriority()
Returns the priority of this kb article.
|
long |
getResourcePrimKey()
Returns the resource prim key 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.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
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.
|
int |
getViewCount()
Returns the view count of this kb article.
|
int |
hashCode() |
boolean |
hasSetModifiedDate() |
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 |
isEntityCacheEnabled() |
boolean |
isExpired()
Returns
true if this kb article is expired. |
boolean |
isFinderCacheEnabled() |
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 |
resetOriginalValues() |
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 |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
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 |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date 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 |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
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 |
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.
|
void |
setViewCount(int viewCount)
Sets the view count of this kb article.
|
com.liferay.portal.kernel.model.CacheModel<KBArticle> |
toCacheModel() |
KBArticle |
toEscapedModel() |
static KBArticle |
toModel(KBArticleSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<KBArticle> |
toModels(KBArticleSoap[] soapModels)
Converts the soap model instances into normal model instances.
|
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
finalize, getClass, notify, notifyAll, wait, wait, wait
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
public static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long COMPANYID_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
public static final long KBFOLDERID_COLUMN_BITMASK
public static final long LATEST_COLUMN_BITMASK
public static final long MAIN_COLUMN_BITMASK
public static final long PARENTRESOURCEPRIMKEY_COLUMN_BITMASK
public static final long RESOURCEPRIMKEY_COLUMN_BITMASK
public static final long SECTIONS_COLUMN_BITMASK
public static final long STATUS_COLUMN_BITMASK
public static final long URLTITLE_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long VERSION_COLUMN_BITMASK
public static final long MODIFIEDDATE_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static KBArticle toModel(KBArticleSoap soapModel)
soapModel
- the soap model instance to convertpublic static java.util.List<KBArticle> toModels(KBArticleSoap[] soapModels)
soapModels
- the soap model instances to convertpublic long getPrimaryKey()
KBArticleModel
getPrimaryKey
in interface KBArticleModel
public void setPrimaryKey(long primaryKey)
KBArticleModel
setPrimaryKey
in interface KBArticleModel
primaryKey
- the primary key of this kb articlepublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface KBArticleModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface KBArticleModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
@JSON public java.lang.String getUuid()
KBArticleModel
getUuid
in interface KBArticleModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public void setUuid(java.lang.String uuid)
KBArticleModel
setUuid
in interface KBArticleModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this kb articlepublic java.lang.String getOriginalUuid()
@JSON public long getKbArticleId()
KBArticleModel
getKbArticleId
in interface KBArticleModel
public void setKbArticleId(long kbArticleId)
KBArticleModel
setKbArticleId
in interface KBArticleModel
kbArticleId
- the kb article ID of this kb article@JSON public long getResourcePrimKey()
KBArticleModel
getResourcePrimKey
in interface KBArticleModel
getResourcePrimKey
in interface com.liferay.portal.kernel.model.ResourcedModel
public void setResourcePrimKey(long resourcePrimKey)
KBArticleModel
setResourcePrimKey
in interface KBArticleModel
setResourcePrimKey
in interface com.liferay.portal.kernel.model.ResourcedModel
resourcePrimKey
- the resource prim key of this kb articlepublic boolean isResourceMain()
isResourceMain
in interface KBArticleModel
isResourceMain
in interface com.liferay.portal.kernel.model.ResourcedModel
public long getOriginalResourcePrimKey()
@JSON public long getGroupId()
KBArticleModel
getGroupId
in interface KBArticleModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public void setGroupId(long groupId)
KBArticleModel
setGroupId
in interface KBArticleModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this kb articlepublic long getOriginalGroupId()
@JSON public long getCompanyId()
KBArticleModel
getCompanyId
in interface KBArticleModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public void setCompanyId(long companyId)
KBArticleModel
setCompanyId
in interface KBArticleModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this kb articlepublic long getOriginalCompanyId()
@JSON public long getUserId()
KBArticleModel
getUserId
in interface KBArticleModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserId(long userId)
KBArticleModel
setUserId
in interface KBArticleModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this kb articlepublic java.lang.String getUserUuid()
KBArticleModel
getUserUuid
in interface KBArticleModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserUuid(java.lang.String userUuid)
KBArticleModel
setUserUuid
in interface KBArticleModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this kb article@JSON public java.lang.String getUserName()
KBArticleModel
getUserName
in interface KBArticleModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserName(java.lang.String userName)
KBArticleModel
setUserName
in interface KBArticleModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this kb article@JSON public java.util.Date getCreateDate()
KBArticleModel
getCreateDate
in interface KBArticleModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public void setCreateDate(java.util.Date createDate)
KBArticleModel
setCreateDate
in interface KBArticleModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this kb article@JSON public java.util.Date getModifiedDate()
KBArticleModel
getModifiedDate
in interface KBArticleModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public boolean hasSetModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
KBArticleModel
setModifiedDate
in interface KBArticleModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this kb article@JSON public long getRootResourcePrimKey()
KBArticleModel
getRootResourcePrimKey
in interface KBArticleModel
public void setRootResourcePrimKey(long rootResourcePrimKey)
KBArticleModel
setRootResourcePrimKey
in interface KBArticleModel
rootResourcePrimKey
- the root resource prim key of this kb article@JSON public long getParentResourceClassNameId()
KBArticleModel
getParentResourceClassNameId
in interface KBArticleModel
public void setParentResourceClassNameId(long parentResourceClassNameId)
KBArticleModel
setParentResourceClassNameId
in interface KBArticleModel
parentResourceClassNameId
- the parent resource class name ID of this kb article@JSON public long getParentResourcePrimKey()
KBArticleModel
getParentResourcePrimKey
in interface KBArticleModel
public void setParentResourcePrimKey(long parentResourcePrimKey)
KBArticleModel
setParentResourcePrimKey
in interface KBArticleModel
parentResourcePrimKey
- the parent resource prim key of this kb articlepublic long getOriginalParentResourcePrimKey()
@JSON public long getKbFolderId()
KBArticleModel
getKbFolderId
in interface KBArticleModel
public void setKbFolderId(long kbFolderId)
KBArticleModel
setKbFolderId
in interface KBArticleModel
kbFolderId
- the kb folder ID of this kb articlepublic long getOriginalKbFolderId()
@JSON public int getVersion()
KBArticleModel
getVersion
in interface KBArticleModel
public void setVersion(int version)
KBArticleModel
setVersion
in interface KBArticleModel
version
- the version of this kb articlepublic int getOriginalVersion()
@JSON public java.lang.String getTitle()
KBArticleModel
getTitle
in interface KBArticleModel
public void setTitle(java.lang.String title)
KBArticleModel
setTitle
in interface KBArticleModel
title
- the title of this kb article@JSON public java.lang.String getUrlTitle()
KBArticleModel
getUrlTitle
in interface KBArticleModel
public void setUrlTitle(java.lang.String urlTitle)
KBArticleModel
setUrlTitle
in interface KBArticleModel
urlTitle
- the url title of this kb articlepublic java.lang.String getOriginalUrlTitle()
@JSON public java.lang.String getContent()
KBArticleModel
getContent
in interface KBArticleModel
public void setContent(java.lang.String content)
KBArticleModel
setContent
in interface KBArticleModel
content
- the content of this kb article@JSON public java.lang.String getDescription()
KBArticleModel
getDescription
in interface KBArticleModel
public void setDescription(java.lang.String description)
KBArticleModel
setDescription
in interface KBArticleModel
description
- the description of this kb article@JSON public double getPriority()
KBArticleModel
getPriority
in interface KBArticleModel
public void setPriority(double priority)
KBArticleModel
setPriority
in interface KBArticleModel
priority
- the priority of this kb article@JSON public java.lang.String getSections()
KBArticleModel
getSections
in interface KBArticleModel
public void setSections(java.lang.String sections)
KBArticleModel
setSections
in interface KBArticleModel
sections
- the sections of this kb articlepublic java.lang.String getOriginalSections()
@JSON public int getViewCount()
KBArticleModel
getViewCount
in interface KBArticleModel
public void setViewCount(int viewCount)
KBArticleModel
setViewCount
in interface KBArticleModel
viewCount
- the view count of this kb article@JSON public boolean getLatest()
KBArticleModel
getLatest
in interface KBArticleModel
@JSON public boolean isLatest()
KBArticleModel
true
if this kb article is latest.isLatest
in interface KBArticleModel
true
if this kb article is latest; false
otherwisepublic void setLatest(boolean latest)
KBArticleModel
setLatest
in interface KBArticleModel
latest
- the latest of this kb articlepublic boolean getOriginalLatest()
@JSON public boolean getMain()
KBArticleModel
getMain
in interface KBArticleModel
@JSON public boolean isMain()
KBArticleModel
true
if this kb article is main.isMain
in interface KBArticleModel
true
if this kb article is main; false
otherwisepublic void setMain(boolean main)
KBArticleModel
setMain
in interface KBArticleModel
main
- the main of this kb articlepublic boolean getOriginalMain()
@JSON public java.lang.String getSourceURL()
KBArticleModel
getSourceURL
in interface KBArticleModel
public void setSourceURL(java.lang.String sourceURL)
KBArticleModel
setSourceURL
in interface KBArticleModel
sourceURL
- the source url of this kb article@JSON public java.util.Date getLastPublishDate()
KBArticleModel
getLastPublishDate
in interface KBArticleModel
getLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
public void setLastPublishDate(java.util.Date lastPublishDate)
KBArticleModel
setLastPublishDate
in interface KBArticleModel
setLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
lastPublishDate
- the last publish date of this kb article@JSON public int getStatus()
KBArticleModel
getStatus
in interface KBArticleModel
getStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
public void setStatus(int status)
KBArticleModel
setStatus
in interface KBArticleModel
setStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
status
- the status of this kb articlepublic int getOriginalStatus()
@JSON public long getStatusByUserId()
KBArticleModel
getStatusByUserId
in interface KBArticleModel
getStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
public void setStatusByUserId(long statusByUserId)
KBArticleModel
setStatusByUserId
in interface KBArticleModel
setStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserId
- the status by user ID of this kb articlepublic java.lang.String getStatusByUserUuid()
KBArticleModel
getStatusByUserUuid
in interface KBArticleModel
getStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
public void setStatusByUserUuid(java.lang.String statusByUserUuid)
KBArticleModel
setStatusByUserUuid
in interface KBArticleModel
setStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserUuid
- the status by user uuid of this kb article@JSON public java.lang.String getStatusByUserName()
KBArticleModel
getStatusByUserName
in interface KBArticleModel
getStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
public void setStatusByUserName(java.lang.String statusByUserName)
KBArticleModel
setStatusByUserName
in interface KBArticleModel
setStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserName
- the status by user name of this kb article@JSON public java.util.Date getStatusDate()
KBArticleModel
getStatusDate
in interface KBArticleModel
getStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
public void setStatusDate(java.util.Date statusDate)
KBArticleModel
setStatusDate
in interface KBArticleModel
setStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusDate
- the status date of this kb articlepublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
public boolean isApproved()
KBArticleModel
true
if this kb article is approved.isApproved
in interface KBArticleModel
isApproved
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this kb article is approved; false
otherwisepublic boolean isDenied()
KBArticleModel
true
if this kb article is denied.isDenied
in interface KBArticleModel
isDenied
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this kb article is denied; false
otherwisepublic boolean isDraft()
KBArticleModel
true
if this kb article is a draft.isDraft
in interface KBArticleModel
isDraft
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this kb article is a draft; false
otherwisepublic boolean isExpired()
KBArticleModel
true
if this kb article is expired.isExpired
in interface KBArticleModel
isExpired
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this kb article is expired; false
otherwisepublic boolean isInactive()
KBArticleModel
true
if this kb article is inactive.isInactive
in interface KBArticleModel
isInactive
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this kb article is inactive; false
otherwisepublic boolean isIncomplete()
KBArticleModel
true
if this kb article is incomplete.isIncomplete
in interface KBArticleModel
isIncomplete
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this kb article is incomplete; false
otherwisepublic boolean isPending()
KBArticleModel
true
if this kb article is pending.isPending
in interface KBArticleModel
isPending
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this kb article is pending; false
otherwisepublic boolean isScheduled()
KBArticleModel
true
if this kb article is scheduled.isScheduled
in interface KBArticleModel
isScheduled
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this kb article is scheduled; false
otherwisepublic long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface KBArticleModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<KBArticle>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface KBArticleModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>
setExpandoBridgeAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<KBArticle>
public KBArticle toEscapedModel()
toEscapedModel
in interface KBArticleModel
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>
toEscapedModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<KBArticle>
public java.lang.Object clone()
clone
in interface KBArticleModel
clone
in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>
clone
in interface com.liferay.portal.kernel.model.StagedModel
clone
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<KBArticle>
public int compareTo(KBArticle kbArticle)
compareTo
in interface KBArticleModel
compareTo
in interface java.lang.Comparable<KBArticle>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface KBArticleModel
hashCode
in class java.lang.Object
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>
public void resetOriginalValues()
public com.liferay.portal.kernel.model.CacheModel<KBArticle> toCacheModel()
toCacheModel
in interface KBArticleModel
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<KBArticle>
public java.lang.String toString()
toString
in interface KBArticleModel
toString
in class java.lang.Object
public java.lang.String toXmlString()
toXmlString
in interface KBArticleModel
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<KBArticle>