public class CounterFinderImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.Dummy>
implements com.liferay.portal.kernel.cache.CacheRegistryItem, com.liferay.counter.service.persistence.CounterFinder
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, 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 |
|---|---|
void |
afterPropertiesSet() |
protected CounterRegister |
createCounterRegister(java.lang.String name) |
protected CounterRegister |
createCounterRegister(java.lang.String name,
long size) |
protected java.sql.Connection |
getConnection() |
protected CounterRegister |
getCounterRegister(java.lang.String name) |
java.util.List<java.lang.String> |
getNames() |
protected int |
getRangeSize(java.lang.String name) |
java.lang.String |
getRegistryName() |
long |
increment() |
long |
increment(java.lang.String name) |
long |
increment(java.lang.String name,
int size) |
void |
invalidate() |
void |
rename(java.lang.String oldName,
java.lang.String newName) |
void |
reset(java.lang.String name) |
void |
reset(java.lang.String name,
long size) |
appendOrderByComparator, appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, remove, removeConjunction, removeImpl, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl, updateImplpublic void afterPropertiesSet()
afterPropertiesSet in interface com.liferay.counter.service.persistence.CounterFinderpublic java.util.List<java.lang.String> getNames()
throws com.liferay.portal.kernel.exception.SystemException
getNames in interface com.liferay.counter.service.persistence.CounterFindercom.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String getRegistryName()
getRegistryName in interface com.liferay.counter.service.persistence.CounterFindergetRegistryName in interface com.liferay.portal.kernel.cache.CacheRegistryItempublic long increment()
throws com.liferay.portal.kernel.exception.SystemException
increment in interface com.liferay.counter.service.persistence.CounterFindercom.liferay.portal.kernel.exception.SystemExceptionpublic long increment(java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
increment in interface com.liferay.counter.service.persistence.CounterFindercom.liferay.portal.kernel.exception.SystemExceptionpublic long increment(java.lang.String name,
int size)
throws com.liferay.portal.kernel.exception.SystemException
increment in interface com.liferay.counter.service.persistence.CounterFindercom.liferay.portal.kernel.exception.SystemExceptionpublic void invalidate()
invalidate in interface com.liferay.counter.service.persistence.CounterFinderinvalidate in interface com.liferay.portal.kernel.cache.CacheRegistryItempublic void rename(java.lang.String oldName,
java.lang.String newName)
throws com.liferay.portal.kernel.exception.SystemException
rename in interface com.liferay.counter.service.persistence.CounterFindercom.liferay.portal.kernel.exception.SystemExceptionpublic void reset(java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
reset in interface com.liferay.counter.service.persistence.CounterFindercom.liferay.portal.kernel.exception.SystemExceptionpublic void reset(java.lang.String name,
long size)
throws com.liferay.portal.kernel.exception.SystemException
reset in interface com.liferay.counter.service.persistence.CounterFindercom.liferay.portal.kernel.exception.SystemExceptionprotected CounterRegister createCounterRegister(java.lang.String name) throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionprotected CounterRegister createCounterRegister(java.lang.String name, long size) throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionprotected java.sql.Connection getConnection()
throws java.sql.SQLException
java.sql.SQLExceptionprotected CounterRegister getCounterRegister(java.lang.String name) throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionprotected int getRangeSize(java.lang.String name)