Liferay 6.2-ce-ga5

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, CacheRegistryItem, SessionFactory, BasePersistence<Dummy>

public class CounterFinderImpl
extends BasePersistenceImpl<Dummy>
implements CacheRegistryItem, CounterFinder


Field Summary
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
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 Summary
CounterFinderImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
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)
           
 String getRegistryName()
           
 long increment()
           
 long increment(String name)
           
 long increment(String name, int size)
           
 void invalidate()
           
 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, 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, 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

afterPropertiesSet

public void afterPropertiesSet()
Specified by:
afterPropertiesSet in interface CounterFinder

getNames

public List<String> getNames()
                      throws SystemException
Specified by:
getNames in interface CounterFinder
Throws:
SystemException

getRegistryName

public String getRegistryName()
Specified by:
getRegistryName in interface CounterFinder
Specified by:
getRegistryName in interface CacheRegistryItem

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

invalidate

public void invalidate()
Specified by:
invalidate in interface CounterFinder
Specified by:
invalidate in interface CacheRegistryItem

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.2-ce-ga5