Class PortalPreferenceValueModelImpl

Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
com.liferay.portal.model.impl.PortalPreferenceValueModelImpl
All Implemented Interfaces:
com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortalPreferenceValue>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PortalPreferenceValueModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<com.liferay.portal.kernel.model.PortalPreferenceValue>
Direct Known Subclasses:
PortalPreferenceValueBaseImpl

public class PortalPreferenceValueModelImpl extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortalPreferenceValue> implements com.liferay.portal.kernel.model.PortalPreferenceValueModel
The base model implementation for the PortalPreferenceValue service. Represents a row in the "PortalPreferenceValue" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface PortalPreferenceValueModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in PortalPreferenceValueImpl.

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Field Details

  • Constructor Details

    • PortalPreferenceValueModelImpl

      public PortalPreferenceValueModelImpl()
  • Method Details

    • getPrimaryKey

      public long getPrimaryKey()
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.PortalPreferenceValueModel
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.PortalPreferenceValueModel
    • getPrimaryKeyObj

      public Serializable getPrimaryKeyObj()
      Specified by:
      getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortalPreferenceValue>
      Specified by:
      getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel
    • setPrimaryKeyObj

      public void setPrimaryKeyObj(Serializable primaryKeyObj)
      Specified by:
      setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortalPreferenceValue>
      Specified by:
      setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel
    • getModelClass

      public Class<?> getModelClass()
      Specified by:
      getModelClass in interface com.liferay.portal.kernel.model.ClassedModel
    • getModelClassName

      public String getModelClassName()
      Specified by:
      getModelClassName in interface com.liferay.portal.kernel.model.ClassedModel
    • getModelAttributes

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

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortalPreferenceValue>
      Overrides:
      setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
    • getAttributeGetterFunctions

      public Map<String,Function<com.liferay.portal.kernel.model.PortalPreferenceValue,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortalPreferenceValue>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<com.liferay.portal.kernel.model.PortalPreferenceValue,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortalPreferenceValue>
    • getMvccVersion

      public long getMvccVersion()
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.PortalPreferenceValueModel
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.PortalPreferenceValueModel
    • getPortalPreferenceValueId

      public long getPortalPreferenceValueId()
      Specified by:
      getPortalPreferenceValueId in interface com.liferay.portal.kernel.model.PortalPreferenceValueModel
    • setPortalPreferenceValueId

      public void setPortalPreferenceValueId(long portalPreferenceValueId)
      Specified by:
      setPortalPreferenceValueId in interface com.liferay.portal.kernel.model.PortalPreferenceValueModel
    • getCompanyId

      public long getCompanyId()
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.PortalPreferenceValueModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
    • setCompanyId

      public void setCompanyId(long companyId)
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.PortalPreferenceValueModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
    • getPortalPreferencesId

      public long getPortalPreferencesId()
      Specified by:
      getPortalPreferencesId in interface com.liferay.portal.kernel.model.PortalPreferenceValueModel
    • setPortalPreferencesId

      public void setPortalPreferencesId(long portalPreferencesId)
      Specified by:
      setPortalPreferencesId in interface com.liferay.portal.kernel.model.PortalPreferenceValueModel
    • getOriginalPortalPreferencesId

      @Deprecated public long getOriginalPortalPreferencesId()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getIndex

      public int getIndex()
      Specified by:
      getIndex in interface com.liferay.portal.kernel.model.PortalPreferenceValueModel
    • setIndex

      public void setIndex(int index)
      Specified by:
      setIndex in interface com.liferay.portal.kernel.model.PortalPreferenceValueModel
    • getOriginalIndex

      @Deprecated public int getOriginalIndex()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getKey

      public String getKey()
      Specified by:
      getKey in interface com.liferay.portal.kernel.model.PortalPreferenceValueModel
    • setKey

      public void setKey(String key)
      Specified by:
      setKey in interface com.liferay.portal.kernel.model.PortalPreferenceValueModel
    • getOriginalKey

      @Deprecated public String getOriginalKey()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getLargeValue

      public String getLargeValue()
      Specified by:
      getLargeValue in interface com.liferay.portal.kernel.model.PortalPreferenceValueModel
    • setLargeValue

      public void setLargeValue(String largeValue)
      Specified by:
      setLargeValue in interface com.liferay.portal.kernel.model.PortalPreferenceValueModel
    • getNamespace

      public String getNamespace()
      Specified by:
      getNamespace in interface com.liferay.portal.kernel.model.PortalPreferenceValueModel
    • setNamespace

      public void setNamespace(String namespace)
      Specified by:
      setNamespace in interface com.liferay.portal.kernel.model.PortalPreferenceValueModel
    • getOriginalNamespace

      @Deprecated public String getOriginalNamespace()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getSmallValue

      public String getSmallValue()
      Specified by:
      getSmallValue in interface com.liferay.portal.kernel.model.PortalPreferenceValueModel
    • setSmallValue

      public void setSmallValue(String smallValue)
      Specified by:
      setSmallValue in interface com.liferay.portal.kernel.model.PortalPreferenceValueModel
    • getOriginalSmallValue

      @Deprecated public String getOriginalSmallValue()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getColumnBitmask

      public long getColumnBitmask()
    • getExpandoBridge

      public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
      Specified by:
      getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortalPreferenceValue>
      Specified by:
      getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModel
      Overrides:
      getExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
    • setExpandoBridgeAttributes

      public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
      Specified by:
      setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortalPreferenceValue>
      Overrides:
      setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
    • toEscapedModel

      public com.liferay.portal.kernel.model.PortalPreferenceValue toEscapedModel()
      Specified by:
      toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortalPreferenceValue>
      Overrides:
      toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
    • clone

      public Object clone()
      Specified by:
      clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortalPreferenceValue>
      Specified by:
      clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
    • cloneWithOriginalValues

      public com.liferay.portal.kernel.model.PortalPreferenceValue cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortalPreferenceValue>
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.PortalPreferenceValueModel
    • compareTo

      public int compareTo(com.liferay.portal.kernel.model.PortalPreferenceValue portalPreferenceValue)
      Specified by:
      compareTo in interface Comparable<com.liferay.portal.kernel.model.PortalPreferenceValue>
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isEntityCacheEnabled

      @Deprecated public boolean isEntityCacheEnabled()
      Deprecated.
      As of Athanasius (7.3.x), with no direct replacement
      Specified by:
      isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortalPreferenceValue>
    • isFinderCacheEnabled

      @Deprecated public boolean isFinderCacheEnabled()
      Deprecated.
      As of Athanasius (7.3.x), with no direct replacement
      Specified by:
      isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortalPreferenceValue>
    • resetOriginalValues

      public void resetOriginalValues()
      Specified by:
      resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortalPreferenceValue>
      Overrides:
      resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
    • toCacheModel

      public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.PortalPreferenceValue> toCacheModel()
      Specified by:
      toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortalPreferenceValue>
      Overrides:
      toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortalPreferenceValue>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getColumnValue

      public <T> T getColumnValue(String columnName)
    • getColumnOriginalValue

      public <T> T getColumnOriginalValue(String columnName)
    • getColumnBitmask

      public static long getColumnBitmask(String columnName)