com.liferay.portal.service.persistence
Class AccountUtil
java.lang.Object
com.liferay.portal.service.persistence.AccountUtil
- public class AccountUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static int |
countAll()
|
static com.liferay.portal.model.Account |
create(long accountId)
|
static com.liferay.portal.model.Account |
fetchByPrimaryKey(long accountId)
|
static java.util.List |
findAll()
|
static java.util.List |
findAll(int begin,
int end)
|
static java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portal.model.Account |
findByPrimaryKey(long accountId)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static AccountPersistence |
getPersistence()
|
static com.liferay.portal.model.Account |
remove(com.liferay.portal.model.Account account)
|
static com.liferay.portal.model.Account |
remove(long accountId)
|
static void |
removeAll()
|
void |
setPersistence(AccountPersistence persistence)
|
static com.liferay.portal.model.Account |
update(com.liferay.portal.model.Account account)
|
static com.liferay.portal.model.Account |
update(com.liferay.portal.model.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()
create
public static com.liferay.portal.model.Account create(long accountId)
remove
public static 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 static com.liferay.portal.model.Account remove(com.liferay.portal.model.Account account)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static com.liferay.portal.model.Account update(com.liferay.portal.model.Account account)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static 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 static 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 static com.liferay.portal.model.Account fetchByPrimaryKey(long accountId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static 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 static java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static 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 static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static AccountPersistence getPersistence()
setPersistence
public void setPersistence(AccountPersistence persistence)