@ProviderType
public class CounterModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.counter.model.Counter>
implements com.liferay.counter.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 java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
LOCK_EXPIRATION_TIME |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static java.lang.String |
SESSION_FACTORY |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static java.lang.String |
TX_MANAGER |
| Constructor and Description |
|---|
CounterModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(com.liferay.counter.model.Counter counter) |
boolean |
equals(java.lang.Object obj) |
long |
getCurrentId() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.lang.String |
getName() |
java.lang.String |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
int |
hashCode() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
void |
setCurrentId(long currentId) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setName(java.lang.String name) |
void |
setPrimaryKey(java.lang.String primaryKey) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
com.liferay.portal.model.CacheModel<com.liferay.counter.model.Counter> |
toCacheModel() |
com.liferay.counter.model.Counter |
toEscapedModel() |
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getExpandoBridge, getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelpublic static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.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 java.lang.String getPrimaryKey()
getPrimaryKey in interface com.liferay.counter.model.CounterModelpublic void setPrimaryKey(java.lang.String primaryKey)
setPrimaryKey in interface com.liferay.counter.model.CounterModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.counter.model.CounterModelgetPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.counter.model.Counter>getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.counter.model.CounterModelsetPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.counter.model.Counter>setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelpublic java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.counter.model.Counter>getModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.counter.model.Counter>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.counter.model.Counter>setModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.counter.model.Counter>public java.lang.String getName()
getName in interface com.liferay.counter.model.CounterModelpublic void setName(java.lang.String name)
setName in interface com.liferay.counter.model.CounterModelpublic long getCurrentId()
getCurrentId in interface com.liferay.counter.model.CounterModelpublic void setCurrentId(long currentId)
setCurrentId in interface com.liferay.counter.model.CounterModelpublic com.liferay.counter.model.Counter toEscapedModel()
toEscapedModel in interface com.liferay.counter.model.CounterModeltoEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.counter.model.Counter>toEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.counter.model.Counter>public java.lang.Object clone()
clone in interface com.liferay.counter.model.CounterModelclone in interface com.liferay.portal.model.BaseModel<com.liferay.counter.model.Counter>clone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.counter.model.Counter>public int compareTo(com.liferay.counter.model.Counter counter)
compareTo in interface com.liferay.counter.model.CounterModelcompareTo in interface java.lang.Comparable<com.liferay.counter.model.Counter>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.counter.model.CounterModelhashCode in class java.lang.Objectpublic boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.model.BaseModel<com.liferay.counter.model.Counter>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.model.BaseModel<com.liferay.counter.model.Counter>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.counter.model.Counter>resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.counter.model.Counter>public com.liferay.portal.model.CacheModel<com.liferay.counter.model.Counter> toCacheModel()
toCacheModel in interface com.liferay.counter.model.CounterModeltoCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.counter.model.Counter>toCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.counter.model.Counter>public java.lang.String toString()
toString in interface com.liferay.counter.model.CounterModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.counter.model.CounterModeltoXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.counter.model.Counter>