com.liferay.portal.service.persistence
Interface AccountPersistence
- All Superinterfaces:
- BasePersistence<Account>
- All Known Implementing Classes:
- AccountPersistenceImpl
public interface AccountPersistence
- extends BasePersistence<Account>
- See Also:
AccountPersistenceImpl,
AccountUtil- 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(Account account)
cacheResult
void cacheResult(List<Account> accounts)
create
Account create(long accountId)
remove
Account remove(long accountId)
throws NoSuchAccountException,
SystemException
- Throws:
NoSuchAccountException
SystemException
updateImpl
Account updateImpl(Account account,
boolean merge)
throws SystemException
- Throws:
SystemException
findByPrimaryKey
Account findByPrimaryKey(long accountId)
throws NoSuchAccountException,
SystemException
- Throws:
NoSuchAccountException
SystemException
fetchByPrimaryKey
Account fetchByPrimaryKey(long accountId)
throws SystemException
- Throws:
SystemException
findAll
List<Account> findAll()
throws SystemException
- Throws:
SystemException
findAll
List<Account> findAll(int start,
int end)
throws SystemException
- Throws:
SystemException
findAll
List<Account> 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