com.liferay.portal.service
Class AccountLocalServiceUtil
java.lang.Object
com.liferay.portal.service.AccountLocalServiceUtil
public class AccountLocalServiceUtil
- extends Object
This class provides static methods for the
AccountLocalService bean. The static methods of
this class calls the same methods of the bean instance. It's convenient to be
able to just write one line to call a method on a bean instead of writing a
lookup call and a method call.
- See Also:
AccountLocalService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccountLocalServiceUtil
public AccountLocalServiceUtil()
addAccount
public static Account addAccount(Account account)
throws SystemException
- Throws:
SystemException
createAccount
public static Account createAccount(long accountId)
deleteAccount
public static void deleteAccount(long accountId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteAccount
public static void deleteAccount(Account account)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getAccount
public static Account getAccount(long accountId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getAccounts
public static List<Account> getAccounts(int start,
int end)
throws SystemException
- Throws:
SystemException
getAccountsCount
public static int getAccountsCount()
throws SystemException
- Throws:
SystemException
updateAccount
public static Account updateAccount(Account account)
throws SystemException
- Throws:
SystemException
updateAccount
public static Account updateAccount(Account account,
boolean merge)
throws SystemException
- Throws:
SystemException
getAccount
public static Account getAccount(long companyId,
long accountId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static AccountLocalService getService()
setService
public void setService(AccountLocalService service)