001
014
015 package com.liferay.portlet.social.service;
016
017
026 public class SocialRequestLocalServiceWrapper
027 implements SocialRequestLocalService {
028 public SocialRequestLocalServiceWrapper(
029 SocialRequestLocalService socialRequestLocalService) {
030 _socialRequestLocalService = socialRequestLocalService;
031 }
032
033
040 public com.liferay.portlet.social.model.SocialRequest addSocialRequest(
041 com.liferay.portlet.social.model.SocialRequest socialRequest)
042 throws com.liferay.portal.kernel.exception.SystemException {
043 return _socialRequestLocalService.addSocialRequest(socialRequest);
044 }
045
046
052 public com.liferay.portlet.social.model.SocialRequest createSocialRequest(
053 long requestId) {
054 return _socialRequestLocalService.createSocialRequest(requestId);
055 }
056
057
064 public void deleteSocialRequest(long requestId)
065 throws com.liferay.portal.kernel.exception.PortalException,
066 com.liferay.portal.kernel.exception.SystemException {
067 _socialRequestLocalService.deleteSocialRequest(requestId);
068 }
069
070
076 public void deleteSocialRequest(
077 com.liferay.portlet.social.model.SocialRequest socialRequest)
078 throws com.liferay.portal.kernel.exception.SystemException {
079 _socialRequestLocalService.deleteSocialRequest(socialRequest);
080 }
081
082
089 @SuppressWarnings("rawtypes")
090 public java.util.List dynamicQuery(
091 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
092 throws com.liferay.portal.kernel.exception.SystemException {
093 return _socialRequestLocalService.dynamicQuery(dynamicQuery);
094 }
095
096
109 @SuppressWarnings("rawtypes")
110 public java.util.List dynamicQuery(
111 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
112 int end) throws com.liferay.portal.kernel.exception.SystemException {
113 return _socialRequestLocalService.dynamicQuery(dynamicQuery, start, end);
114 }
115
116
130 @SuppressWarnings("rawtypes")
131 public java.util.List dynamicQuery(
132 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
133 int end,
134 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
135 throws com.liferay.portal.kernel.exception.SystemException {
136 return _socialRequestLocalService.dynamicQuery(dynamicQuery, start,
137 end, orderByComparator);
138 }
139
140
147 public long dynamicQueryCount(
148 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
149 throws com.liferay.portal.kernel.exception.SystemException {
150 return _socialRequestLocalService.dynamicQueryCount(dynamicQuery);
151 }
152
153
161 public com.liferay.portlet.social.model.SocialRequest getSocialRequest(
162 long requestId)
163 throws com.liferay.portal.kernel.exception.PortalException,
164 com.liferay.portal.kernel.exception.SystemException {
165 return _socialRequestLocalService.getSocialRequest(requestId);
166 }
167
168 public com.liferay.portal.model.PersistedModel getPersistedModel(
169 java.io.Serializable primaryKeyObj)
170 throws com.liferay.portal.kernel.exception.PortalException,
171 com.liferay.portal.kernel.exception.SystemException {
172 return _socialRequestLocalService.getPersistedModel(primaryKeyObj);
173 }
174
175
184 public com.liferay.portlet.social.model.SocialRequest getSocialRequestByUuidAndGroupId(
185 java.lang.String uuid, long groupId)
186 throws com.liferay.portal.kernel.exception.PortalException,
187 com.liferay.portal.kernel.exception.SystemException {
188 return _socialRequestLocalService.getSocialRequestByUuidAndGroupId(uuid,
189 groupId);
190 }
191
192
204 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getSocialRequests(
205 int start, int end)
206 throws com.liferay.portal.kernel.exception.SystemException {
207 return _socialRequestLocalService.getSocialRequests(start, end);
208 }
209
210
216 public int getSocialRequestsCount()
217 throws com.liferay.portal.kernel.exception.SystemException {
218 return _socialRequestLocalService.getSocialRequestsCount();
219 }
220
221
228 public com.liferay.portlet.social.model.SocialRequest updateSocialRequest(
229 com.liferay.portlet.social.model.SocialRequest socialRequest)
230 throws com.liferay.portal.kernel.exception.SystemException {
231 return _socialRequestLocalService.updateSocialRequest(socialRequest);
232 }
233
234
242 public com.liferay.portlet.social.model.SocialRequest updateSocialRequest(
243 com.liferay.portlet.social.model.SocialRequest socialRequest,
244 boolean merge)
245 throws com.liferay.portal.kernel.exception.SystemException {
246 return _socialRequestLocalService.updateSocialRequest(socialRequest,
247 merge);
248 }
249
250
255 public java.lang.String getBeanIdentifier() {
256 return _socialRequestLocalService.getBeanIdentifier();
257 }
258
259
264 public void setBeanIdentifier(java.lang.String beanIdentifier) {
265 _socialRequestLocalService.setBeanIdentifier(beanIdentifier);
266 }
267
268 public com.liferay.portlet.social.model.SocialRequest addRequest(
269 long userId, long groupId, java.lang.String className, long classPK,
270 int type, java.lang.String extraData, long receiverUserId)
271 throws com.liferay.portal.kernel.exception.PortalException,
272 com.liferay.portal.kernel.exception.SystemException {
273 return _socialRequestLocalService.addRequest(userId, groupId,
274 className, classPK, type, extraData, receiverUserId);
275 }
276
277 public void deleteReceiverUserRequests(long receiverUserId)
278 throws com.liferay.portal.kernel.exception.SystemException {
279 _socialRequestLocalService.deleteReceiverUserRequests(receiverUserId);
280 }
281
282 public void deleteRequest(long requestId)
283 throws com.liferay.portal.kernel.exception.PortalException,
284 com.liferay.portal.kernel.exception.SystemException {
285 _socialRequestLocalService.deleteRequest(requestId);
286 }
287
288 public void deleteRequest(
289 com.liferay.portlet.social.model.SocialRequest request)
290 throws com.liferay.portal.kernel.exception.SystemException {
291 _socialRequestLocalService.deleteRequest(request);
292 }
293
294 public void deleteUserRequests(long userId)
295 throws com.liferay.portal.kernel.exception.SystemException {
296 _socialRequestLocalService.deleteUserRequests(userId);
297 }
298
299 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getReceiverUserRequests(
300 long receiverUserId, int start, int end)
301 throws com.liferay.portal.kernel.exception.SystemException {
302 return _socialRequestLocalService.getReceiverUserRequests(receiverUserId,
303 start, end);
304 }
305
306 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getReceiverUserRequests(
307 long receiverUserId, int status, int start, int end)
308 throws com.liferay.portal.kernel.exception.SystemException {
309 return _socialRequestLocalService.getReceiverUserRequests(receiverUserId,
310 status, start, end);
311 }
312
313 public int getReceiverUserRequestsCount(long receiverUserId)
314 throws com.liferay.portal.kernel.exception.SystemException {
315 return _socialRequestLocalService.getReceiverUserRequestsCount(receiverUserId);
316 }
317
318 public int getReceiverUserRequestsCount(long receiverUserId, int status)
319 throws com.liferay.portal.kernel.exception.SystemException {
320 return _socialRequestLocalService.getReceiverUserRequestsCount(receiverUserId,
321 status);
322 }
323
324 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getUserRequests(
325 long userId, int start, int end)
326 throws com.liferay.portal.kernel.exception.SystemException {
327 return _socialRequestLocalService.getUserRequests(userId, start, end);
328 }
329
330 public java.util.List<com.liferay.portlet.social.model.SocialRequest> getUserRequests(
331 long userId, int status, int start, int end)
332 throws com.liferay.portal.kernel.exception.SystemException {
333 return _socialRequestLocalService.getUserRequests(userId, status,
334 start, end);
335 }
336
337 public int getUserRequestsCount(long userId)
338 throws com.liferay.portal.kernel.exception.SystemException {
339 return _socialRequestLocalService.getUserRequestsCount(userId);
340 }
341
342 public int getUserRequestsCount(long userId, int status)
343 throws com.liferay.portal.kernel.exception.SystemException {
344 return _socialRequestLocalService.getUserRequestsCount(userId, status);
345 }
346
347 public boolean hasRequest(long userId, java.lang.String className,
348 long classPK, int type, int status)
349 throws com.liferay.portal.kernel.exception.SystemException {
350 return _socialRequestLocalService.hasRequest(userId, className,
351 classPK, type, status);
352 }
353
354 public boolean hasRequest(long userId, java.lang.String className,
355 long classPK, int type, long receiverUserId, int status)
356 throws com.liferay.portal.kernel.exception.SystemException {
357 return _socialRequestLocalService.hasRequest(userId, className,
358 classPK, type, receiverUserId, status);
359 }
360
361 public com.liferay.portlet.social.model.SocialRequest updateRequest(
362 long requestId, int status,
363 com.liferay.portal.theme.ThemeDisplay themeDisplay)
364 throws com.liferay.portal.kernel.exception.PortalException,
365 com.liferay.portal.kernel.exception.SystemException {
366 return _socialRequestLocalService.updateRequest(requestId, status,
367 themeDisplay);
368 }
369
370 public SocialRequestLocalService getWrappedSocialRequestLocalService() {
371 return _socialRequestLocalService;
372 }
373
374 public void setWrappedSocialRequestLocalService(
375 SocialRequestLocalService socialRequestLocalService) {
376 _socialRequestLocalService = socialRequestLocalService;
377 }
378
379 private SocialRequestLocalService _socialRequestLocalService;
380 }