Class CTPreferencesWrapper

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

public class CTPreferencesWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CTPreferences> implements CTPreferences, com.liferay.portal.kernel.model.ModelWrapper<CTPreferences>

This class is a wrapper for CTPreferences.

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

    CT_PREFERENCES_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Returns the company ID of this ct preferences.
    boolean
    Returns the confirmation enabled of this ct preferences.
    long
    Returns the ct collection ID of this ct preferences.
    long
    Returns the ct preferences ID of this ct preferences.
     
    long
    Returns the mvcc version of this ct preferences.
    long
    Returns the previous ct collection ID of this ct preferences.
    long
    Returns the primary key of this ct preferences.
    long
    Returns the user ID of this ct preferences.
    Returns the user uuid of this ct preferences.
    boolean
    Returns true if this ct preferences is confirmation enabled.
    void
     
    void
    setCompanyId(long companyId)
    Sets the company ID of this ct preferences.
    void
    setConfirmationEnabled(boolean confirmationEnabled)
    Sets whether this ct preferences is confirmation enabled.
    void
    setCtCollectionId(long ctCollectionId)
    Sets the ct collection ID of this ct preferences.
    void
    setCtPreferencesId(long ctPreferencesId)
    Sets the ct preferences ID of this ct preferences.
    void
     
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this ct preferences.
    void
    setPreviousCtCollectionId(long previousCtCollectionId)
    Sets the previous ct collection ID of this ct preferences.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this ct preferences.
    void
    setUserId(long userId)
    Sets the user ID of this ct preferences.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this ct preferences.
     
    wrap(CTPreferences ctPreferences)
     

    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

    • CTPreferencesWrapper

      public CTPreferencesWrapper(CTPreferences ctPreferences)
  • Method Details

    • getModelAttributes

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

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

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

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

      public boolean getConfirmationEnabled()
      Returns the confirmation enabled of this ct preferences.
      Specified by:
      getConfirmationEnabled in interface CTPreferencesModel
      Returns:
      the confirmation enabled of this ct preferences
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this ct preferences.
      Specified by:
      getCtCollectionId in interface CTPreferencesModel
      Returns:
      the ct collection ID of this ct preferences
    • getCtPreferencesId

      public long getCtPreferencesId()
      Returns the ct preferences ID of this ct preferences.
      Specified by:
      getCtPreferencesId in interface CTPreferencesModel
      Returns:
      the ct preferences ID of this ct preferences
    • getMvccVersion

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

      public long getPreviousCtCollectionId()
      Returns the previous ct collection ID of this ct preferences.
      Specified by:
      getPreviousCtCollectionId in interface CTPreferencesModel
      Returns:
      the previous ct collection ID of this ct preferences
    • getPrimaryKey

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

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

      public String getUserUuid()
      Returns the user uuid of this ct preferences.
      Specified by:
      getUserUuid in interface CTPreferencesModel
      Returns:
      the user uuid of this ct preferences
    • isConfirmationEnabled

      public boolean isConfirmationEnabled()
      Returns true if this ct preferences is confirmation enabled.
      Specified by:
      isConfirmationEnabled in interface CTPreferencesModel
      Returns:
      true if this ct preferences is confirmation enabled; false otherwise
    • 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 preferences.
      Specified by:
      setCompanyId in interface CTPreferencesModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this ct preferences
    • setConfirmationEnabled

      public void setConfirmationEnabled(boolean confirmationEnabled)
      Sets whether this ct preferences is confirmation enabled.
      Specified by:
      setConfirmationEnabled in interface CTPreferencesModel
      Parameters:
      confirmationEnabled - the confirmation enabled of this ct preferences
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this ct preferences.
      Specified by:
      setCtCollectionId in interface CTPreferencesModel
      Parameters:
      ctCollectionId - the ct collection ID of this ct preferences
    • setCtPreferencesId

      public void setCtPreferencesId(long ctPreferencesId)
      Sets the ct preferences ID of this ct preferences.
      Specified by:
      setCtPreferencesId in interface CTPreferencesModel
      Parameters:
      ctPreferencesId - the ct preferences ID of this ct preferences
    • setMvccVersion

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

      public void setPreviousCtCollectionId(long previousCtCollectionId)
      Sets the previous ct collection ID of this ct preferences.
      Specified by:
      setPreviousCtCollectionId in interface CTPreferencesModel
      Parameters:
      previousCtCollectionId - the previous ct collection ID of this ct preferences
    • setPrimaryKey

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

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

      public void setUserUuid(String userUuid)
      Sets the user uuid of this ct preferences.
      Specified by:
      setUserUuid in interface CTPreferencesModel
      Parameters:
      userUuid - the user uuid of this ct preferences
    • toXmlString

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

      protected CTPreferencesWrapper wrap(CTPreferences ctPreferences)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CTPreferences>