Interface CookiesConsentPreferenceModel

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

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

This interface and its corresponding implementation com.liferay.cookies.model.impl.CookiesConsentPreferenceModelImpl 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.cookies.model.impl.CookiesConsentPreferenceImpl.

See Also:
Generated:
  • 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
    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
    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.
    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 cookies consent preference.
      Returns:
      the primary key of this cookies consent preference
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this cookies consent preference.
      Parameters:
      primaryKey - the primary key of this cookies consent preference
    • getMvccVersion

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

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

      long getCookiesConsentPreferenceId()
      Returns the cookies consent preference ID of this cookies consent preference.
      Returns:
      the cookies consent preference ID of this cookies consent preference
    • setCookiesConsentPreferenceId

      void setCookiesConsentPreferenceId(long cookiesConsentPreferenceId)
      Sets the cookies consent preference ID of this cookies consent preference.
      Parameters:
      cookiesConsentPreferenceId - the cookies consent preference ID of this cookies consent preference
    • getCompanyId

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

      void setCompanyId(long companyId)
      Sets the company ID of this cookies consent preference.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this cookies consent preference
    • getUserId

      long getUserId()
      Returns the user ID of this cookies consent preference.
      Returns:
      the user ID of this cookies consent preference
    • setUserId

      void setUserId(long userId)
      Sets the user ID of this cookies consent preference.
      Parameters:
      userId - the user ID of this cookies consent preference
    • getUserUuid

      String getUserUuid()
      Returns the user uuid of this cookies consent preference.
      Returns:
      the user uuid of this cookies consent preference
    • setUserUuid

      void setUserUuid(String userUuid)
      Sets the user uuid of this cookies consent preference.
      Parameters:
      userUuid - the user uuid of this cookies consent preference
    • getUserName

      @AutoEscape String getUserName()
      Returns the user name of this cookies consent preference.
      Returns:
      the user name of this cookies consent preference
    • setUserName

      void setUserName(String userName)
      Sets the user name of this cookies consent preference.
      Parameters:
      userName - the user name of this cookies consent preference
    • getDomain

      @AutoEscape String getDomain()
      Returns the domain of this cookies consent preference.
      Returns:
      the domain of this cookies consent preference
    • setDomain

      void setDomain(String domain)
      Sets the domain of this cookies consent preference.
      Parameters:
      domain - the domain of this cookies consent preference
    • getExpirationDate

      Date getExpirationDate()
      Returns the expiration date of this cookies consent preference.
      Returns:
      the expiration date of this cookies consent preference
    • setExpirationDate

      void setExpirationDate(Date expirationDate)
      Sets the expiration date of this cookies consent preference.
      Parameters:
      expirationDate - the expiration date of this cookies consent preference
    • getName

      @AutoEscape String getName()
      Returns the name of this cookies consent preference.
      Returns:
      the name of this cookies consent preference
    • setName

      void setName(String name)
      Sets the name of this cookies consent preference.
      Parameters:
      name - the name of this cookies consent preference
    • getValue

      @AutoEscape String getValue()
      Returns the value of this cookies consent preference.
      Returns:
      the value of this cookies consent preference
    • setValue

      void setValue(String value)
      Sets the value of this cookies consent preference.
      Parameters:
      value - the value of this cookies consent preference
    • cloneWithOriginalValues

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

      default String toXmlString()