Class PortalPreferencesModelImpl

Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortalPreferences>
com.liferay.portal.model.impl.PortalPreferencesModelImpl
All Implemented Interfaces:
com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortalPreferences>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PortalPreferencesModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<com.liferay.portal.kernel.model.PortalPreferences>
Direct Known Subclasses:
PortalPreferencesBaseImpl

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

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

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

  • Constructor Details

    • PortalPreferencesModelImpl

      public PortalPreferencesModelImpl()
  • Method Details

    • getPrimaryKey

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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