com.liferay.portal.service.persistence
Class AccountUtil

java.lang.Object
  extended by com.liferay.portal.service.persistence.AccountUtil

public class AccountUtil
extends java.lang.Object

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

Constructor Summary
AccountUtil()
           
 
Method Summary
static void cacheResult(Account account)
           
static void cacheResult(java.util.List<Account> accounts)
           
static void clearCache()
           
static int countAll()
           
static Account create(long accountId)
           
static Account fetchByPrimaryKey(long accountId)
           
static java.util.List<Account> findAll()
           
static java.util.List<Account> findAll(int start, int end)
           
static java.util.List<Account> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static Account findByPrimaryKey(long accountId)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static AccountPersistence getPersistence()
           
static Account remove(Account account)
           
static Account remove(long accountId)
           
static void removeAll()
           
 void setPersistence(AccountPersistence persistence)
           
static Account update(Account account, boolean merge)
           
static Account updateImpl(Account account, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountUtil

public AccountUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                                    int start,
                                                                    int end)
                                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

public static Account remove(Account account)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static Account update(Account account,
                             boolean merge)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

cacheResult

public static void cacheResult(Account account)

cacheResult

public static void cacheResult(java.util.List<Account> accounts)

create

public static Account create(long accountId)

remove

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

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findAll

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

findAll

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

findAll

public static 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

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

countAll

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

getPersistence

public static AccountPersistence getPersistence()

setPersistence

public void setPersistence(AccountPersistence persistence)