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.
| 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 |
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