@ProviderType public class KBCommentWrapper extends java.lang.Object implements KBComment, com.liferay.portal.kernel.model.ModelWrapper<KBComment>
This class is a wrapper for KBComment
.
KBComment
,
Serialized FormKB_COMMENT_ID_ACCESSOR
Constructor and Description |
---|
KBCommentWrapper(KBComment kbComment) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(KBComment kbComment) |
boolean |
equals(java.lang.Object obj) |
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.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 comment.
|
long |
getPrimaryKey()
Returns the primary key of this kb comment.
|
java.io.Serializable |
getPrimaryKeyObj() |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
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.
|
KBComment |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
void |
persist() |
void |
resetOriginalValues() |
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 |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
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() |
public KBCommentWrapper(KBComment kbComment)
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()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
public java.lang.Object clone()
clone
in interface KBCommentModel
clone
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
clone
in interface com.liferay.portal.kernel.model.StagedModel
clone
in class java.lang.Object
public int compareTo(KBComment kbComment)
compareTo
in interface KBCommentModel
compareTo
in interface java.lang.Comparable<KBComment>
public java.lang.String getClassName()
getClassName
in interface KBCommentModel
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
public long getClassNameId()
getClassNameId
in interface KBCommentModel
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
public long getClassPK()
getClassPK
in interface KBCommentModel
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
public long getCompanyId()
getCompanyId
in interface KBCommentModel
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 java.lang.String getContent()
getContent
in interface KBCommentModel
public java.util.Date getCreateDate()
getCreateDate
in interface KBCommentModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface KBCommentModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
public long getGroupId()
getGroupId
in interface KBCommentModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public long getKbCommentId()
getKbCommentId
in interface KBCommentModel
public java.util.Date getLastPublishDate()
getLastPublishDate
in interface KBCommentModel
getLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface KBCommentModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getPrimaryKey()
getPrimaryKey
in interface KBCommentModel
public java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface KBCommentModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public int getStatus()
getStatus
in interface KBCommentModel
public long getUserId()
getUserId
in interface KBCommentModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface KBCommentModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public int getUserRating()
getUserRating
in interface KBCommentModel
public java.lang.String getUserUuid()
getUserUuid
in interface KBCommentModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface KBCommentModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public int hashCode()
hashCode
in interface KBCommentModel
hashCode
in class java.lang.Object
public boolean isCachedModel()
isCachedModel
in interface KBCommentModel
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
public boolean isEscapedModel()
isEscapedModel
in interface KBCommentModel
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
public boolean isNew()
isNew
in interface KBCommentModel
isNew
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCachedModel(boolean cachedModel)
setCachedModel
in interface KBCommentModel
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
public void setClassName(java.lang.String className)
setClassName
in interface KBCommentModel
public void setClassNameId(long classNameId)
setClassNameId
in interface KBCommentModel
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
classNameId
- the class name ID of this kb commentpublic void setClassPK(long classPK)
setClassPK
in interface KBCommentModel
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
classPK
- the class pk of this kb commentpublic void setCompanyId(long companyId)
setCompanyId
in interface KBCommentModel
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 commentpublic void setContent(java.lang.String content)
setContent
in interface KBCommentModel
content
- the content of this kb commentpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface KBCommentModel
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 commentpublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface KBCommentModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface KBCommentModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface KBCommentModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
public void setGroupId(long groupId)
setGroupId
in interface KBCommentModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this kb commentpublic void setKbCommentId(long kbCommentId)
setKbCommentId
in interface KBCommentModel
kbCommentId
- the kb comment ID of this kb commentpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate
in interface KBCommentModel
setLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
lastPublishDate
- the last publish date of this kb commentpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface KBCommentModel
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 commentpublic void setNew(boolean n)
setNew
in interface KBCommentModel
setNew
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface KBCommentModel
primaryKey
- the primary key of this kb commentpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface KBCommentModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public void setStatus(int status)
setStatus
in interface KBCommentModel
status
- the status of this kb commentpublic void setUserId(long userId)
setUserId
in interface KBCommentModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this kb commentpublic void setUserName(java.lang.String userName)
setUserName
in interface KBCommentModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this kb commentpublic void setUserRating(int userRating)
setUserRating
in interface KBCommentModel
userRating
- the user rating of this kb commentpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface KBCommentModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this kb commentpublic void setUuid(java.lang.String uuid)
setUuid
in interface KBCommentModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this kb commentpublic com.liferay.portal.kernel.model.CacheModel<KBComment> toCacheModel()
toCacheModel
in interface KBCommentModel
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
public KBComment toEscapedModel()
toEscapedModel
in interface KBCommentModel
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
public java.lang.String toString()
toString
in interface KBCommentModel
toString
in class java.lang.Object
public KBComment toUnescapedModel()
toUnescapedModel
in interface KBCommentModel
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
public java.lang.String toXmlString()
toXmlString
in interface KBCommentModel
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
public KBComment getWrappedModel()
getWrappedModel
in interface com.liferay.portal.kernel.model.ModelWrapper<KBComment>
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>