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 public java.util.List<Object> dynamicQuery(
61 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
62 throws com.liferay.portal.kernel.exception.SystemException {
63 return _accountLocalService.dynamicQuery(dynamicQuery);
64 }
65
66 public java.util.List<Object> dynamicQuery(
67 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
68 int end) throws com.liferay.portal.kernel.exception.SystemException {
69 return _accountLocalService.dynamicQuery(dynamicQuery, start, end);
70 }
71
72 public java.util.List<Object> dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74 int end,
75 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
76 throws com.liferay.portal.kernel.exception.SystemException {
77 return _accountLocalService.dynamicQuery(dynamicQuery, start, end,
78 orderByComparator);
79 }
80
81 public int dynamicQueryCount(
82 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
83 throws com.liferay.portal.kernel.exception.SystemException {
84 return _accountLocalService.dynamicQueryCount(dynamicQuery);
85 }
86
87 public com.liferay.portal.model.Account getAccount(long accountId)
88 throws com.liferay.portal.kernel.exception.PortalException,
89 com.liferay.portal.kernel.exception.SystemException {
90 return _accountLocalService.getAccount(accountId);
91 }
92
93 public java.util.List<com.liferay.portal.model.Account> getAccounts(
94 int start, int end)
95 throws com.liferay.portal.kernel.exception.SystemException {
96 return _accountLocalService.getAccounts(start, end);
97 }
98
99 public int getAccountsCount()
100 throws com.liferay.portal.kernel.exception.SystemException {
101 return _accountLocalService.getAccountsCount();
102 }
103
104 public com.liferay.portal.model.Account updateAccount(
105 com.liferay.portal.model.Account account)
106 throws com.liferay.portal.kernel.exception.SystemException {
107 return _accountLocalService.updateAccount(account);
108 }
109
110 public com.liferay.portal.model.Account updateAccount(
111 com.liferay.portal.model.Account account, boolean merge)
112 throws com.liferay.portal.kernel.exception.SystemException {
113 return _accountLocalService.updateAccount(account, merge);
114 }
115
116 public com.liferay.portal.model.Account getAccount(long companyId,
117 long accountId)
118 throws com.liferay.portal.kernel.exception.PortalException,
119 com.liferay.portal.kernel.exception.SystemException {
120 return _accountLocalService.getAccount(companyId, accountId);
121 }
122
123 public AccountLocalService getWrappedAccountLocalService() {
124 return _accountLocalService;
125 }
126
127 private AccountLocalService _accountLocalService;
128 }