Class PortletPreferencesModelImpl

Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortletPreferences>
com.liferay.portal.model.impl.PortletPreferencesModelImpl
All Implemented Interfaces:
com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>, com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.PortletPreferences>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PortletPreferencesModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<com.liferay.portal.kernel.model.PortletPreferences>
Direct Known Subclasses:
PortletPreferencesBaseImpl

@JSON(strict=true) public class PortletPreferencesModelImpl extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortletPreferences> implements com.liferay.portal.kernel.model.PortletPreferencesModel
The base model implementation for the PortletPreferences service. Represents a row in the "PortletPreferences" database table, with each column mapped to a property of this class.

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

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

  • Constructor Details

    • PortletPreferencesModelImpl

      public PortletPreferencesModelImpl()
  • Method Details

    • getPrimaryKey

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

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

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

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

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

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

      @JSON public long getMvccVersion()
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.PortletPreferencesModel
    • 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.PortletPreferencesModel
    • getCtCollectionId

      @JSON public long getCtCollectionId()
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.PortletPreferences>
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.PortletPreferencesModel
    • setCtCollectionId

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

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

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

      @JSON public long getCompanyId()
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.PortletPreferencesModel
      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.PortletPreferencesModel
      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)
    • getOwnerId

      @JSON public long getOwnerId()
      Specified by:
      getOwnerId in interface com.liferay.portal.kernel.model.PortletPreferencesModel
    • setOwnerId

      public void setOwnerId(long ownerId)
      Specified by:
      setOwnerId in interface com.liferay.portal.kernel.model.PortletPreferencesModel
    • getOriginalOwnerId

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

      @JSON public int getOwnerType()
      Specified by:
      getOwnerType in interface com.liferay.portal.kernel.model.PortletPreferencesModel
    • setOwnerType

      public void setOwnerType(int ownerType)
      Specified by:
      setOwnerType in interface com.liferay.portal.kernel.model.PortletPreferencesModel
    • getOriginalOwnerType

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

      @JSON public long getPlid()
      Specified by:
      getPlid in interface com.liferay.portal.kernel.model.PortletPreferencesModel
    • setPlid

      public void setPlid(long plid)
      Specified by:
      setPlid in interface com.liferay.portal.kernel.model.PortletPreferencesModel
    • getOriginalPlid

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

      @JSON public String getPortletId()
      Specified by:
      getPortletId in interface com.liferay.portal.kernel.model.PortletPreferencesModel
    • setPortletId

      public void setPortletId(String portletId)
      Specified by:
      setPortletId in interface com.liferay.portal.kernel.model.PortletPreferencesModel
    • getOriginalPortletId

      @Deprecated public String getOriginalPortletId()
      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.PortletPreferences>
      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.PortletPreferences>
    • 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.PortletPreferences>
      Overrides:
      setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortletPreferences>
    • toEscapedModel

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

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

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

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

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

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