Class CookiesConsentPreferenceWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CookiesConsentPreference>
com.liferay.cookies.model.CookiesConsentPreferenceWrapper
All Implemented Interfaces:
CookiesConsentPreference, CookiesConsentPreferenceModel, com.liferay.portal.kernel.model.BaseModel<CookiesConsentPreference>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<CookiesConsentPreference>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<CookiesConsentPreference>

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

This class is a wrapper for CookiesConsentPreference.

See Also:
Generated:
  • Field Summary

    Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    model

    Fields inherited from interface com.liferay.cookies.model.CookiesConsentPreference

    COOKIES_CONSENT_PREFERENCE_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Returns the company ID of this cookies consent preference.
    long
    Returns the cookies consent preference ID of this cookies consent preference.
    Returns the domain of this cookies consent preference.
    Returns the expiration date of this cookies consent preference.
     
    long
    Returns the mvcc version of this cookies consent preference.
    Returns the name of this cookies consent preference.
    long
    Returns the primary key of this cookies consent preference.
    long
    Returns the user ID of this cookies consent preference.
    Returns the user name of this cookies consent preference.
    Returns the user uuid of this cookies consent preference.
    Returns the value of this cookies consent preference.
    void
     
    void
    setCompanyId(long companyId)
    Sets the company ID of this cookies consent preference.
    void
    setCookiesConsentPreferenceId(long cookiesConsentPreferenceId)
    Sets the cookies consent preference ID of this cookies consent preference.
    void
    setDomain(String domain)
    Sets the domain of this cookies consent preference.
    void
    setExpirationDate(Date expirationDate)
    Sets the expiration date of this cookies consent preference.
    void
     
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this cookies consent preference.
    void
    Sets the name of this cookies consent preference.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this cookies consent preference.
    void
    setUserId(long userId)
    Sets the user ID of this cookies consent preference.
    void
    setUserName(String userName)
    Sets the user name of this cookies consent preference.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this cookies consent preference.
    void
    Sets the value of this cookies consent preference.
     
    wrap(CookiesConsentPreference cookiesConsentPreference)
     

    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, copyCacheFields, 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

    • CookiesConsentPreferenceWrapper

      public CookiesConsentPreferenceWrapper(CookiesConsentPreference cookiesConsentPreference)
  • Method Details

    • getModelAttributes

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

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

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

      public long getCompanyId()
      Returns the company ID of this cookies consent preference.
      Specified by:
      getCompanyId in interface CookiesConsentPreferenceModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this cookies consent preference
    • getCookiesConsentPreferenceId

      public long getCookiesConsentPreferenceId()
      Returns the cookies consent preference ID of this cookies consent preference.
      Specified by:
      getCookiesConsentPreferenceId in interface CookiesConsentPreferenceModel
      Returns:
      the cookies consent preference ID of this cookies consent preference
    • getDomain

      public String getDomain()
      Returns the domain of this cookies consent preference.
      Specified by:
      getDomain in interface CookiesConsentPreferenceModel
      Returns:
      the domain of this cookies consent preference
    • getExpirationDate

      public Date getExpirationDate()
      Returns the expiration date of this cookies consent preference.
      Specified by:
      getExpirationDate in interface CookiesConsentPreferenceModel
      Returns:
      the expiration date of this cookies consent preference
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this cookies consent preference.
      Specified by:
      getMvccVersion in interface CookiesConsentPreferenceModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this cookies consent preference
    • getName

      public String getName()
      Returns the name of this cookies consent preference.
      Specified by:
      getName in interface CookiesConsentPreferenceModel
      Returns:
      the name of this cookies consent preference
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this cookies consent preference.
      Specified by:
      getPrimaryKey in interface CookiesConsentPreferenceModel
      Returns:
      the primary key of this cookies consent preference
    • getUserId

      public long getUserId()
      Returns the user ID of this cookies consent preference.
      Specified by:
      getUserId in interface CookiesConsentPreferenceModel
      Returns:
      the user ID of this cookies consent preference
    • getUserName

      public String getUserName()
      Returns the user name of this cookies consent preference.
      Specified by:
      getUserName in interface CookiesConsentPreferenceModel
      Returns:
      the user name of this cookies consent preference
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this cookies consent preference.
      Specified by:
      getUserUuid in interface CookiesConsentPreferenceModel
      Returns:
      the user uuid of this cookies consent preference
    • getValue

      public String getValue()
      Returns the value of this cookies consent preference.
      Specified by:
      getValue in interface CookiesConsentPreferenceModel
      Returns:
      the value of this cookies consent preference
    • 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 cookies consent preference.
      Specified by:
      setCompanyId in interface CookiesConsentPreferenceModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this cookies consent preference
    • setCookiesConsentPreferenceId

      public void setCookiesConsentPreferenceId(long cookiesConsentPreferenceId)
      Sets the cookies consent preference ID of this cookies consent preference.
      Specified by:
      setCookiesConsentPreferenceId in interface CookiesConsentPreferenceModel
      Parameters:
      cookiesConsentPreferenceId - the cookies consent preference ID of this cookies consent preference
    • setDomain

      public void setDomain(String domain)
      Sets the domain of this cookies consent preference.
      Specified by:
      setDomain in interface CookiesConsentPreferenceModel
      Parameters:
      domain - the domain of this cookies consent preference
    • setExpirationDate

      public void setExpirationDate(Date expirationDate)
      Sets the expiration date of this cookies consent preference.
      Specified by:
      setExpirationDate in interface CookiesConsentPreferenceModel
      Parameters:
      expirationDate - the expiration date of this cookies consent preference
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this cookies consent preference.
      Specified by:
      setMvccVersion in interface CookiesConsentPreferenceModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this cookies consent preference
    • setName

      public void setName(String name)
      Sets the name of this cookies consent preference.
      Specified by:
      setName in interface CookiesConsentPreferenceModel
      Parameters:
      name - the name of this cookies consent preference
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this cookies consent preference.
      Specified by:
      setPrimaryKey in interface CookiesConsentPreferenceModel
      Parameters:
      primaryKey - the primary key of this cookies consent preference
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this cookies consent preference.
      Specified by:
      setUserId in interface CookiesConsentPreferenceModel
      Parameters:
      userId - the user ID of this cookies consent preference
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this cookies consent preference.
      Specified by:
      setUserName in interface CookiesConsentPreferenceModel
      Parameters:
      userName - the user name of this cookies consent preference
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this cookies consent preference.
      Specified by:
      setUserUuid in interface CookiesConsentPreferenceModel
      Parameters:
      userUuid - the user uuid of this cookies consent preference
    • setValue

      public void setValue(String value)
      Sets the value of this cookies consent preference.
      Specified by:
      setValue in interface CookiesConsentPreferenceModel
      Parameters:
      value - the value of this cookies consent preference
    • toXmlString

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

      protected CookiesConsentPreferenceWrapper wrap(CookiesConsentPreference cookiesConsentPreference)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CookiesConsentPreference>