com.liferay.portal.service.persistence
Interface AccountPersistence


public interface AccountPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 Account create(long accountId)
           
 Account fetchByPrimaryKey(long accountId)
           
 java.util.List findAll()
           
 java.util.List findAll(int begin, int end)
           
 java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 Account findByPrimaryKey(long accountId)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 Account remove(Account account)
           
 Account remove(long accountId)
           
 void removeAll()
           
 Account update(Account account)
           
 Account update(Account account, boolean merge)
           
 Account updateImpl(Account account, boolean merge)
           
 

Method Detail

create

public Account create(long accountId)

remove

public Account remove(long accountId)
               throws com.liferay.portal.SystemException,
                      NoSuchAccountException
Throws:
com.liferay.portal.SystemException
NoSuchAccountException

remove

public Account remove(Account account)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public Account update(Account account)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public Account update(Account account,
                      boolean merge)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                           int begin,
                                           int end)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll()
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

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

countAll

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