com.liferay.counter.service.persistence
Interface CounterPersistence
- All Superinterfaces:
- BasePersistence<Counter>
public interface CounterPersistence
- extends BasePersistence<Counter>
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
CounterPersistenceImpl
,
CounterUtil
- 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 |
cacheResult
void cacheResult(Counter counter)
cacheResult
void cacheResult(java.util.List<Counter> counters)
create
Counter create(java.lang.String name)
remove
Counter remove(java.lang.String name)
throws NoSuchCounterException,
SystemException
- Throws:
NoSuchCounterException
SystemException
updateImpl
Counter updateImpl(Counter counter,
boolean merge)
throws SystemException
- Throws:
SystemException
findByPrimaryKey
Counter findByPrimaryKey(java.lang.String name)
throws NoSuchCounterException,
SystemException
- Throws:
NoSuchCounterException
SystemException
fetchByPrimaryKey
Counter fetchByPrimaryKey(java.lang.String name)
throws SystemException
- Throws:
SystemException
findAll
java.util.List<Counter> findAll()
throws SystemException
- Throws:
SystemException
findAll
java.util.List<Counter> findAll(int start,
int end)
throws SystemException
- Throws:
SystemException
findAll
java.util.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