Package com.liferay.counter.model.impl
Class CounterModelImpl
Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.counter.kernel.model.Counter>
com.liferay.counter.model.impl.CounterModelImpl
- All Implemented Interfaces:
com.liferay.counter.kernel.model.CounterModel,com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>,com.liferay.portal.kernel.model.ClassedModel,Serializable,Cloneable,Comparable<com.liferay.counter.kernel.model.Counter>
- Direct Known Subclasses:
CounterBaseImpl
public class CounterModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.counter.kernel.model.Counter>
implements com.liferay.counter.kernel.model.CounterModel
The base model implementation for the Counter service. Represents a row in the "Counter" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface CounterModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in CounterImpl.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanDeprecated.As of Athanasius (7.3.x), with no direct replacementstatic final Stringstatic final booleanDeprecated.As of Athanasius (7.3.x), with no direct replacementstatic final booleanDeprecated.As of Athanasius (7.3.x), with no direct replacementstatic final longstatic final longDeprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)static final Stringstatic final Stringstatic final Stringstatic final Object[][]static final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()com.liferay.counter.kernel.model.CounterintcompareTo(com.liferay.counter.kernel.model.Counter counter) booleanMap<String,BiConsumer<com.liferay.counter.kernel.model.Counter, Object>> longstatic longgetColumnBitmask(String columnName) <T> TgetColumnOriginalValue(String columnName) <T> TgetColumnValue(String columnName) longClass<?>getName()inthashCode()booleanDeprecated.As of Athanasius (7.3.x), with no direct replacementbooleanDeprecated.As of Athanasius (7.3.x), with no direct replacementvoidvoidsetCurrentId(long currentId) voidsetModelAttributes(Map<String, Object> attributes) voidvoidsetPrimaryKey(String primaryKey) voidsetPrimaryKeyObj(Serializable primaryKeyObj) com.liferay.portal.kernel.model.CacheModel<com.liferay.counter.kernel.model.Counter>com.liferay.counter.kernel.model.CountertoString()Methods inherited from class com.liferay.portal.kernel.model.impl.BaseModelImpl
getExpandoBridge, getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
getExpandoBridge, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelMethods inherited from interface com.liferay.counter.kernel.model.CounterModel
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:
-
NAME_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
-
CounterModelImpl
public CounterModelImpl()
-
-
Method Details
-
getPrimaryKey
- Specified by:
getPrimaryKeyin interfacecom.liferay.counter.kernel.model.CounterModel
-
setPrimaryKey
- Specified by:
setPrimaryKeyin interfacecom.liferay.counter.kernel.model.CounterModel
-
getPrimaryKeyObj
- Specified by:
getPrimaryKeyObjin interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>- Specified by:
getPrimaryKeyObjin interfacecom.liferay.portal.kernel.model.ClassedModel
-
setPrimaryKeyObj
- Specified by:
setPrimaryKeyObjin interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>- Specified by:
setPrimaryKeyObjin interfacecom.liferay.portal.kernel.model.ClassedModel
-
getModelClass
- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.model.ClassedModel
-
getModelClassName
- Specified by:
getModelClassNamein interfacecom.liferay.portal.kernel.model.ClassedModel
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>- Overrides:
getModelAttributesin classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.counter.kernel.model.Counter>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>- Overrides:
setModelAttributesin classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.counter.kernel.model.Counter>
-
getAttributeGetterFunctions
public Map<String,Function<com.liferay.counter.kernel.model.Counter, getAttributeGetterFunctions()Object>> - Specified by:
getAttributeGetterFunctionsin interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
-
getAttributeSetterBiConsumers
public Map<String,BiConsumer<com.liferay.counter.kernel.model.Counter, getAttributeSetterBiConsumers()Object>> - Specified by:
getAttributeSetterBiConsumersin interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
-
getName
- Specified by:
getNamein interfacecom.liferay.counter.kernel.model.CounterModel
-
setName
- Specified by:
setNamein interfacecom.liferay.counter.kernel.model.CounterModel
-
getCurrentId
public long getCurrentId()- Specified by:
getCurrentIdin interfacecom.liferay.counter.kernel.model.CounterModel
-
setCurrentId
public void setCurrentId(long currentId) - Specified by:
setCurrentIdin interfacecom.liferay.counter.kernel.model.CounterModel
-
getColumnBitmask
public long getColumnBitmask() -
toEscapedModel
public com.liferay.counter.kernel.model.Counter toEscapedModel()- Specified by:
toEscapedModelin interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>- Overrides:
toEscapedModelin classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.counter.kernel.model.Counter>
-
clone
- Specified by:
clonein interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>- Specified by:
clonein classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.counter.kernel.model.Counter>
-
cloneWithOriginalValues
public com.liferay.counter.kernel.model.Counter cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.counter.kernel.model.CounterModel
-
compareTo
public int compareTo(com.liferay.counter.kernel.model.Counter counter) - Specified by:
compareToin interfaceComparable<com.liferay.counter.kernel.model.Counter>
-
equals
-
hashCode
public int hashCode() -
isEntityCacheEnabled
Deprecated.As of Athanasius (7.3.x), with no direct replacement- Specified by:
isEntityCacheEnabledin interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
-
isFinderCacheEnabled
Deprecated.As of Athanasius (7.3.x), with no direct replacement- Specified by:
isFinderCacheEnabledin interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
-
resetOriginalValues
public void resetOriginalValues()- Specified by:
resetOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>- Overrides:
resetOriginalValuesin classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.counter.kernel.model.Counter>
-
toCacheModel
public com.liferay.portal.kernel.model.CacheModel<com.liferay.counter.kernel.model.Counter> toCacheModel()- Specified by:
toCacheModelin interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>- Overrides:
toCacheModelin classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.counter.kernel.model.Counter>
-
toString
-
getColumnValue
-
getColumnOriginalValue
-
getColumnBitmask
-