1
22
23 package com.liferay.portal.service;
24
25
26
47 public class AccountLocalServiceUtil {
48 public static com.liferay.portal.model.Account addAccount(
49 com.liferay.portal.model.Account account)
50 throws com.liferay.portal.SystemException {
51 return _service.addAccount(account);
52 }
53
54 public static void deleteAccount(long accountId)
55 throws com.liferay.portal.PortalException,
56 com.liferay.portal.SystemException {
57 _service.deleteAccount(accountId);
58 }
59
60 public static void deleteAccount(com.liferay.portal.model.Account account)
61 throws com.liferay.portal.SystemException {
62 _service.deleteAccount(account);
63 }
64
65 public static java.util.List<Object> dynamicQuery(
66 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
67 throws com.liferay.portal.SystemException {
68 return _service.dynamicQuery(dynamicQuery);
69 }
70
71 public static java.util.List<Object> dynamicQuery(
72 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
73 int end) throws com.liferay.portal.SystemException {
74 return _service.dynamicQuery(dynamicQuery, start, end);
75 }
76
77 public static com.liferay.portal.model.Account getAccount(long accountId)
78 throws com.liferay.portal.PortalException,
79 com.liferay.portal.SystemException {
80 return _service.getAccount(accountId);
81 }
82
83 public static java.util.List<com.liferay.portal.model.Account> getAccounts(
84 int start, int end) throws com.liferay.portal.SystemException {
85 return _service.getAccounts(start, end);
86 }
87
88 public static int getAccountsCount()
89 throws com.liferay.portal.SystemException {
90 return _service.getAccountsCount();
91 }
92
93 public static com.liferay.portal.model.Account updateAccount(
94 com.liferay.portal.model.Account account)
95 throws com.liferay.portal.SystemException {
96 return _service.updateAccount(account);
97 }
98
99 public static AccountLocalService getService() {
100 return _service;
101 }
102
103 public void setService(AccountLocalService service) {
104 _service = service;
105 }
106
107 private static AccountLocalService _service;
108 }