@ProviderType public interface KBCommentModel extends com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<KBComment>, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel
This interface and its corresponding implementation KBCommentModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in KBCommentImpl
.
KBComment
,
KBCommentImpl
,
KBCommentModelImpl
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(KBComment kbComment) |
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.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
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 |
getPrimaryKey()
Returns the primary key of this kb comment.
|
java.io.Serializable |
getPrimaryKeyObj() |
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.
|
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEscapedModel() |
boolean |
isNew() |
void |
setCachedModel(boolean cachedModel) |
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 |
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 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 |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this kb comment.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
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.
|
com.liferay.portal.kernel.model.CacheModel<KBComment> |
toCacheModel() |
KBComment |
toEscapedModel() |
java.lang.String |
toString() |
KBComment |
toUnescapedModel() |
java.lang.String |
toXmlString() |
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key 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 commentboolean isNew()
isNew
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
void setNew(boolean n)
setNew
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
boolean isCachedModel()
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
void setCachedModel(boolean cachedModel)
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
boolean isEscapedModel()
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
java.lang.Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
clone
in interface com.liferay.portal.kernel.model.StagedModel
int compareTo(KBComment kbComment)
compareTo
in interface java.lang.Comparable<KBComment>
int hashCode()
hashCode
in class java.lang.Object
com.liferay.portal.kernel.model.CacheModel<KBComment> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
KBComment toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
KBComment toUnescapedModel()
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
java.lang.String toString()
toString
in class java.lang.Object
java.lang.String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>