Package com.liferay.portal.model.impl
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final boolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementstatic final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
static final String
static final boolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementstatic final boolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementstatic final long
static final String
static final String
static final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
static final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
static final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
static final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
static final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
static final String
static final Object[][]
static final String
static final String
static final String
static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
com.liferay.portal.kernel.model.PortletPreferences
int
compareTo
(com.liferay.portal.kernel.model.PortletPreferences portletPreferences) boolean
Map<String,
BiConsumer<com.liferay.portal.kernel.model.PortletPreferences, Object>> long
static long
getColumnBitmask
(String columnName) <T> T
getColumnOriginalValue
(String columnName) <T> T
getColumnValue
(String columnName) long
long
com.liferay.expando.kernel.model.ExpandoBridge
Class<?>
long
long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
int
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
long
int
long
getPlid()
long
long
int
hashCode()
boolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementboolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementvoid
void
setCompanyId
(long companyId) void
setCtCollectionId
(long ctCollectionId) void
setExpandoBridgeAttributes
(com.liferay.portal.kernel.service.ServiceContext serviceContext) void
setModelAttributes
(Map<String, Object> attributes) void
setMvccVersion
(long mvccVersion) void
setOwnerId
(long ownerId) void
setOwnerType
(int ownerType) void
setPlid
(long plid) void
setPortletId
(String portletId) void
setPortletPreferencesId
(long portletPreferencesId) void
setPrimaryKey
(long primaryKey) void
setPrimaryKeyObj
(Serializable primaryKeyObj) com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.PortletPreferences>
com.liferay.portal.kernel.model.PortletPreferences
toString()
Methods inherited from class com.liferay.portal.kernel.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.PortletPreferencesModel
toXmlString
-
Field Details
-
TABLE_NAME
- See Also:
-
TABLE_COLUMNS
-
TABLE_COLUMNS_MAP
-
TABLE_SQL_CREATE
- See Also:
-
TABLE_SQL_DROP
- See Also:
-
ORDER_BY_JPQL
- See Also:
-
ORDER_BY_SQL
- See Also:
-
DATA_SOURCE
- See Also:
-
SESSION_FACTORY
- See Also:
-
TX_MANAGER
- See Also:
-
ENTITY_CACHE_ENABLED
Deprecated.As of Athanasius (7.3.x), with no direct replacement- See Also:
-
FINDER_CACHE_ENABLED
Deprecated.As of Athanasius (7.3.x), with no direct replacement- See Also:
-
COLUMN_BITMASK_ENABLED
Deprecated.As of Athanasius (7.3.x), with no direct replacement- See Also:
-
COMPANYID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
OWNERID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
OWNERTYPE_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
PLID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
PORTLETID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
PORTLETPREFERENCESID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
-
-
Constructor Details
-
PortletPreferencesModelImpl
public PortletPreferencesModelImpl()
-
-
Method Details
-
getPrimaryKey
public long getPrimaryKey()- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.PortletPreferences>
- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.PortletPreferencesModel
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) - Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.PortletPreferences>
- Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.PortletPreferencesModel
-
getPrimaryKeyObj
- Specified by:
getPrimaryKeyObj
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
- Specified by:
getPrimaryKeyObj
in interfacecom.liferay.portal.kernel.model.ClassedModel
-
setPrimaryKeyObj
- Specified by:
setPrimaryKeyObj
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
- Specified by:
setPrimaryKeyObj
in interfacecom.liferay.portal.kernel.model.ClassedModel
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.model.ClassedModel
-
getModelClassName
- Specified by:
getModelClassName
in interfacecom.liferay.portal.kernel.model.ClassedModel
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
- Overrides:
getModelAttributes
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortletPreferences>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
- Overrides:
setModelAttributes
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortletPreferences>
-
getAttributeGetterFunctions
public Map<String,Function<com.liferay.portal.kernel.model.PortletPreferences, getAttributeGetterFunctions()Object>> - Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
-
getAttributeSetterBiConsumers
public Map<String,BiConsumer<com.liferay.portal.kernel.model.PortletPreferences, getAttributeSetterBiConsumers()Object>> - Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
-
getMvccVersion
@JSON public long getMvccVersion()- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.PortletPreferencesModel
-
setMvccVersion
public void setMvccVersion(long mvccVersion) - Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.PortletPreferencesModel
-
getCtCollectionId
@JSON public long getCtCollectionId()- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.PortletPreferences>
- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.PortletPreferencesModel
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) - Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.PortletPreferences>
- Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.PortletPreferencesModel
-
getPortletPreferencesId
@JSON public long getPortletPreferencesId()- Specified by:
getPortletPreferencesId
in interfacecom.liferay.portal.kernel.model.PortletPreferencesModel
-
setPortletPreferencesId
public void setPortletPreferencesId(long portletPreferencesId) - Specified by:
setPortletPreferencesId
in interfacecom.liferay.portal.kernel.model.PortletPreferencesModel
-
getCompanyId
@JSON public long getCompanyId()- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.PortletPreferencesModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
-
setCompanyId
public void setCompanyId(long companyId) - Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.PortletPreferencesModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
-
getOriginalCompanyId
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getOwnerId
@JSON public long getOwnerId()- Specified by:
getOwnerId
in interfacecom.liferay.portal.kernel.model.PortletPreferencesModel
-
setOwnerId
public void setOwnerId(long ownerId) - Specified by:
setOwnerId
in interfacecom.liferay.portal.kernel.model.PortletPreferencesModel
-
getOriginalOwnerId
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getOwnerType
@JSON public int getOwnerType()- Specified by:
getOwnerType
in interfacecom.liferay.portal.kernel.model.PortletPreferencesModel
-
setOwnerType
public void setOwnerType(int ownerType) - Specified by:
setOwnerType
in interfacecom.liferay.portal.kernel.model.PortletPreferencesModel
-
getOriginalOwnerType
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getPlid
@JSON public long getPlid()- Specified by:
getPlid
in interfacecom.liferay.portal.kernel.model.PortletPreferencesModel
-
setPlid
public void setPlid(long plid) - Specified by:
setPlid
in interfacecom.liferay.portal.kernel.model.PortletPreferencesModel
-
getOriginalPlid
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getPortletId
- Specified by:
getPortletId
in interfacecom.liferay.portal.kernel.model.PortletPreferencesModel
-
setPortletId
- Specified by:
setPortletId
in interfacecom.liferay.portal.kernel.model.PortletPreferencesModel
-
getOriginalPortletId
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getColumnBitmask
public long getColumnBitmask() -
getExpandoBridge
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()- Specified by:
getExpandoBridge
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
- Specified by:
getExpandoBridge
in interfacecom.liferay.portal.kernel.model.ClassedModel
- Overrides:
getExpandoBridge
in classcom.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 interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
- Overrides:
setExpandoBridgeAttributes
in classcom.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 interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
- Overrides:
toEscapedModel
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortletPreferences>
-
clone
- Specified by:
clone
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
- Specified by:
clone
in classcom.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 interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.PortletPreferencesModel
-
compareTo
public int compareTo(com.liferay.portal.kernel.model.PortletPreferences portletPreferences) - Specified by:
compareTo
in interfaceComparable<com.liferay.portal.kernel.model.PortletPreferences>
-
equals
-
hashCode
public int hashCode() -
isEntityCacheEnabled
Deprecated.As of Athanasius (7.3.x), with no direct replacement- Specified by:
isEntityCacheEnabled
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
-
isFinderCacheEnabled
Deprecated.As of Athanasius (7.3.x), with no direct replacement- Specified by:
isFinderCacheEnabled
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
-
resetOriginalValues
public void resetOriginalValues()- Specified by:
resetOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
- Overrides:
resetOriginalValues
in classcom.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 interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
- Overrides:
toCacheModel
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortletPreferences>
-
toString
-
getColumnValue
-
getColumnOriginalValue
-
getColumnBitmask
-