Liferay 6.0.3

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.

Method Summary
 void cacheResult(Account account)
           
 void cacheResult(List<Account> accounts)
           
 int countAll()
           
 Account create(long accountId)
           
 Account fetchByPrimaryKey(long accountId)
           
 List<Account> findAll()
           
 List<Account> findAll(int start, int end)
           
 List<Account> findAll(int start, int end, OrderByComparator orderByComparator)
           
 Account findByPrimaryKey(long accountId)
           
 Account remove(long accountId)
           
 void removeAll()
           
 Account updateImpl(Account account, 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(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

Liferay 6.0.3