com.liferay.portal.service.persistence
Interface AccountPersistence

All Known Implementing Classes:
AccountPersistenceImpl

public interface AccountPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 com.liferay.portal.model.Account create(long accountId)
           
 com.liferay.portal.model.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)
           
 com.liferay.portal.model.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)
           
 com.liferay.portal.model.Account remove(com.liferay.portal.model.Account account)
           
 com.liferay.portal.model.Account remove(long accountId)
           
 void removeAll()
           
 com.liferay.portal.model.Account update(com.liferay.portal.model.Account account)
           
 com.liferay.portal.model.Account update(com.liferay.portal.model.Account account, boolean merge)
           
 

Method Detail

create

public com.liferay.portal.model.Account create(long accountId)

remove

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

remove

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

update

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

update

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

findByPrimaryKey

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

fetchByPrimaryKey

public com.liferay.portal.model.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