Package com.liferay.portal.model.impl
Class ClassNameModelImpl
Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
com.liferay.portal.model.impl.ClassNameModelImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ClassNameModel
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.TypedModel
,Serializable
,Cloneable
,Comparable<com.liferay.portal.kernel.model.ClassName>
- Direct Known Subclasses:
ClassNameBaseImpl
@JSON(strict=true)
public class ClassNameModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
implements com.liferay.portal.kernel.model.ClassNameModel
The base model implementation for the ClassName service. Represents a row in the "ClassName_" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface ClassNameModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ClassNameImpl
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
Deprecated.static final boolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementstatic 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 String
static final Object[][]
static final String
static final String
static final String
static final String
static final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
com.liferay.portal.kernel.model.ClassName
int
compareTo
(com.liferay.portal.kernel.model.ClassName className) boolean
Map<String,
BiConsumer<com.liferay.portal.kernel.model.ClassName, Object>> long
long
static long
getColumnBitmask
(String columnName) <T> T
getColumnOriginalValue
(String columnName) <T> T
getColumnValue
(String columnName) com.liferay.expando.kernel.model.ExpandoBridge
Class<?>
long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
long
getValue()
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
setClassName
(String className) void
setClassNameId
(long classNameId) void
setExpandoBridgeAttributes
(com.liferay.portal.kernel.service.ServiceContext serviceContext) void
setModelAttributes
(Map<String, Object> attributes) void
setMvccVersion
(long mvccVersion) void
setPrimaryKey
(long primaryKey) void
setPrimaryKeyObj
(Serializable primaryKeyObj) void
com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.ClassName>
com.liferay.portal.kernel.model.ClassName
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.ClassNameModel
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:
-
VALUE_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
CLASSNAMEID_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
-
ClassNameModelImpl
public ClassNameModelImpl()
-
-
Method Details
-
getPrimaryKey
public long getPrimaryKey()- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.ClassNameModel
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) - Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.ClassNameModel
-
getPrimaryKeyObj
- Specified by:
getPrimaryKeyObj
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>
- 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.ClassName>
- 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.ClassName>
- Overrides:
getModelAttributes
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>
- Overrides:
setModelAttributes
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
-
getAttributeGetterFunctions
public Map<String,Function<com.liferay.portal.kernel.model.ClassName, getAttributeGetterFunctions()Object>> - Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>
-
getAttributeSetterBiConsumers
public Map<String,BiConsumer<com.liferay.portal.kernel.model.ClassName, getAttributeSetterBiConsumers()Object>> - Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>
-
getMvccVersion
@JSON public long getMvccVersion()- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.ClassNameModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
-
setMvccVersion
public void setMvccVersion(long mvccVersion) - Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.ClassNameModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
-
getClassName
- Specified by:
getClassName
in interfacecom.liferay.portal.kernel.model.ClassNameModel
- Specified by:
getClassName
in interfacecom.liferay.portal.kernel.model.TypedModel
-
setClassName
- Specified by:
setClassName
in interfacecom.liferay.portal.kernel.model.ClassNameModel
-
getClassNameId
@JSON public long getClassNameId()- Specified by:
getClassNameId
in interfacecom.liferay.portal.kernel.model.ClassNameModel
- Specified by:
getClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
-
setClassNameId
public void setClassNameId(long classNameId) - Specified by:
setClassNameId
in interfacecom.liferay.portal.kernel.model.ClassNameModel
- Specified by:
setClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
-
getValue
- Specified by:
getValue
in interfacecom.liferay.portal.kernel.model.ClassNameModel
-
setValue
- Specified by:
setValue
in interfacecom.liferay.portal.kernel.model.ClassNameModel
-
getOriginalValue
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.ClassName>
- 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.ClassName>
-
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.ClassName>
- Overrides:
setExpandoBridgeAttributes
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
-
toEscapedModel
public com.liferay.portal.kernel.model.ClassName toEscapedModel()- Specified by:
toEscapedModel
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>
- Overrides:
toEscapedModel
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
-
clone
- Specified by:
clone
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>
- Specified by:
clone
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
-
cloneWithOriginalValues
public com.liferay.portal.kernel.model.ClassName cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.ClassNameModel
-
compareTo
public int compareTo(com.liferay.portal.kernel.model.ClassName className) - Specified by:
compareTo
in interfaceComparable<com.liferay.portal.kernel.model.ClassName>
-
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.ClassName>
-
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.ClassName>
-
resetOriginalValues
public void resetOriginalValues()- Specified by:
resetOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>
- Overrides:
resetOriginalValues
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
-
toCacheModel
public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.ClassName> toCacheModel()- Specified by:
toCacheModel
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>
- Overrides:
toCacheModel
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
-
toString
-
getColumnValue
-
getColumnOriginalValue
-
getColumnBitmask
-
getColumnBitmask(String)