public class CounterModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.counter.kernel.model.Counter>
implements com.liferay.counter.kernel.model.CounterModel
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
.
CounterImpl
,
Serialized FormModifier and Type | Field and Description |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static boolean |
FINDER_CACHE_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static long |
LOCK_EXPIRATION_TIME |
static long |
NAME_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static String |
ORDER_BY_JPQL |
static String |
ORDER_BY_SQL |
static String |
SESSION_FACTORY |
static Object[][] |
TABLE_COLUMNS |
static Map<String,Integer> |
TABLE_COLUMNS_MAP |
static String |
TABLE_NAME |
static String |
TABLE_SQL_CREATE |
static String |
TABLE_SQL_DROP |
static String |
TX_MANAGER |
Constructor and Description |
---|
CounterModelImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
com.liferay.counter.kernel.model.Counter |
cloneWithOriginalValues() |
int |
compareTo(com.liferay.counter.kernel.model.Counter counter) |
boolean |
equals(Object object) |
Map<String,Function<com.liferay.counter.kernel.model.Counter,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<com.liferay.counter.kernel.model.Counter,Object>> |
getAttributeSetterBiConsumers() |
long |
getColumnBitmask() |
static long |
getColumnBitmask(String columnName) |
<T> T |
getColumnOriginalValue(String columnName) |
<T> T |
getColumnValue(String columnName) |
long |
getCurrentId() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
String |
getName() |
String |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
int |
hashCode() |
boolean |
isEntityCacheEnabled()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
boolean |
isFinderCacheEnabled()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
void |
resetOriginalValues() |
void |
setCurrentId(long currentId) |
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setName(String name) |
void |
setPrimaryKey(String primaryKey) |
void |
setPrimaryKeyObj(Serializable primaryKeyObj) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.counter.kernel.model.Counter> |
toCacheModel() |
com.liferay.counter.kernel.model.Counter |
toEscapedModel() |
String |
toString() |
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
@Deprecated public static final boolean ENTITY_CACHE_ENABLED
@Deprecated public static final boolean FINDER_CACHE_ENABLED
@Deprecated public static final boolean COLUMN_BITMASK_ENABLED
@Deprecated public static final long NAME_COLUMN_BITMASK
getColumnBitmask(String)
public static final long LOCK_EXPIRATION_TIME
public String getPrimaryKey()
getPrimaryKey
in interface com.liferay.counter.kernel.model.CounterModel
public void setPrimaryKey(String primaryKey)
setPrimaryKey
in interface com.liferay.counter.kernel.model.CounterModel
public Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
getModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.counter.kernel.model.Counter>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
setModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.counter.kernel.model.Counter>
public Map<String,Function<com.liferay.counter.kernel.model.Counter,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
public Map<String,BiConsumer<com.liferay.counter.kernel.model.Counter,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
public String getName()
getName
in interface com.liferay.counter.kernel.model.CounterModel
public void setName(String name)
setName
in interface com.liferay.counter.kernel.model.CounterModel
public long getCurrentId()
getCurrentId
in interface com.liferay.counter.kernel.model.CounterModel
public void setCurrentId(long currentId)
setCurrentId
in interface com.liferay.counter.kernel.model.CounterModel
public long getColumnBitmask()
public com.liferay.counter.kernel.model.Counter toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
toEscapedModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.counter.kernel.model.Counter>
public Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
clone
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.counter.kernel.model.Counter>
public com.liferay.counter.kernel.model.Counter cloneWithOriginalValues()
cloneWithOriginalValues
in interface com.liferay.counter.kernel.model.CounterModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
public int compareTo(com.liferay.counter.kernel.model.Counter counter)
compareTo
in interface Comparable<com.liferay.counter.kernel.model.Counter>
public boolean equals(Object object)
equals
in class Object
public int hashCode()
hashCode
in class Object
@Deprecated public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
@Deprecated public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
resetOriginalValues
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.counter.kernel.model.Counter>
public com.liferay.portal.kernel.model.CacheModel<com.liferay.counter.kernel.model.Counter> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.counter.kernel.model.Counter>
public String toString()
toString
in class Object
public <T> T getColumnValue(String columnName)
public <T> T getColumnOriginalValue(String columnName)
public static long getColumnBitmask(String columnName)