Class CTCommentWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CTComment>
com.liferay.change.tracking.model.CTCommentWrapper
All Implemented Interfaces:
CTComment, CTCommentModel, com.liferay.portal.kernel.model.BaseModel<CTComment>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<CTComment>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<CTComment>

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.

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.CTComment

    CT_COMMENT_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Returns the company ID of this ct comment.
    Returns the create date of this ct comment.
    long
    Returns the ct collection ID of this ct comment.
    long
    Returns the ct comment ID of this ct comment.
    long
    Returns the ct entry ID of this ct comment.
     
    Returns the modified date of this ct comment.
    long
    Returns the mvcc version of this ct comment.
    long
    Returns the primary key of this ct comment.
    long
    Returns the user ID of this ct comment.
    Returns the user uuid of this ct comment.
    Returns the value of this ct comment.
    boolean
     
    void
     
    void
    setCompanyId(long companyId)
    Sets the company ID of this ct comment.
    void
    setCreateDate(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
     
    void
    setModifiedDate(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(String userUuid)
    Sets the user uuid of this ct comment.
    void
    Sets the value of this ct comment.
     
    wrap(CTComment ctComment)
     

    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

    • CTCommentWrapper

      public CTCommentWrapper(CTComment ctComment)
  • Method Details

    • getModelAttributes

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

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

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

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

      public Date getCreateDate()
      Returns the create date of this ct comment.
      Specified by:
      getCreateDate in interface CTCommentModel
      Returns:
      the create date of this ct comment
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this ct comment.
      Specified by:
      getCtCollectionId in interface CTCommentModel
      Returns:
      the ct collection ID of this ct comment
    • getCtCommentId

      public long getCtCommentId()
      Returns the ct comment ID of this ct comment.
      Specified by:
      getCtCommentId in interface CTCommentModel
      Returns:
      the ct comment ID of this ct comment
    • getCtEntryId

      public long getCtEntryId()
      Returns the ct entry ID of this ct comment.
      Specified by:
      getCtEntryId in interface CTCommentModel
      Returns:
      the ct entry ID of this ct comment
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this ct comment.
      Specified by:
      getModifiedDate in interface CTCommentModel
      Returns:
      the modified date of this ct comment
    • getMvccVersion

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

      public long getPrimaryKey()
      Returns the primary key of this ct comment.
      Specified by:
      getPrimaryKey in interface CTCommentModel
      Returns:
      the primary key of this ct comment
    • getUserId

      public long getUserId()
      Returns the user ID of this ct comment.
      Specified by:
      getUserId in interface CTCommentModel
      Returns:
      the user ID of this ct comment
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this ct comment.
      Specified by:
      getUserUuid in interface CTCommentModel
      Returns:
      the user uuid of this ct comment
    • getValue

      public String getValue()
      Returns the value of this ct comment.
      Specified by:
      getValue in interface CTCommentModel
      Returns:
      the value of this ct comment
    • isEdited

      public boolean isEdited()
      Specified by:
      isEdited in interface CTComment
    • 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 comment.
      Specified by:
      setCompanyId in interface CTCommentModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this ct comment
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this ct comment.
      Specified by:
      setCreateDate in interface CTCommentModel
      Parameters:
      createDate - the create date of this ct comment
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this ct comment.
      Specified by:
      setCtCollectionId in interface CTCommentModel
      Parameters:
      ctCollectionId - the ct collection ID of this ct comment
    • setCtCommentId

      public void setCtCommentId(long ctCommentId)
      Sets the ct comment ID of this ct comment.
      Specified by:
      setCtCommentId in interface CTCommentModel
      Parameters:
      ctCommentId - the ct comment ID of this ct comment
    • setCtEntryId

      public void setCtEntryId(long ctEntryId)
      Sets the ct entry ID of this ct comment.
      Specified by:
      setCtEntryId in interface CTCommentModel
      Parameters:
      ctEntryId - the ct entry ID of this ct comment
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this ct comment.
      Specified by:
      setModifiedDate in interface CTCommentModel
      Parameters:
      modifiedDate - the modified date of this ct comment
    • setMvccVersion

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

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this ct comment.
      Specified by:
      setPrimaryKey in interface CTCommentModel
      Parameters:
      primaryKey - the primary key of this ct comment
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this ct comment.
      Specified by:
      setUserId in interface CTCommentModel
      Parameters:
      userId - the user ID of this ct comment
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this ct comment.
      Specified by:
      setUserUuid in interface CTCommentModel
      Parameters:
      userUuid - the user uuid of this ct comment
    • setValue

      public void setValue(String value)
      Sets the value of this ct comment.
      Specified by:
      setValue in interface CTCommentModel
      Parameters:
      value - the value of this ct comment
    • toXmlString

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

      protected CTCommentWrapper wrap(CTComment ctComment)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CTComment>