public class CTCommentWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CTComment> implements CTComment, com.liferay.portal.kernel.model.ModelWrapper<CTComment>
This class is a wrapper for CTComment
.
CTComment
,
Serialized FormCT_COMMENT_ID_ACCESSOR
Constructor and Description |
---|
CTCommentWrapper(CTComment ctComment) |
Modifier and Type | Method and Description |
---|---|
CTComment |
cloneWithOriginalValues() |
long |
getCompanyId()
Returns the company ID of this ct comment.
|
java.util.Date |
getCreateDate()
Returns the create date of this ct comment.
|
long |
getCtCollectionId()
Returns the ct collection ID of this ct comment.
|
long |
getCtCommentId()
Returns the ct comment ID of this ct comment.
|
long |
getCtEntryId()
Returns the ct entry ID of this ct comment.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this ct comment.
|
long |
getMvccVersion()
Returns the mvcc version of this ct comment.
|
long |
getPrimaryKey()
Returns the primary key of this ct comment.
|
long |
getUserId()
Returns the user ID of this ct comment.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this ct comment.
|
java.lang.String |
getValue()
Returns the value of this ct comment.
|
boolean |
isEdited() |
void |
persist() |
void |
setCompanyId(long companyId)
Sets the company ID of this ct comment.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this ct comment.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this ct comment.
|
void |
setCtCommentId(long ctCommentId)
Sets the ct comment ID of this ct comment.
|
void |
setCtEntryId(long ctEntryId)
Sets the ct entry ID of this ct 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 ct comment.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this ct comment.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this ct comment.
|
void |
setUserId(long userId)
Sets the user ID of this ct comment.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this ct comment.
|
void |
setValue(java.lang.String value)
Sets the value of this ct comment.
|
protected CTCommentWrapper |
wrap(CTComment ctComment) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public CTCommentWrapper(CTComment ctComment)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<CTComment>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<CTComment>
public CTComment cloneWithOriginalValues()
cloneWithOriginalValues
in interface CTCommentModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CTComment>
public long getCompanyId()
getCompanyId
in interface CTCommentModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public java.util.Date getCreateDate()
getCreateDate
in interface CTCommentModel
public long getCtCollectionId()
getCtCollectionId
in interface CTCommentModel
public long getCtCommentId()
getCtCommentId
in interface CTCommentModel
public long getCtEntryId()
getCtEntryId
in interface CTCommentModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface CTCommentModel
public long getMvccVersion()
getMvccVersion
in interface CTCommentModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public long getPrimaryKey()
getPrimaryKey
in interface CTCommentModel
public long getUserId()
getUserId
in interface CTCommentModel
public java.lang.String getUserUuid()
getUserUuid
in interface CTCommentModel
public java.lang.String getValue()
getValue
in interface CTCommentModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCompanyId(long companyId)
setCompanyId
in interface CTCommentModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this ct commentpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface CTCommentModel
createDate
- the create date of this ct commentpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface CTCommentModel
ctCollectionId
- the ct collection ID of this ct commentpublic void setCtCommentId(long ctCommentId)
setCtCommentId
in interface CTCommentModel
ctCommentId
- the ct comment ID of this ct commentpublic void setCtEntryId(long ctEntryId)
setCtEntryId
in interface CTCommentModel
ctEntryId
- the ct entry ID of this ct commentpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface CTCommentModel
modifiedDate
- the modified date of this ct commentpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface CTCommentModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this ct commentpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CTCommentModel
primaryKey
- the primary key of this ct commentpublic void setUserId(long userId)
setUserId
in interface CTCommentModel
userId
- the user ID of this ct commentpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface CTCommentModel
userUuid
- the user uuid of this ct commentpublic void setValue(java.lang.String value)
setValue
in interface CTCommentModel
value
- the value of this ct commentprotected CTCommentWrapper wrap(CTComment ctComment)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CTComment>