com.liferay.counter.service.persistence
Class CounterFinderImpl
java.lang.Object
com.liferay.portal.service.persistence.impl.BasePersistenceImpl<Dummy>
com.liferay.counter.service.persistence.CounterFinderImpl
- All Implemented Interfaces:
- CounterFinder, SessionFactory, BasePersistence<Dummy>
public class CounterFinderImpl
- extends BasePersistenceImpl<Dummy>
- implements CounterFinder
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
COUNT_COLUMN_NAME, 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 |
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
appendOrderByComparator, clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, remove, removeImpl, setDataSource, setSessionFactory, unregisterListener, update, update, 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()
throws SystemException
- Specified by:
getNames
in interface CounterFinder
- Throws:
SystemException
increment
public long increment()
throws SystemException
- Specified by:
increment
in interface CounterFinder
- Throws:
SystemException
increment
public long increment(String name)
throws SystemException
- Specified by:
increment
in interface CounterFinder
- Throws:
SystemException
increment
public long increment(String name,
int size)
throws SystemException
- Specified by:
increment
in interface CounterFinder
- Throws:
SystemException
rename
public void rename(String oldName,
String newName)
throws SystemException
- Specified by:
rename
in interface CounterFinder
- Throws:
SystemException
reset
public void reset(String name)
throws SystemException
- Specified by:
reset
in interface CounterFinder
- Throws:
SystemException
reset
public void reset(String name,
long size)
throws SystemException
- Specified by:
reset
in interface CounterFinder
- Throws:
SystemException
createCounterRegister
protected CounterRegister createCounterRegister(String name)
throws SystemException
- Throws:
SystemException
createCounterRegister
protected CounterRegister createCounterRegister(String name,
long size)
throws SystemException
- Throws:
SystemException
getConnection
protected Connection getConnection()
throws SQLException
- Throws:
SQLException
getCounterRegister
protected CounterRegister getCounterRegister(String name)
throws SystemException
- Throws:
SystemException
getRangeSize
protected int getRangeSize(String name)