@ProviderType public interface KBCommentModel extends com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<KBComment>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel
This interface and its corresponding implementation com.liferay.knowledge.base.model.impl.KBCommentModelImpl
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.KBCommentImpl
.
KBComment
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName()
Returns the fully qualified class name of this kb comment.
|
long |
getClassNameId()
Returns the class name ID of this kb comment.
|
long |
getClassPK()
Returns the class pk of this kb comment.
|
long |
getCompanyId()
Returns the company ID of this kb comment.
|
java.lang.String |
getContent()
Returns the content of this kb comment.
|
java.util.Date |
getCreateDate()
Returns the create date of this kb comment.
|
long |
getGroupId()
Returns the group ID of this kb comment.
|
long |
getKbCommentId()
Returns the kb comment ID of this kb comment.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this kb comment.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this kb comment.
|
long |
getMvccVersion()
Returns the mvcc version of this kb comment.
|
long |
getPrimaryKey()
Returns the primary key of this kb comment.
|
int |
getStatus()
Returns the status of this kb comment.
|
long |
getUserId()
Returns the user ID of this kb comment.
|
java.lang.String |
getUserName()
Returns the user name of this kb comment.
|
int |
getUserRating()
Returns the user rating of this kb comment.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this kb comment.
|
java.lang.String |
getUuid()
Returns the uuid of this kb comment.
|
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this kb comment.
|
void |
setClassPK(long classPK)
Sets the class pk of this kb comment.
|
void |
setCompanyId(long companyId)
Sets the company ID of this kb comment.
|
void |
setContent(java.lang.String content)
Sets the content of this kb comment.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this kb comment.
|
void |
setGroupId(long groupId)
Sets the group ID of this kb comment.
|
void |
setKbCommentId(long kbCommentId)
Sets the kb comment ID of this kb comment.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this kb comment.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this kb comment.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this kb comment.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this kb comment.
|
void |
setStatus(int status)
Sets the status of this kb comment.
|
void |
setUserId(long userId)
Sets the user ID of this kb comment.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this kb comment.
|
void |
setUserRating(int userRating)
Sets the user rating of this kb comment.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this kb comment.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this kb comment.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this kb commentlong getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this kb comment@AutoEscape java.lang.String getUuid()
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
void setUuid(java.lang.String uuid)
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this kb commentlong getKbCommentId()
void setKbCommentId(long kbCommentId)
kbCommentId
- the kb comment ID of this kb commentlong getGroupId()
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
void setGroupId(long groupId)
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this kb commentlong getCompanyId()
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
void setCompanyId(long companyId)
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 commentlong getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this kb commentjava.lang.String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this kb comment@AutoEscape java.lang.String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserName(java.lang.String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this kb commentjava.util.Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
void setCreateDate(java.util.Date createDate)
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 commentjava.util.Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
void setModifiedDate(java.util.Date modifiedDate)
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 commentjava.lang.String getClassName()
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
void setClassName(java.lang.String className)
long getClassNameId()
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
void setClassNameId(long classNameId)
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
classNameId
- the class name ID of this kb commentlong getClassPK()
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
void setClassPK(long classPK)
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
classPK
- the class pk of this kb comment@AutoEscape java.lang.String getContent()
void setContent(java.lang.String content)
content
- the content of this kb commentint getUserRating()
void setUserRating(int userRating)
userRating
- the user rating of this kb commentjava.util.Date getLastPublishDate()
getLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
lastPublishDate
- the last publish date of this kb commentint getStatus()
void setStatus(int status)
status
- the status of this kb comment