com.liferay.counter.service.persistence
Class CounterPersistence
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.jdbc.core.support.JdbcDaoSupport
com.liferay.portal.service.persistence.BasePersistence
com.liferay.counter.service.persistence.CounterPersistence
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean
- public class CounterPersistence
- extends com.liferay.portal.service.persistence.BasePersistence
View Source
- Author:
- Brian Wing Shun Chan, Harry Mark
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Methods inherited from class com.liferay.portal.service.persistence.BasePersistence |
closeSession, getDialect, getSessionFactory, openSession, openSession, setSessionFactory |
Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport |
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, initTemplateConfig, releaseConnection, setDataSource, setJdbcTemplate |
Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet, initDao |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CounterPersistence
public CounterPersistence()
getNames
public java.util.List getNames()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
increment
public long increment()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
increment
public long increment(java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
increment
public long increment(java.lang.String name,
int size)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
rename
public void rename(java.lang.String oldName,
java.lang.String newName)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
reset
public void reset(java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
reset
public void reset(java.lang.String name,
long size)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCounterRegister
protected CounterRegister getCounterRegister(java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createCounterRegister
protected CounterRegister createCounterRegister(java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createCounterRegister
protected CounterRegister createCounterRegister(java.lang.String name,
long size)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException