1
14
15 package com.liferay.portlet.social.service;
16
17
18
34 public class SocialRequestLocalServiceWrapper
35 implements SocialRequestLocalService {
36 public SocialRequestLocalServiceWrapper(
37 SocialRequestLocalService socialRequestLocalService) {
38 _socialRequestLocalService = socialRequestLocalService;
39 }
40
41 public com.liferay.portlet.social.model.SocialRequest addSocialRequest(
42 com.liferay.portlet.social.model.SocialRequest socialRequest)
43 throws com.liferay.portal.kernel.exception.SystemException {
44 return _socialRequestLocalService.addSocialRequest(socialRequest);
45 }
46
47 public com.liferay.portlet.social.model.SocialRequest createSocialRequest(
48 long requestId) {
49 return _socialRequestLocalService.createSocialRequest(requestId);
50 }
51
52 public void deleteSocialRequest(long requestId)
53 throws com.liferay.portal.kernel.exception.PortalException,
54 com.liferay.portal.kernel.exception.SystemException {
55 _socialRequestLocalService.deleteSocialRequest(requestId);
56 }
57
58 public void deleteSocialRequest(
59 com.liferay.portlet.social.model.SocialRequest socialRequest)
60 throws com.liferay.portal.kernel.exception.SystemException {
61 _socialRequestLocalService.deleteSocialRequest(socialRequest);
62 }
63
64 @SuppressWarnings("unchecked")
65 public java.util.List dynamicQuery(
66 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
67 throws com.liferay.portal.kernel.exception.SystemException {
68 return _socialRequestLocalService.dynamicQuery(dynamicQuery);
69 }
70
71 @SuppressWarnings("unchecked")
72 public java.util.List dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74 int end) throws com.liferay.portal.kernel.exception.SystemException {
75 return _socialRequestLocalService.dynamicQuery(dynamicQuery, start, end);
76 }
77
78 @SuppressWarnings("unchecked")
79 public java.util.List dynamicQuery(
80 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
81 int end,
82 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
83 throws com.liferay.portal.kernel.exception.SystemException {
84 return _socialRequestLocalService.dynamicQuery(dynamicQuery, start,
85 end, orderByComparator);
86 }
87
88 public long dynamicQueryCount(
89 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
90 throws com.liferay.portal.kernel.exception.SystemException {
91 return _socialRequestLocalService.dynamicQueryCount(dynamicQuery);
92 }
93
94 public com.liferay.portlet.social.model.SocialRequest getSocialRequest(
95 long requestId)
96 throws com.liferay.portal.kernel.exception.PortalException,
97 com.liferay.portal.kernel.exception.SystemException {
98 return _socialRequestLocalService.getSocialRequest(requestId);
99 }
100
101 public com.liferay.portlet.social.model.SocialRequest getSocialRequestByUuidAndGroupId(
102 java.lang.String uuid, long groupId)
103 throws com.liferay.portal.kernel.exception.PortalException,
104 com.liferay.portal.kernel.exception.SystemException {
105 return _socialRequestLocalService.getSocialRequestByUuidAndGroupId(uuid,
106 groupId);
107 }
108
109 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getSocialRequests(
110 int start, int end)
111 throws com.liferay.portal.kernel.exception.SystemException {
112 return _socialRequestLocalService.getSocialRequests(start, end);
113 }
114
115 public int getSocialRequestsCount()
116 throws com.liferay.portal.kernel.exception.SystemException {
117 return _socialRequestLocalService.getSocialRequestsCount();
118 }
119
120 public com.liferay.portlet.social.model.SocialRequest updateSocialRequest(
121 com.liferay.portlet.social.model.SocialRequest socialRequest)
122 throws com.liferay.portal.kernel.exception.SystemException {
123 return _socialRequestLocalService.updateSocialRequest(socialRequest);
124 }
125
126 public com.liferay.portlet.social.model.SocialRequest updateSocialRequest(
127 com.liferay.portlet.social.model.SocialRequest socialRequest,
128 boolean merge)
129 throws com.liferay.portal.kernel.exception.SystemException {
130 return _socialRequestLocalService.updateSocialRequest(socialRequest,
131 merge);
132 }
133
134 public com.liferay.portlet.social.model.SocialRequest addRequest(
135 long userId, long groupId, java.lang.String className, long classPK,
136 int type, java.lang.String extraData, long receiverUserId)
137 throws com.liferay.portal.kernel.exception.PortalException,
138 com.liferay.portal.kernel.exception.SystemException {
139 return _socialRequestLocalService.addRequest(userId, groupId,
140 className, classPK, type, extraData, receiverUserId);
141 }
142
143 public void deleteReceiverUserRequests(long receiverUserId)
144 throws com.liferay.portal.kernel.exception.SystemException {
145 _socialRequestLocalService.deleteReceiverUserRequests(receiverUserId);
146 }
147
148 public void deleteRequest(long requestId)
149 throws com.liferay.portal.kernel.exception.PortalException,
150 com.liferay.portal.kernel.exception.SystemException {
151 _socialRequestLocalService.deleteRequest(requestId);
152 }
153
154 public void deleteUserRequests(long userId)
155 throws com.liferay.portal.kernel.exception.SystemException {
156 _socialRequestLocalService.deleteUserRequests(userId);
157 }
158
159 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getReceiverUserRequests(
160 long receiverUserId, int start, int end)
161 throws com.liferay.portal.kernel.exception.SystemException {
162 return _socialRequestLocalService.getReceiverUserRequests(receiverUserId,
163 start, end);
164 }
165
166 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getReceiverUserRequests(
167 long receiverUserId, int status, int start, int end)
168 throws com.liferay.portal.kernel.exception.SystemException {
169 return _socialRequestLocalService.getReceiverUserRequests(receiverUserId,
170 status, start, end);
171 }
172
173 public int getReceiverUserRequestsCount(long receiverUserId)
174 throws com.liferay.portal.kernel.exception.SystemException {
175 return _socialRequestLocalService.getReceiverUserRequestsCount(receiverUserId);
176 }
177
178 public int getReceiverUserRequestsCount(long receiverUserId, int status)
179 throws com.liferay.portal.kernel.exception.SystemException {
180 return _socialRequestLocalService.getReceiverUserRequestsCount(receiverUserId,
181 status);
182 }
183
184 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getUserRequests(
185 long userId, int start, int end)
186 throws com.liferay.portal.kernel.exception.SystemException {
187 return _socialRequestLocalService.getUserRequests(userId, start, end);
188 }
189
190 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getUserRequests(
191 long userId, int status, int start, int end)
192 throws com.liferay.portal.kernel.exception.SystemException {
193 return _socialRequestLocalService.getUserRequests(userId, status,
194 start, end);
195 }
196
197 public int getUserRequestsCount(long userId)
198 throws com.liferay.portal.kernel.exception.SystemException {
199 return _socialRequestLocalService.getUserRequestsCount(userId);
200 }
201
202 public int getUserRequestsCount(long userId, int status)
203 throws com.liferay.portal.kernel.exception.SystemException {
204 return _socialRequestLocalService.getUserRequestsCount(userId, status);
205 }
206
207 public boolean hasRequest(long userId, java.lang.String className,
208 long classPK, int type, int status)
209 throws com.liferay.portal.kernel.exception.SystemException {
210 return _socialRequestLocalService.hasRequest(userId, className,
211 classPK, type, status);
212 }
213
214 public boolean hasRequest(long userId, java.lang.String className,
215 long classPK, int type, long receiverUserId, int status)
216 throws com.liferay.portal.kernel.exception.SystemException {
217 return _socialRequestLocalService.hasRequest(userId, className,
218 classPK, type, receiverUserId, status);
219 }
220
221 public com.liferay.portlet.social.model.SocialRequest updateRequest(
222 long requestId, int status,
223 com.liferay.portal.theme.ThemeDisplay themeDisplay)
224 throws com.liferay.portal.kernel.exception.PortalException,
225 com.liferay.portal.kernel.exception.SystemException {
226 return _socialRequestLocalService.updateRequest(requestId, status,
227 themeDisplay);
228 }
229
230 public SocialRequestLocalService getWrappedSocialRequestLocalService() {
231 return _socialRequestLocalService;
232 }
233
234 private SocialRequestLocalService _socialRequestLocalService;
235 }