@JSON(strict=true) @ProviderType public class KBCommentModelImpl extends com.liferay.portal.kernel.model.impl.BaseModelImpl<KBComment> implements KBCommentModel
This implementation and its corresponding interface KBCommentModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in KBCommentImpl
.
KBCommentImpl
,
KBComment
,
KBCommentModel
,
Serialized FormModifier and Type | Field and Description |
---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK |
static long |
CLASSPK_COLUMN_BITMASK |
static boolean |
COLUMN_BITMASK_ENABLED |
static long |
COMPANYID_COLUMN_BITMASK |
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
GROUPID_COLUMN_BITMASK |
static long |
LOCK_EXPIRATION_TIME |
static long |
MODIFIEDDATE_COLUMN_BITMASK |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static java.lang.String |
SESSION_FACTORY |
static long |
STATUS_COLUMN_BITMASK |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static java.lang.String |
TX_MANAGER |
static long |
USERID_COLUMN_BITMASK |
static long |
UUID_COLUMN_BITMASK |
Constructor and Description |
---|
KBCommentModelImpl() |
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 |
getColumnBitmask() |
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 |
getOriginalClassNameId() |
long |
getOriginalClassPK() |
long |
getOriginalCompanyId() |
long |
getOriginalGroupId() |
int |
getOriginalStatus() |
long |
getOriginalUserId() |
java.lang.String |
getOriginalUuid() |
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.
|
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
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.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 |
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() |
static KBComment |
toModel(KBCommentSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<KBComment> |
toModels(KBCommentSoap[] soapModels)
Converts the soap model instances into normal model instances.
|
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
finalize, getClass, notify, notifyAll, wait, wait, wait
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
public static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long CLASSNAMEID_COLUMN_BITMASK
public static final long CLASSPK_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
public static final long STATUS_COLUMN_BITMASK
public static final long USERID_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long MODIFIEDDATE_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static KBComment toModel(KBCommentSoap soapModel)
soapModel
- the soap model instance to convertpublic static java.util.List<KBComment> toModels(KBCommentSoap[] soapModels)
soapModels
- the soap model instances to convertpublic long getPrimaryKey()
KBCommentModel
getPrimaryKey
in interface KBCommentModel
public void setPrimaryKey(long primaryKey)
KBCommentModel
setPrimaryKey
in interface KBCommentModel
primaryKey
- the primary key of this kb commentpublic 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 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 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()
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
@JSON public java.lang.String getUuid()
KBCommentModel
getUuid
in interface KBCommentModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public void setUuid(java.lang.String uuid)
KBCommentModel
setUuid
in interface KBCommentModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this kb commentpublic java.lang.String getOriginalUuid()
@JSON public long getKbCommentId()
KBCommentModel
getKbCommentId
in interface KBCommentModel
public void setKbCommentId(long kbCommentId)
KBCommentModel
setKbCommentId
in interface KBCommentModel
kbCommentId
- the kb comment ID of this kb comment@JSON public long getGroupId()
KBCommentModel
getGroupId
in interface KBCommentModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public void setGroupId(long groupId)
KBCommentModel
setGroupId
in interface KBCommentModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this kb commentpublic long getOriginalGroupId()
@JSON public long getCompanyId()
KBCommentModel
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 void setCompanyId(long companyId)
KBCommentModel
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 long getOriginalCompanyId()
@JSON public long getUserId()
KBCommentModel
getUserId
in interface KBCommentModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserId(long userId)
KBCommentModel
setUserId
in interface KBCommentModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this kb commentpublic java.lang.String getUserUuid()
KBCommentModel
getUserUuid
in interface KBCommentModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserUuid(java.lang.String userUuid)
KBCommentModel
setUserUuid
in interface KBCommentModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this kb commentpublic long getOriginalUserId()
@JSON public java.lang.String getUserName()
KBCommentModel
getUserName
in interface KBCommentModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserName(java.lang.String userName)
KBCommentModel
setUserName
in interface KBCommentModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this kb comment@JSON public java.util.Date getCreateDate()
KBCommentModel
getCreateDate
in interface KBCommentModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public void setCreateDate(java.util.Date createDate)
KBCommentModel
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 comment@JSON public java.util.Date getModifiedDate()
KBCommentModel
getModifiedDate
in interface KBCommentModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public boolean hasSetModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
KBCommentModel
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 java.lang.String getClassName()
KBCommentModel
getClassName
in interface KBCommentModel
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
public void setClassName(java.lang.String className)
setClassName
in interface KBCommentModel
@JSON public long getClassNameId()
KBCommentModel
getClassNameId
in interface KBCommentModel
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
public void setClassNameId(long classNameId)
KBCommentModel
setClassNameId
in interface KBCommentModel
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
classNameId
- the class name ID of this kb commentpublic long getOriginalClassNameId()
@JSON public long getClassPK()
KBCommentModel
getClassPK
in interface KBCommentModel
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
public void setClassPK(long classPK)
KBCommentModel
setClassPK
in interface KBCommentModel
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
classPK
- the class pk of this kb commentpublic long getOriginalClassPK()
@JSON public java.lang.String getContent()
KBCommentModel
getContent
in interface KBCommentModel
public void setContent(java.lang.String content)
KBCommentModel
setContent
in interface KBCommentModel
content
- the content of this kb comment@JSON public int getUserRating()
KBCommentModel
getUserRating
in interface KBCommentModel
public void setUserRating(int userRating)
KBCommentModel
setUserRating
in interface KBCommentModel
userRating
- the user rating of this kb comment@JSON public java.util.Date getLastPublishDate()
KBCommentModel
getLastPublishDate
in interface KBCommentModel
getLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
public void setLastPublishDate(java.util.Date lastPublishDate)
KBCommentModel
setLastPublishDate
in interface KBCommentModel
setLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
lastPublishDate
- the last publish date of this kb comment@JSON public int getStatus()
KBCommentModel
getStatus
in interface KBCommentModel
public void setStatus(int status)
KBCommentModel
setStatus
in interface KBCommentModel
status
- the status of this kb commentpublic int getOriginalStatus()
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
public long getColumnBitmask()
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
getExpandoBridge
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<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>
setExpandoBridgeAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<KBComment>
public KBComment toEscapedModel()
toEscapedModel
in interface KBCommentModel
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
toEscapedModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<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 com.liferay.portal.kernel.model.impl.BaseModelImpl<KBComment>
public int compareTo(KBComment kbComment)
compareTo
in interface KBCommentModel
compareTo
in interface java.lang.Comparable<KBComment>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface KBCommentModel
hashCode
in class java.lang.Object
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()
public com.liferay.portal.kernel.model.CacheModel<KBComment> toCacheModel()
toCacheModel
in interface KBCommentModel
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<KBComment>
public java.lang.String toString()
toString
in interface KBCommentModel
toString
in class java.lang.Object
public java.lang.String toXmlString()
toXmlString
in interface KBCommentModel
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<KBComment>