com.liferay.portal.service.persistence
Interface AccountPersistence

All Superinterfaces:
BasePersistence<Account>

public interface AccountPersistence
extends BasePersistence<Account>

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:
AccountPersistenceImpl, AccountUtil
Generated:

Method Summary
 void cacheResult(Account account)
           
 void cacheResult(java.util.List<Account> accounts)
           
 int countAll()
           
 Account create(long accountId)
           
 Account fetchByPrimaryKey(long accountId)
           
 java.util.List<Account> findAll()
           
 java.util.List<Account> findAll(int start, int end)
           
 java.util.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
 

Method Detail

cacheResult

void cacheResult(Account account)

cacheResult

void cacheResult(java.util.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

java.util.List<Account> findAll()
                                throws SystemException
Throws:
SystemException

findAll

java.util.List<Account> findAll(int start,
                                int end)
                                throws SystemException
Throws:
SystemException

findAll

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