@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 FormModifier 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 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
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.CounterModel
public void setPrimaryKey(String primaryKey)
setPrimaryKey
in interface com.liferay.counter.kernel.model.CounterModel
public Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.counter.kernel.model.CounterModel
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.counter.kernel.model.CounterModel
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 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 com.liferay.counter.kernel.model.Counter toEscapedModel()
toEscapedModel
in interface com.liferay.counter.kernel.model.CounterModel
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.counter.kernel.model.CounterModel
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 int compareTo(com.liferay.counter.kernel.model.Counter counter)
compareTo
in interface com.liferay.counter.kernel.model.CounterModel
compareTo
in interface Comparable<com.liferay.counter.kernel.model.Counter>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface com.liferay.counter.kernel.model.CounterModel
hashCode
in class Object
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.CounterModel
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 interface com.liferay.counter.kernel.model.CounterModel
toString
in class Object
public String toXmlString()
toXmlString
in interface com.liferay.counter.kernel.model.CounterModel
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>