1
14
15 package com.liferay.portal.service;
16
17
18
34 public class AccountLocalServiceWrapper implements AccountLocalService {
35 public AccountLocalServiceWrapper(AccountLocalService accountLocalService) {
36 _accountLocalService = accountLocalService;
37 }
38
39 public com.liferay.portal.model.Account addAccount(
40 com.liferay.portal.model.Account account)
41 throws com.liferay.portal.kernel.exception.SystemException {
42 return _accountLocalService.addAccount(account);
43 }
44
45 public com.liferay.portal.model.Account createAccount(long accountId) {
46 return _accountLocalService.createAccount(accountId);
47 }
48
49 public void deleteAccount(long accountId)
50 throws com.liferay.portal.kernel.exception.PortalException,
51 com.liferay.portal.kernel.exception.SystemException {
52 _accountLocalService.deleteAccount(accountId);
53 }
54
55 public void deleteAccount(com.liferay.portal.model.Account account)
56 throws com.liferay.portal.kernel.exception.SystemException {
57 _accountLocalService.deleteAccount(account);
58 }
59
60 @SuppressWarnings("unchecked")
61 public java.util.List dynamicQuery(
62 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
63 throws com.liferay.portal.kernel.exception.SystemException {
64 return _accountLocalService.dynamicQuery(dynamicQuery);
65 }
66
67 @SuppressWarnings("unchecked")
68 public java.util.List dynamicQuery(
69 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
70 int end) throws com.liferay.portal.kernel.exception.SystemException {
71 return _accountLocalService.dynamicQuery(dynamicQuery, start, end);
72 }
73
74 @SuppressWarnings("unchecked")
75 public java.util.List dynamicQuery(
76 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77 int end,
78 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79 throws com.liferay.portal.kernel.exception.SystemException {
80 return _accountLocalService.dynamicQuery(dynamicQuery, start, end,
81 orderByComparator);
82 }
83
84 public long dynamicQueryCount(
85 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86 throws com.liferay.portal.kernel.exception.SystemException {
87 return _accountLocalService.dynamicQueryCount(dynamicQuery);
88 }
89
90 public com.liferay.portal.model.Account getAccount(long accountId)
91 throws com.liferay.portal.kernel.exception.PortalException,
92 com.liferay.portal.kernel.exception.SystemException {
93 return _accountLocalService.getAccount(accountId);
94 }
95
96 public java.util.List<com.liferay.portal.model.Account> getAccounts(
97 int start, int end)
98 throws com.liferay.portal.kernel.exception.SystemException {
99 return _accountLocalService.getAccounts(start, end);
100 }
101
102 public int getAccountsCount()
103 throws com.liferay.portal.kernel.exception.SystemException {
104 return _accountLocalService.getAccountsCount();
105 }
106
107 public com.liferay.portal.model.Account updateAccount(
108 com.liferay.portal.model.Account account)
109 throws com.liferay.portal.kernel.exception.SystemException {
110 return _accountLocalService.updateAccount(account);
111 }
112
113 public com.liferay.portal.model.Account updateAccount(
114 com.liferay.portal.model.Account account, boolean merge)
115 throws com.liferay.portal.kernel.exception.SystemException {
116 return _accountLocalService.updateAccount(account, merge);
117 }
118
119 public com.liferay.portal.model.Account getAccount(long companyId,
120 long accountId)
121 throws com.liferay.portal.kernel.exception.PortalException,
122 com.liferay.portal.kernel.exception.SystemException {
123 return _accountLocalService.getAccount(companyId, accountId);
124 }
125
126 public AccountLocalService getWrappedAccountLocalService() {
127 return _accountLocalService;
128 }
129
130 private AccountLocalService _accountLocalService;
131 }