Package com.liferay.knowledge.base.model
Class KBCommentWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KBComment>
com.liferay.knowledge.base.model.KBCommentWrapper
- All Implemented Interfaces:
KBComment,KBCommentModel,com.liferay.portal.kernel.model.AttachedModel,com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<KBComment>,com.liferay.portal.kernel.model.change.tracking.CTModel<KBComment>,com.liferay.portal.kernel.model.ClassedModel,com.liferay.portal.kernel.model.GroupedModel,com.liferay.portal.kernel.model.ModelWrapper<KBComment>,com.liferay.portal.kernel.model.MVCCModel,com.liferay.portal.kernel.model.PersistedModel,com.liferay.portal.kernel.model.ShardedModel,com.liferay.portal.kernel.model.StagedGroupedModel,com.liferay.portal.kernel.model.StagedModel,com.liferay.portal.kernel.model.TypedModel,Serializable,Cloneable,Comparable<KBComment>
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.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.knowledge.base.model.KBComment
KB_COMMENT_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the fully qualified class name of this kb comment.longReturns the class name ID of this kb comment.longReturns the class pk of this kb comment.longReturns the company ID of this kb comment.Returns the content of this kb comment.Returns the create date of this kb comment.longReturns the ct collection ID of this kb comment.longReturns the group ID of this kb comment.longReturns the kb comment ID of this kb comment.Returns the last publish date of this kb comment.Returns the modified date of this kb comment.longReturns the mvcc version of this kb comment.longReturns the primary key of this kb comment.com.liferay.exportimport.kernel.lar.StagedModelTypeintReturns the status of this kb comment.longReturns the user ID of this kb comment.Returns the user name of this kb comment.intReturns the user rating of this kb comment.Returns the user uuid of this kb comment.getUuid()Returns the uuid of this kb comment.voidpersist()voidsetClassName(String className) voidsetClassNameId(long classNameId) Sets the class name ID of this kb comment.voidsetClassPK(long classPK) Sets the class pk of this kb comment.voidsetCompanyId(long companyId) Sets the company ID of this kb comment.voidsetContent(String content) Sets the content of this kb comment.voidsetCreateDate(Date createDate) Sets the create date of this kb comment.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this kb comment.voidsetGroupId(long groupId) Sets the group ID of this kb comment.voidsetKbCommentId(long kbCommentId) Sets the kb comment ID of this kb comment.voidsetLastPublishDate(Date lastPublishDate) Sets the last publish date of this kb comment.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this kb comment.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this kb comment.voidsetPrimaryKey(long primaryKey) Sets the primary key of this kb comment.voidsetStatus(int status) Sets the status of this kb comment.voidsetUserId(long userId) Sets the user ID of this kb comment.voidsetUserName(String userName) Sets the user name of this kb comment.voidsetUserRating(int userRating) Sets the user rating of this kb comment.voidsetUserUuid(String userUuid) Sets the user uuid of this kb comment.voidSets the uuid of this kb comment.protected KBCommentWrapperMethods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
KBCommentWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<KBComment>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<KBComment>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<KBComment>- Specified by:
cloneWithOriginalValuesin interfaceKBCommentModel
-
getClassName
Returns the fully qualified class name of this kb comment.- Specified by:
getClassNamein interfaceKBCommentModel- Specified by:
getClassNamein interfacecom.liferay.portal.kernel.model.TypedModel- Returns:
- the fully qualified class name of this kb comment
-
getClassNameId
public long getClassNameId()Returns the class name ID of this kb comment.- Specified by:
getClassNameIdin interfaceKBCommentModel- Specified by:
getClassNameIdin interfacecom.liferay.portal.kernel.model.TypedModel- Returns:
- the class name ID of this kb comment
-
getClassPK
public long getClassPK()Returns the class pk of this kb comment.- Specified by:
getClassPKin interfacecom.liferay.portal.kernel.model.AttachedModel- Specified by:
getClassPKin interfaceKBCommentModel- Returns:
- the class pk of this kb comment
-
getCompanyId
public long getCompanyId()Returns the company ID of this kb comment.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfaceKBCommentModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the company ID of this kb comment
-
getContent
Returns the content of this kb comment.- Specified by:
getContentin interfaceKBCommentModel- Returns:
- the content of this kb comment
-
getCreateDate
Returns the create date of this kb comment.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfaceKBCommentModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this kb comment
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this kb comment.- Specified by:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KBComment>- Specified by:
getCtCollectionIdin interfaceKBCommentModel- Returns:
- the ct collection ID of this kb comment
-
getGroupId
public long getGroupId()Returns the group ID of this kb comment.- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Specified by:
getGroupIdin interfaceKBCommentModel- Returns:
- the group ID of this kb comment
-
getKbCommentId
public long getKbCommentId()Returns the kb comment ID of this kb comment.- Specified by:
getKbCommentIdin interfaceKBCommentModel- Returns:
- the kb comment ID of this kb comment
-
getLastPublishDate
Returns the last publish date of this kb comment.- Specified by:
getLastPublishDatein interfaceKBCommentModel- Specified by:
getLastPublishDatein interfacecom.liferay.portal.kernel.model.StagedGroupedModel- Returns:
- the last publish date of this kb comment
-
getModifiedDate
Returns the modified date of this kb comment.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfaceKBCommentModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the modified date of this kb comment
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this kb comment.- Specified by:
getMvccVersionin interfaceKBCommentModel- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this kb comment
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this kb comment.- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KBComment>- Specified by:
getPrimaryKeyin interfaceKBCommentModel- Returns:
- the primary key of this kb comment
-
getStatus
public int getStatus()Returns the status of this kb comment.- Specified by:
getStatusin interfaceKBCommentModel- Returns:
- the status of this kb comment
-
getUserId
public long getUserId()Returns the user ID of this kb comment.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserIdin interfaceKBCommentModel- Returns:
- the user ID of this kb comment
-
getUserName
Returns the user name of this kb comment.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserNamein interfaceKBCommentModel- Returns:
- the user name of this kb comment
-
getUserRating
public int getUserRating()Returns the user rating of this kb comment.- Specified by:
getUserRatingin interfaceKBCommentModel- Returns:
- the user rating of this kb comment
-
getUserUuid
Returns the user uuid of this kb comment.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserUuidin interfaceKBCommentModel- Returns:
- the user uuid of this kb comment
-
getUuid
Returns the uuid of this kb comment.- Specified by:
getUuidin interfaceKBCommentModel- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this kb comment
-
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
setClassName
- Specified by:
setClassNamein interfaceKBCommentModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this kb comment.- Specified by:
setClassNameIdin interfaceKBCommentModel- Specified by:
setClassNameIdin interfacecom.liferay.portal.kernel.model.TypedModel- Parameters:
classNameId- the class name ID of this kb comment
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this kb comment.- Specified by:
setClassPKin interfacecom.liferay.portal.kernel.model.AttachedModel- Specified by:
setClassPKin interfaceKBCommentModel- Parameters:
classPK- the class pk of this kb comment
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this kb comment.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfaceKBCommentModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
companyId- the company ID of this kb comment
-
setContent
Sets the content of this kb comment.- Specified by:
setContentin interfaceKBCommentModel- Parameters:
content- the content of this kb comment
-
setCreateDate
Sets the create date of this kb comment.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfaceKBCommentModel- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this kb comment
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this kb comment.- Specified by:
setCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KBComment>- Specified by:
setCtCollectionIdin interfaceKBCommentModel- Parameters:
ctCollectionId- the ct collection ID of this kb comment
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this kb comment.- Specified by:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Specified by:
setGroupIdin interfaceKBCommentModel- Parameters:
groupId- the group ID of this kb comment
-
setKbCommentId
public void setKbCommentId(long kbCommentId) Sets the kb comment ID of this kb comment.- Specified by:
setKbCommentIdin interfaceKBCommentModel- Parameters:
kbCommentId- the kb comment ID of this kb comment
-
setLastPublishDate
Sets the last publish date of this kb comment.- Specified by:
setLastPublishDatein interfaceKBCommentModel- Specified by:
setLastPublishDatein interfacecom.liferay.portal.kernel.model.StagedGroupedModel- Parameters:
lastPublishDate- the last publish date of this kb comment
-
setModifiedDate
Sets the modified date of this kb comment.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfaceKBCommentModel- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
modifiedDate- the modified date of this kb comment
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this kb comment.- Specified by:
setMvccVersionin interfaceKBCommentModel- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this kb comment
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this kb comment.- Specified by:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KBComment>- Specified by:
setPrimaryKeyin interfaceKBCommentModel- Parameters:
primaryKey- the primary key of this kb comment
-
setStatus
public void setStatus(int status) Sets the status of this kb comment.- Specified by:
setStatusin interfaceKBCommentModel- Parameters:
status- the status of this kb comment
-
setUserId
public void setUserId(long userId) Sets the user ID of this kb comment.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserIdin interfaceKBCommentModel- Parameters:
userId- the user ID of this kb comment
-
setUserName
Sets the user name of this kb comment.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserNamein interfaceKBCommentModel- Parameters:
userName- the user name of this kb comment
-
setUserRating
public void setUserRating(int userRating) Sets the user rating of this kb comment.- Specified by:
setUserRatingin interfaceKBCommentModel- Parameters:
userRating- the user rating of this kb comment
-
setUserUuid
Sets the user uuid of this kb comment.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserUuidin interfaceKBCommentModel- Parameters:
userUuid- the user uuid of this kb comment
-
setUuid
Sets the uuid of this kb comment.- Specified by:
setUuidin interfaceKBCommentModel- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this kb comment
-
toXmlString
- Specified by:
toXmlStringin interfaceKBCommentModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfacecom.liferay.portal.kernel.model.BaseModel<KBComment>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfacecom.liferay.portal.kernel.model.BaseModel<KBComment>
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelTypein interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KBComment>
-