Liferay 6.0.5

com.liferay.counter.service.persistence
Class CounterFinderImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<Dummy>
      extended by com.liferay.counter.service.persistence.CounterFinderImpl
All Implemented Interfaces:
CounterFinder, SessionFactory, BasePersistence<Dummy>

public class CounterFinderImpl
extends BasePersistenceImpl<Dummy>
implements CounterFinder


Field Summary
 
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
 
Constructor Summary
CounterFinderImpl()
           
 
Method Summary
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)
           
 long increment()
           
 long increment(String name)
           
 long increment(String name, int size)
           
 void rename(String oldName, String newName)
           
 void reset(String name)
           
 void reset(String name, long size)
           
 
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
 

Constructor Detail

CounterFinderImpl

public CounterFinderImpl()
Method Detail

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)

Liferay 6.0.5