@ProviderType public interface KBCommentModel extends com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<KBComment>, com.liferay.portal.kernel.model.change.tracking.CTModel<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 |
|---|---|
KBComment |
cloneWithOriginalValues() |
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 |
getCtCollectionId()
Returns the ct collection ID 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 |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID 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.
|
default java.lang.String |
toXmlString() |
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModellong getPrimaryKey()
getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KBComment>void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KBComment>primaryKey - the primary key of this kb commentlong 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 commentlong getCtCollectionId()
getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KBComment>void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KBComment>ctCollectionId - the ct collection ID of this kb comment@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 commentlong getKbCommentId()
void setKbCommentId(long kbCommentId)
kbCommentId - the kb comment ID of this kb commentlong 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 commentlong 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 commentlong 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 commentjava.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 comment@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 commentjava.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 commentjava.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 commentjava.lang.String getClassName()
getClassName in interface com.liferay.portal.kernel.model.TypedModelvoid setClassName(java.lang.String className)
long getClassNameId()
getClassNameId in interface com.liferay.portal.kernel.model.TypedModelvoid setClassNameId(long classNameId)
setClassNameId in interface com.liferay.portal.kernel.model.TypedModelclassNameId - the class name ID of this kb commentlong getClassPK()
getClassPK in interface com.liferay.portal.kernel.model.AttachedModelvoid setClassPK(long classPK)
setClassPK in interface com.liferay.portal.kernel.model.AttachedModelclassPK - 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.StagedGroupedModelvoid setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModellastPublishDate - the last publish date of this kb commentint getStatus()
void setStatus(int status)
status - the status of this kb commentKBComment cloneWithOriginalValues()
cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<KBComment>default java.lang.String toXmlString()