com.liferay.counter.service.persistence.impl
Class CounterFinderImpl
java.lang.Object
com.liferay.portal.service.persistence.impl.BasePersistenceImpl<Dummy>
com.liferay.counter.service.persistence.impl.CounterFinderImpl
- All Implemented Interfaces:
- CounterFinder, CacheRegistryItem, SessionFactory, BasePersistence<Dummy>
- Direct Known Subclasses:
- MultiDataCenterCounterFinderImpl
public class CounterFinderImpl
- extends BasePersistenceImpl<Dummy>
- implements CacheRegistryItem, CounterFinder
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
appendOrderByComparator, appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, getTableColumnsMap, openNewSession, openSession, processException, registerListener, remove, remove, removeConjunction, removeImpl, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl, updateImpl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CounterFinderImpl
public CounterFinderImpl()
getNames
public List<String> getNames()
- Specified by:
getNames in interface CounterFinder
getRegistryName
public String getRegistryName()
- Specified by:
getRegistryName in interface CounterFinder- Specified by:
getRegistryName in interface CacheRegistryItem
increment
public long increment()
- Specified by:
increment in interface CounterFinder
increment
public long increment(String name)
- Specified by:
increment in interface CounterFinder
increment
public long increment(String name,
int size)
- Specified by:
increment in interface CounterFinder
invalidate
public void invalidate()
- Specified by:
invalidate in interface CounterFinder- Specified by:
invalidate in interface CacheRegistryItem
rename
public void rename(String oldName,
String newName)
- Specified by:
rename in interface CounterFinder
reset
public void reset(String name)
- Specified by:
reset in interface CounterFinder
reset
public void reset(String name,
long size)
- Specified by:
reset in interface CounterFinder
createCounterRegister
protected CounterRegister createCounterRegister(String name)
createCounterRegister
protected CounterRegister createCounterRegister(String name,
long size)
getConnection
protected Connection getConnection()
throws SQLException
- Throws:
SQLException
getCounterRegister
protected CounterRegister getCounterRegister(String name)
getRangeSize
protected int getRangeSize(String name)