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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    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
     
    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
     
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this ct message.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this ct message.
     
    wrap(CTMessage ctMessage)
     

    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

      public CTMessageWrapper(CTMessage ctMessage)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CTMessage>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CTMessage>
    • cloneWithOriginalValues

      public CTMessage cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CTMessage>
      Specified by:
      cloneWithOriginalValues in interface CTMessageModel
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this ct message.
      Specified by:
      getCompanyId in interface CTMessageModel
      Specified by:
      getCompanyId in interface com.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 interface CTMessageModel
      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 interface CTMessageModel
      Returns:
      the ct message ID of this ct message
    • getMessageContent

      public String getMessageContent()
      Returns the message content of this ct message.
      Specified by:
      getMessageContent in interface CTMessageModel
      Returns:
      the message content of this ct message
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this ct message.
      Specified by:
      getMvccVersion in interface CTMessageModel
      Specified by:
      getMvccVersion in interface com.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 interface CTMessageModel
      Returns:
      the primary key of this ct message
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this ct message.
      Specified by:
      setCompanyId in interface CTMessageModel
      Specified by:
      setCompanyId in interface com.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 interface CTMessageModel
      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 interface CTMessageModel
      Parameters:
      ctMessageId - the ct message ID of this ct message
    • setMessageContent

      public void setMessageContent(String messageContent)
      Sets the message content of this ct message.
      Specified by:
      setMessageContent in interface CTMessageModel
      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 interface CTMessageModel
      Specified by:
      setMvccVersion in interface com.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 interface CTMessageModel
      Parameters:
      primaryKey - the primary key of this ct message
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface CTMessageModel
    • wrap

      protected CTMessageWrapper wrap(CTMessage ctMessage)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CTMessage>