Interface CTMessageModel

All Superinterfaces:
com.liferay.portal.kernel.model.BaseModel<CTMessage>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<CTMessage>, com.liferay.portal.kernel.model.MVCCModel, Serializable, com.liferay.portal.kernel.model.ShardedModel
All Known Subinterfaces:
CTMessage
All Known Implementing Classes:
CTMessageWrapper

@ProviderType public interface CTMessageModel extends com.liferay.portal.kernel.model.BaseModel<CTMessage>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel
The base model interface for the CTMessage service. Represents a row in the "CTMessage" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.change.tracking.model.impl.CTMessageModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.change.tracking.model.impl.CTMessageImpl.

See Also:
Generated:
  • 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
    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
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this ct message.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this ct message.
    default String
     

    Methods inherited from interface com.liferay.portal.kernel.model.BaseModel

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this ct message.
      Returns:
      the primary key of this ct message
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this ct message.
      Parameters:
      primaryKey - the primary key of this ct message
    • getMvccVersion

      long getMvccVersion()
      Returns the mvcc version of this ct message.
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this ct message
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this ct message.
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this ct message
    • getCtMessageId

      long getCtMessageId()
      Returns the ct message ID of this ct message.
      Returns:
      the ct message ID of this ct message
    • setCtMessageId

      void setCtMessageId(long ctMessageId)
      Sets the ct message ID of this ct message.
      Parameters:
      ctMessageId - the ct message ID of this ct message
    • getCompanyId

      long getCompanyId()
      Returns the company ID of this ct message.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this ct message
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this ct message.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this ct message
    • getCtCollectionId

      long getCtCollectionId()
      Returns the ct collection ID of this ct message.
      Returns:
      the ct collection ID of this ct message
    • setCtCollectionId

      void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this ct message.
      Parameters:
      ctCollectionId - the ct collection ID of this ct message
    • getMessageContent

      @AutoEscape String getMessageContent()
      Returns the message content of this ct message.
      Returns:
      the message content of this ct message
    • setMessageContent

      void setMessageContent(String messageContent)
      Sets the message content of this ct message.
      Parameters:
      messageContent - the message content of this ct message
    • cloneWithOriginalValues

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

      default String toXmlString()