Class CTMessageWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CTMessage>
com.liferay.change.tracking.model.CTMessageWrapper
- All Implemented Interfaces:
CTMessage
,CTMessageModel
,com.liferay.portal.kernel.model.BaseModel<CTMessage>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ModelWrapper<CTMessage>
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,Serializable
,Cloneable
,Comparable<CTMessage>
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
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.change.tracking.model.CTMessage
CT_MESSAGE_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the company ID of this ct message.long
Returns the ct collection ID of this ct message.long
Returns the ct message ID of this ct message.Returns the message content of this ct message.long
Returns the mvcc version of this ct message.long
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
(String messageContent) Sets the message content of this ct message.void
setModelAttributes
(Map<String, 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
Methods 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, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
CTMessageWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CTMessage>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CTMessage>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CTMessage>
- Specified by:
cloneWithOriginalValues
in interfaceCTMessageModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this ct message.- Specified by:
getCompanyId
in interfaceCTMessageModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Returns:
- the company ID of this ct message
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this ct message.- Specified by:
getCtCollectionId
in interfaceCTMessageModel
- Returns:
- the ct collection ID of this ct message
-
getCtMessageId
public long getCtMessageId()Returns the ct message ID of this ct message.- Specified by:
getCtMessageId
in interfaceCTMessageModel
- Returns:
- the ct message ID of this ct message
-
getMessageContent
Returns the message content of this ct message.- Specified by:
getMessageContent
in interfaceCTMessageModel
- Returns:
- the message content of this ct message
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this ct message.- Specified by:
getMvccVersion
in interfaceCTMessageModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this ct message
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this ct message.- Specified by:
getPrimaryKey
in interfaceCTMessageModel
- Returns:
- the primary key of this ct message
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this ct message.- Specified by:
setCompanyId
in interfaceCTMessageModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Parameters:
companyId
- the company ID of this ct message
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this ct message.- Specified by:
setCtCollectionId
in interfaceCTMessageModel
- Parameters:
ctCollectionId
- the ct collection ID of this ct message
-
setCtMessageId
public void setCtMessageId(long ctMessageId) Sets the ct message ID of this ct message.- Specified by:
setCtMessageId
in interfaceCTMessageModel
- Parameters:
ctMessageId
- the ct message ID of this ct message
-
setMessageContent
Sets the message content of this ct message.- Specified by:
setMessageContent
in interfaceCTMessageModel
- Parameters:
messageContent
- the message content of this ct message
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this ct message.- Specified by:
setMvccVersion
in interfaceCTMessageModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this ct message
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this ct message.- Specified by:
setPrimaryKey
in interfaceCTMessageModel
- Parameters:
primaryKey
- the primary key of this ct message
-
toXmlString
- Specified by:
toXmlString
in interfaceCTMessageModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CTMessage>
-