public class KBCommentWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KBComment> 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 |
|---|---|
KBComment |
cloneWithOriginalValues() |
java.util.Map<java.lang.String,java.util.function.Function<KBComment,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<KBComment,java.lang.Object>> |
getAttributeSetterBiConsumers() |
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.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
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.
|
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.
|
void |
persist() |
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 |
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 |
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.
|
java.lang.String |
toXmlString() |
protected KBCommentWrapper |
wrap(KBComment kbComment) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic KBCommentWrapper(KBComment kbComment)
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 KBComment cloneWithOriginalValues()
cloneWithOriginalValues in interface KBCommentModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<KBComment>public java.lang.String getClassName()
getClassName in interface KBCommentModelgetClassName in interface com.liferay.portal.kernel.model.TypedModelpublic long getClassNameId()
getClassNameId in interface KBCommentModelgetClassNameId in interface com.liferay.portal.kernel.model.TypedModelpublic long getClassPK()
getClassPK in interface KBCommentModelgetClassPK in interface com.liferay.portal.kernel.model.AttachedModelpublic long getCompanyId()
getCompanyId in interface KBCommentModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic java.lang.String getContent()
getContent in interface KBCommentModelpublic java.util.Date getCreateDate()
getCreateDate in interface KBCommentModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getCtCollectionId()
getCtCollectionId in interface KBCommentModelgetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KBComment>public long getGroupId()
getGroupId in interface KBCommentModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic long getKbCommentId()
getKbCommentId in interface KBCommentModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface KBCommentModelgetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface KBCommentModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getMvccVersion()
getMvccVersion in interface KBCommentModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic long getPrimaryKey()
getPrimaryKey in interface KBCommentModelgetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KBComment>public int getStatus()
getStatus in interface KBCommentModelpublic long getUserId()
getUserId in interface KBCommentModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface KBCommentModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic int getUserRating()
getUserRating in interface KBCommentModelpublic java.lang.String getUserUuid()
getUserUuid in interface KBCommentModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface KBCommentModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setClassName(java.lang.String className)
setClassName in interface KBCommentModelpublic void setClassNameId(long classNameId)
setClassNameId in interface KBCommentModelsetClassNameId in interface com.liferay.portal.kernel.model.TypedModelclassNameId - the class name ID of this kb commentpublic void setClassPK(long classPK)
setClassPK in interface KBCommentModelsetClassPK in interface com.liferay.portal.kernel.model.AttachedModelclassPK - the class pk of this kb commentpublic void setCompanyId(long companyId)
setCompanyId in interface KBCommentModelsetCompanyId 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 commentpublic void setContent(java.lang.String content)
setContent in interface KBCommentModelcontent - the content of this kb commentpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface KBCommentModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this kb commentpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface KBCommentModelsetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KBComment>ctCollectionId - the ct collection ID of this kb commentpublic void setGroupId(long groupId)
setGroupId in interface KBCommentModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this kb commentpublic void setKbCommentId(long kbCommentId)
setKbCommentId in interface KBCommentModelkbCommentId - the kb comment ID of this kb commentpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface KBCommentModelsetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModellastPublishDate - the last publish date of this kb commentpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface KBCommentModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this kb commentpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface KBCommentModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this kb commentpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface KBCommentModelsetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KBComment>primaryKey - the primary key of this kb commentpublic void setStatus(int status)
setStatus in interface KBCommentModelstatus - the status of this kb commentpublic void setUserId(long userId)
setUserId in interface KBCommentModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this kb commentpublic void setUserName(java.lang.String userName)
setUserName in interface KBCommentModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this kb commentpublic void setUserRating(int userRating)
setUserRating in interface KBCommentModeluserRating - the user rating of this kb commentpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface KBCommentModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this kb commentpublic void setUuid(java.lang.String uuid)
setUuid in interface KBCommentModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this kb commentpublic java.lang.String toXmlString()
toXmlString in interface KBCommentModelpublic java.util.Map<java.lang.String,java.util.function.Function<KBComment,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<KBComment>public java.util.Map<java.lang.String,java.util.function.BiConsumer<KBComment,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<KBComment>public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected KBCommentWrapper wrap(KBComment kbComment)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KBComment>