Liferay 6.0.3

com.liferay.counter.service.persistence
Interface CounterPersistence

All Superinterfaces:
BasePersistence<Counter>
All Known Implementing Classes:
CounterPersistenceImpl

public interface CounterPersistence
extends BasePersistence<Counter>

See Also:
CounterPersistenceImpl, CounterUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 void cacheResult(Counter counter)
           
 void cacheResult(List<Counter> counters)
           
 int countAll()
           
 Counter create(String name)
           
 Counter fetchByPrimaryKey(String name)
           
 List<Counter> findAll()
           
 List<Counter> findAll(int start, int end)
           
 List<Counter> findAll(int start, int end, OrderByComparator orderByComparator)
           
 Counter findByPrimaryKey(String name)
           
 Counter remove(String name)
           
 void removeAll()
           
 Counter updateImpl(Counter counter, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update, update
 

Method Detail

cacheResult

void cacheResult(Counter counter)

cacheResult

void cacheResult(List<Counter> counters)

create

Counter create(String name)

remove

Counter remove(String name)
               throws NoSuchCounterException,
                      SystemException
Throws:
NoSuchCounterException
SystemException

updateImpl

Counter updateImpl(Counter counter,
                   boolean merge)
                   throws SystemException
Throws:
SystemException

findByPrimaryKey

Counter findByPrimaryKey(String name)
                         throws NoSuchCounterException,
                                SystemException
Throws:
NoSuchCounterException
SystemException

fetchByPrimaryKey

Counter fetchByPrimaryKey(String name)
                          throws SystemException
Throws:
SystemException

findAll

List<Counter> findAll()
                      throws SystemException
Throws:
SystemException

findAll

List<Counter> findAll(int start,
                      int end)
                      throws SystemException
Throws:
SystemException

findAll

List<Counter> findAll(int start,
                      int end,
                      OrderByComparator orderByComparator)
                      throws SystemException
Throws:
SystemException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException

Liferay 6.0.3