com.liferay.counter.service.persistence
Class CounterFinderImpl
java.lang.Object
com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.Dummy>
com.liferay.counter.service.persistence.CounterFinderImpl
- All Implemented Interfaces:
- com.liferay.counter.service.persistence.CounterFinder, com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.Dummy>
public class CounterFinderImpl
- extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.Dummy>
- implements com.liferay.counter.service.persistence.CounterFinder
View Source
- Author:
- Brian Wing Shun Chan, Harry Mark, Michael Young, Shuyang Zhou, Edward Han
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 |
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, setDataSource, setSessionFactory, unregisterListener, 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 java.util.List<java.lang.String> getNames()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getNames
in interface com.liferay.counter.service.persistence.CounterFinder
- Throws:
com.liferay.portal.kernel.exception.SystemException
increment
public long increment()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
increment
in interface com.liferay.counter.service.persistence.CounterFinder
- Throws:
com.liferay.portal.kernel.exception.SystemException
increment
public long increment(java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
increment
in interface com.liferay.counter.service.persistence.CounterFinder
- Throws:
com.liferay.portal.kernel.exception.SystemException
increment
public long increment(java.lang.String name,
int size)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
increment
in interface com.liferay.counter.service.persistence.CounterFinder
- Throws:
com.liferay.portal.kernel.exception.SystemException
rename
public void rename(java.lang.String oldName,
java.lang.String newName)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
rename
in interface com.liferay.counter.service.persistence.CounterFinder
- Throws:
com.liferay.portal.kernel.exception.SystemException
reset
public void reset(java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
reset
in interface com.liferay.counter.service.persistence.CounterFinder
- Throws:
com.liferay.portal.kernel.exception.SystemException
reset
public void reset(java.lang.String name,
long size)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
reset
in interface com.liferay.counter.service.persistence.CounterFinder
- Throws:
com.liferay.portal.kernel.exception.SystemException
createCounterRegister
protected CounterRegister createCounterRegister(java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
createCounterRegister
protected CounterRegister createCounterRegister(java.lang.String name,
long size)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getConnection
protected java.sql.Connection getConnection()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getCounterRegister
protected CounterRegister getCounterRegister(java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getRangeSize
protected int getRangeSize(java.lang.String name)