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, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, 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,
                      com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchAccountException
com.liferay.portal.kernel.exception.SystemException

updateImpl

Account updateImpl(Account account,
                   boolean merge)
                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByPrimaryKey

Account findByPrimaryKey(long accountId)
                         throws NoSuchAccountException,
                                com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchAccountException
com.liferay.portal.kernel.exception.SystemException

fetchByPrimaryKey

Account fetchByPrimaryKey(long accountId)
                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<Account> findAll()
                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<Account> findAll(int start,
                                int end)
                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<Account> findAll(int start,
                                int end,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAll

void removeAll()
               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countAll

int countAll()
             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException