com.liferay.counter.model.impl
Class CounterModelImpl
java.lang.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
@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
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
.
- See Also:
CounterImpl
,
Counter
,
CounterModel
,
Serialized Form- {$generated.description}
Methods inherited from class com.liferay.portal.kernel.model.impl.BaseModelImpl |
getExpandoBridge, getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
Methods inherited from interface com.liferay.counter.kernel.model.CounterModel |
getExpandoBridge, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
TABLE_COLUMNS
public static final Object[][] TABLE_COLUMNS
TABLE_COLUMNS_MAP
public static final Map<String,Integer> TABLE_COLUMNS_MAP
TABLE_SQL_CREATE
public static final String TABLE_SQL_CREATE
- See Also:
- Constant Field Values
TABLE_SQL_DROP
public static final String TABLE_SQL_DROP
- See Also:
- Constant Field Values
ORDER_BY_JPQL
public static final String ORDER_BY_JPQL
- See Also:
- Constant Field Values
ORDER_BY_SQL
public static final String ORDER_BY_SQL
- See Also:
- Constant Field Values
DATA_SOURCE
public static final String DATA_SOURCE
- See Also:
- Constant Field Values
SESSION_FACTORY
public static final String SESSION_FACTORY
- See Also:
- Constant Field Values
TX_MANAGER
public static final String TX_MANAGER
- See Also:
- Constant Field Values
ENTITY_CACHE_ENABLED
public static final boolean ENTITY_CACHE_ENABLED
FINDER_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
COLUMN_BITMASK_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
- See Also:
- Constant Field Values
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
CounterModelImpl
public CounterModelImpl()
getPrimaryKey
public String getPrimaryKey()
- Specified by:
getPrimaryKey
in interface com.liferay.counter.kernel.model.CounterModel
setPrimaryKey
public void setPrimaryKey(String primaryKey)
- Specified by:
setPrimaryKey
in interface com.liferay.counter.kernel.model.CounterModel
getPrimaryKeyObj
public Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj
in interface com.liferay.counter.kernel.model.CounterModel
- Specified by:
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
- Specified by:
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
setPrimaryKeyObj
public void setPrimaryKeyObj(Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj
in interface com.liferay.counter.kernel.model.CounterModel
- Specified by:
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
- Specified by:
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
getModelClass
public Class<?> getModelClass()
- Specified by:
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
getModelClassName
public String getModelClassName()
- Specified by:
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
getModelAttributes
public Map<String,Object> getModelAttributes()
- Specified by:
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
- Overrides:
getModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.counter.kernel.model.Counter>
setModelAttributes
public void setModelAttributes(Map<String,Object> attributes)
- Specified by:
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
- Overrides:
setModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.counter.kernel.model.Counter>
getName
public String getName()
- Specified by:
getName
in interface com.liferay.counter.kernel.model.CounterModel
setName
public void setName(String name)
- Specified by:
setName
in interface com.liferay.counter.kernel.model.CounterModel
getCurrentId
public long getCurrentId()
- Specified by:
getCurrentId
in interface com.liferay.counter.kernel.model.CounterModel
setCurrentId
public void setCurrentId(long currentId)
- Specified by:
setCurrentId
in interface com.liferay.counter.kernel.model.CounterModel
toEscapedModel
public com.liferay.counter.kernel.model.Counter toEscapedModel()
- Specified by:
toEscapedModel
in interface com.liferay.counter.kernel.model.CounterModel
- Specified by:
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
- Overrides:
toEscapedModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.counter.kernel.model.Counter>
clone
public Object clone()
- Specified by:
clone
in interface com.liferay.counter.kernel.model.CounterModel
- Specified by:
clone
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
- Specified by:
clone
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.counter.kernel.model.Counter>
compareTo
public int compareTo(com.liferay.counter.kernel.model.Counter counter)
- Specified by:
compareTo
in interface com.liferay.counter.kernel.model.CounterModel
- Specified by:
compareTo
in interface Comparable<com.liferay.counter.kernel.model.Counter>
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Specified by:
hashCode
in interface com.liferay.counter.kernel.model.CounterModel
- Overrides:
hashCode
in class Object
isEntityCacheEnabled
public boolean isEntityCacheEnabled()
- Specified by:
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
isFinderCacheEnabled
public boolean isFinderCacheEnabled()
- Specified by:
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
resetOriginalValues
public void resetOriginalValues()
- Specified by:
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
- Overrides:
resetOriginalValues
in class com.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:
toCacheModel
in interface com.liferay.counter.kernel.model.CounterModel
- Specified by:
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>
- Overrides:
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.counter.kernel.model.Counter>
toString
public String toString()
- Specified by:
toString
in interface com.liferay.counter.kernel.model.CounterModel
- Overrides:
toString
in class Object
toXmlString
public String toXmlString()
- Specified by:
toXmlString
in interface com.liferay.counter.kernel.model.CounterModel
- Specified by:
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.counter.kernel.model.Counter>