Class PortletPreferenceValueModelImpl

Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
com.liferay.portal.model.impl.PortletPreferenceValueModelImpl
All Implemented Interfaces:
com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferenceValue>, com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.PortletPreferenceValue>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PortletPreferenceValueModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<com.liferay.portal.kernel.model.PortletPreferenceValue>
Direct Known Subclasses:
PortletPreferenceValueBaseImpl

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

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

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

  • Constructor Details

    • PortletPreferenceValueModelImpl

      public PortletPreferenceValueModelImpl()
  • Method Details

    • getPrimaryKey

      public long getPrimaryKey()
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.PortletPreferenceValue>
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.PortletPreferenceValueModel
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.PortletPreferenceValue>
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.PortletPreferenceValueModel
    • getPrimaryKeyObj

      public Serializable getPrimaryKeyObj()
      Specified by:
      getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferenceValue>
      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.PortletPreferenceValue>
      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.PortletPreferenceValue>
      Overrides:
      getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
    • setModelAttributes

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

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

      public Map<String,BiConsumer<com.liferay.portal.kernel.model.PortletPreferenceValue,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferenceValue>
    • 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.PortletPreferenceValueModel
    • 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.PortletPreferenceValueModel
    • getCtCollectionId

      public long getCtCollectionId()
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.PortletPreferenceValue>
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.PortletPreferenceValueModel
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.PortletPreferenceValue>
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.PortletPreferenceValueModel
    • getPortletPreferenceValueId

      public long getPortletPreferenceValueId()
      Specified by:
      getPortletPreferenceValueId in interface com.liferay.portal.kernel.model.PortletPreferenceValueModel
    • setPortletPreferenceValueId

      public void setPortletPreferenceValueId(long portletPreferenceValueId)
      Specified by:
      setPortletPreferenceValueId in interface com.liferay.portal.kernel.model.PortletPreferenceValueModel
    • getCompanyId

      public long getCompanyId()
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.PortletPreferenceValueModel
      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.PortletPreferenceValueModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
    • getOriginalCompanyId

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

      public long getPortletPreferencesId()
      Specified by:
      getPortletPreferencesId in interface com.liferay.portal.kernel.model.PortletPreferenceValueModel
    • setPortletPreferencesId

      public void setPortletPreferencesId(long portletPreferencesId)
      Specified by:
      setPortletPreferencesId in interface com.liferay.portal.kernel.model.PortletPreferenceValueModel
    • getOriginalPortletPreferencesId

      @Deprecated public long getOriginalPortletPreferencesId()
      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.PortletPreferenceValueModel
    • setIndex

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

      @Deprecated public int getOriginalIndex()
      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.PortletPreferenceValueModel
    • setLargeValue

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

      public String getName()
      Specified by:
      getName in interface com.liferay.portal.kernel.model.PortletPreferenceValueModel
    • setName

      public void setName(String name)
      Specified by:
      setName in interface com.liferay.portal.kernel.model.PortletPreferenceValueModel
    • getOriginalName

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

      public boolean getReadOnly()
      Specified by:
      getReadOnly in interface com.liferay.portal.kernel.model.PortletPreferenceValueModel
    • isReadOnly

      public boolean isReadOnly()
      Specified by:
      isReadOnly in interface com.liferay.portal.kernel.model.PortletPreferenceValueModel
    • setReadOnly

      public void setReadOnly(boolean readOnly)
      Specified by:
      setReadOnly in interface com.liferay.portal.kernel.model.PortletPreferenceValueModel
    • getSmallValue

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

      public void setSmallValue(String smallValue)
      Specified by:
      setSmallValue in interface com.liferay.portal.kernel.model.PortletPreferenceValueModel
    • 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.PortletPreferenceValue>
      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.PortletPreferenceValue>
    • 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.PortletPreferenceValue>
      Overrides:
      setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
    • toEscapedModel

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

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

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

      public int compareTo(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue)
      Specified by:
      compareTo in interface Comparable<com.liferay.portal.kernel.model.PortletPreferenceValue>
    • 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.PortletPreferenceValue>
    • 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.PortletPreferenceValue>
    • resetOriginalValues

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

      public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.PortletPreferenceValue> toCacheModel()
      Specified by:
      toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferenceValue>
      Overrides:
      toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
    • 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)