@ProviderType
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,
Counter,
CounterModel,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED |
static String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
LOCK_EXPIRATION_TIME |
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() |
int |
compareTo(com.liferay.counter.kernel.model.Counter counter) |
boolean |
equals(Object obj) |
long |
getCurrentId() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
String |
getName() |
String |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
int |
hashCode() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
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() |
String |
toXmlString() |
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
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
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long LOCK_EXPIRATION_TIME
public String getPrimaryKey()
getPrimaryKey in interface com.liferay.counter.kernel.model.CounterModelpublic void setPrimaryKey(String primaryKey)
setPrimaryKey in interface com.liferay.counter.kernel.model.CounterModelpublic Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.counter.kernel.model.CounterModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.counter.kernel.model.CounterModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic 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 String getName()
getName in interface com.liferay.counter.kernel.model.CounterModelpublic void setName(String name)
setName in interface com.liferay.counter.kernel.model.CounterModelpublic long getCurrentId()
getCurrentId in interface com.liferay.counter.kernel.model.CounterModelpublic void setCurrentId(long currentId)
setCurrentId in interface com.liferay.counter.kernel.model.CounterModelpublic com.liferay.counter.kernel.model.Counter toEscapedModel()
toEscapedModel in interface com.liferay.counter.kernel.model.CounterModeltoEscapedModel 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.counter.kernel.model.CounterModelclone 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 int compareTo(com.liferay.counter.kernel.model.Counter counter)
compareTo in interface com.liferay.counter.kernel.model.CounterModelcompareTo in interface Comparable<com.liferay.counter.kernel.model.Counter>public int hashCode()
public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>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.counter.kernel.model.CounterModeltoCacheModel 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()
public String toXmlString()
toXmlString in interface com.liferay.counter.kernel.model.CounterModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>