public class CounterFinderImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Dummy>
implements com.liferay.portal.kernel.cache.CacheRegistryItem, com.liferay.counter.kernel.service.persistence.CounterFinder
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, nullModel, 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
Constructor and Description |
---|
CounterFinderImpl() |
Modifier and Type | Method and Description |
---|---|
protected CounterRegister |
createCounterRegister(String name) |
protected CounterRegister |
createCounterRegister(String name,
long size) |
protected Connection |
getConnection() |
protected CounterRegister |
getCounterRegister(String name) |
List<String> |
getNames() |
protected int |
getRangeSize(String name) |
String |
getRegistryName() |
long |
increment() |
long |
increment(String name) |
long |
increment(String name,
int size) |
void |
invalidate() |
void |
rename(String oldName,
String newName) |
void |
reset(String name) |
void |
reset(String name,
long size) |
appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, getTableColumnsMap, openNewSession, openSession, processException, registerListener, remove, remove, removeConjunction, removeImpl, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, updateImpl
public List<String> getNames()
getNames
in interface com.liferay.counter.kernel.service.persistence.CounterFinder
public String getRegistryName()
getRegistryName
in interface com.liferay.counter.kernel.service.persistence.CounterFinder
getRegistryName
in interface com.liferay.portal.kernel.cache.CacheRegistryItem
public long increment()
increment
in interface com.liferay.counter.kernel.service.persistence.CounterFinder
public long increment(String name)
increment
in interface com.liferay.counter.kernel.service.persistence.CounterFinder
public long increment(String name, int size)
increment
in interface com.liferay.counter.kernel.service.persistence.CounterFinder
public void invalidate()
invalidate
in interface com.liferay.counter.kernel.service.persistence.CounterFinder
invalidate
in interface com.liferay.portal.kernel.cache.CacheRegistryItem
public void rename(String oldName, String newName)
rename
in interface com.liferay.counter.kernel.service.persistence.CounterFinder
public void reset(String name)
reset
in interface com.liferay.counter.kernel.service.persistence.CounterFinder
public void reset(String name, long size)
reset
in interface com.liferay.counter.kernel.service.persistence.CounterFinder
protected CounterRegister createCounterRegister(String name)
protected CounterRegister createCounterRegister(String name, long size)
protected Connection getConnection() throws SQLException
SQLException
protected CounterRegister getCounterRegister(String name)
protected int getRangeSize(String name)