com.liferay.portal.service.persistence
Class AccountUtil
java.lang.Object
com.liferay.portal.service.persistence.AccountUtil
public class AccountUtil
- extends Object
- See Also:
AccountPersistence,
AccountPersistenceImpl- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
static void |
cacheResult(Account account)
|
static void |
cacheResult(List<Account> accounts)
|
static void |
clearCache()
|
static void |
clearCache(Account account)
|
static int |
countAll()
|
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static Account |
create(long accountId)
|
static Account |
fetchByPrimaryKey(long accountId)
|
static List<Account> |
findAll()
|
static List<Account> |
findAll(int start,
int end)
|
static List<Account> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
static Account |
findByPrimaryKey(long accountId)
|
static List<Account> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<Account> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<Account> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
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 |
update(Account account,
boolean merge,
ServiceContext serviceContext)
|
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 |
AccountUtil
public AccountUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
clearCache
public static void clearCache(Account account)
- See Also:
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
countWithDynamicQuery
public long countWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static List<Account> findWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static List<Account> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
findWithDynamicQuery
public static List<Account> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
remove
public static Account remove(Account account)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static Account update(Account account,
boolean merge)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
update
public static Account update(Account account,
boolean merge,
ServiceContext serviceContext)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
cacheResult
public static void cacheResult(Account account)
cacheResult
public static void cacheResult(List<Account> accounts)
create
public static Account create(long accountId)
remove
public static Account remove(long accountId)
throws NoSuchAccountException,
SystemException
- Throws:
NoSuchAccountException
SystemException
updateImpl
public static Account updateImpl(Account account,
boolean merge)
throws SystemException
- Throws:
SystemException
findByPrimaryKey
public static Account findByPrimaryKey(long accountId)
throws NoSuchAccountException,
SystemException
- Throws:
NoSuchAccountException
SystemException
fetchByPrimaryKey
public static Account fetchByPrimaryKey(long accountId)
throws SystemException
- Throws:
SystemException
findAll
public static List<Account> findAll()
throws SystemException
- Throws:
SystemException
findAll
public static List<Account> findAll(int start,
int end)
throws SystemException
- Throws:
SystemException
findAll
public static List<Account> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
removeAll
public static void removeAll()
throws SystemException
- Throws:
SystemException
countAll
public static int countAll()
throws SystemException
- Throws:
SystemException
getPersistence
public static AccountPersistence getPersistence()
setPersistence
public void setPersistence(AccountPersistence persistence)