public class CTMessageWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CTMessage> implements CTMessage, com.liferay.portal.kernel.model.ModelWrapper<CTMessage>
This class is a wrapper for CTMessage.
CTMessage,
Serialized FormCT_MESSAGE_ID_ACCESSOR| Constructor and Description |
|---|
CTMessageWrapper(CTMessage ctMessage) |
| Modifier and Type | Method and Description |
|---|---|
CTMessage |
cloneWithOriginalValues() |
long |
getCompanyId()
Returns the company ID of this ct message.
|
long |
getCtCollectionId()
Returns the ct collection ID of this ct message.
|
long |
getCtMessageId()
Returns the ct message ID of this ct message.
|
java.lang.String |
getMessageContent()
Returns the message content of this ct message.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this ct message.
|
long |
getPrimaryKey()
Returns the primary key of this ct message.
|
void |
persist() |
void |
setCompanyId(long companyId)
Sets the company ID of this ct message.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this ct message.
|
void |
setCtMessageId(long ctMessageId)
Sets the ct message ID of this ct message.
|
void |
setMessageContent(java.lang.String messageContent)
Sets the message content of this ct message.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this ct message.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this ct message.
|
protected CTMessageWrapper |
wrap(CTMessage ctMessage) |
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, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic CTMessageWrapper(CTMessage ctMessage)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CTMessage>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CTMessage>public CTMessage cloneWithOriginalValues()
cloneWithOriginalValues in interface CTMessageModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CTMessage>public long getCompanyId()
getCompanyId in interface CTMessageModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic long getCtCollectionId()
getCtCollectionId in interface CTMessageModelpublic long getCtMessageId()
getCtMessageId in interface CTMessageModelpublic java.lang.String getMessageContent()
getMessageContent in interface CTMessageModelpublic long getMvccVersion()
getMvccVersion in interface CTMessageModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic long getPrimaryKey()
getPrimaryKey in interface CTMessageModelpublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface CTMessageModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this ct messagepublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface CTMessageModelctCollectionId - the ct collection ID of this ct messagepublic void setCtMessageId(long ctMessageId)
setCtMessageId in interface CTMessageModelctMessageId - the ct message ID of this ct messagepublic void setMessageContent(java.lang.String messageContent)
setMessageContent in interface CTMessageModelmessageContent - the message content of this ct messagepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface CTMessageModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this ct messagepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CTMessageModelprimaryKey - the primary key of this ct messageprotected CTMessageWrapper wrap(CTMessage ctMessage)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CTMessage>