001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.social.kernel.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link SocialRequestLocalService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see SocialRequestLocalService
026     * @generated
027     */
028    @ProviderType
029    public class SocialRequestLocalServiceWrapper
030            implements SocialRequestLocalService,
031                    ServiceWrapper<SocialRequestLocalService> {
032            public SocialRequestLocalServiceWrapper(
033                    SocialRequestLocalService socialRequestLocalService) {
034                    _socialRequestLocalService = socialRequestLocalService;
035            }
036    
037            /**
038            * Returns <code>true</code> if a matching social requests exists in the
039            * database.
040            *
041            * @param userId the primary key of the requesting user
042            * @param className the class name of the asset that is the subject of the
043            request
044            * @param classPK the primary key of the asset that is the subject of the
045            request
046            * @param type the request's type
047            * @param status the social request's status
048            * @return <code>true</code> if the request exists; <code>false</code>
049            otherwise
050            */
051            @Override
052            public boolean hasRequest(long userId, java.lang.String className,
053                    long classPK, int type, int status) {
054                    return _socialRequestLocalService.hasRequest(userId, className,
055                            classPK, type, status);
056            }
057    
058            /**
059            * Returns <code>true</code> if a matching social request exists in the
060            * database.
061            *
062            * @param userId the primary key of the requesting user
063            * @param className the class name of the asset that is the subject of the
064            request
065            * @param classPK the primary key of the asset that is the subject of the
066            request
067            * @param type the request's type
068            * @param receiverUserId the primary key of the receiving user
069            * @param status the social request's status
070            * @return <code>true</code> if the social request exists;
071            <code>false</code> otherwise
072            */
073            @Override
074            public boolean hasRequest(long userId, java.lang.String className,
075                    long classPK, int type, long receiverUserId, int status) {
076                    return _socialRequestLocalService.hasRequest(userId, className,
077                            classPK, type, receiverUserId, status);
078            }
079    
080            @Override
081            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
082                    return _socialRequestLocalService.getActionableDynamicQuery();
083            }
084    
085            @Override
086            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
087                    return _socialRequestLocalService.dynamicQuery();
088            }
089    
090            @Override
091            public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
092                    return _socialRequestLocalService.getIndexableActionableDynamicQuery();
093            }
094    
095            /**
096            * @throws PortalException
097            */
098            @Override
099            public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(
100                    com.liferay.portal.kernel.model.PersistedModel persistedModel)
101                    throws com.liferay.portal.kernel.exception.PortalException {
102                    return _socialRequestLocalService.deletePersistedModel(persistedModel);
103            }
104    
105            @Override
106            public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(
107                    java.io.Serializable primaryKeyObj)
108                    throws com.liferay.portal.kernel.exception.PortalException {
109                    return _socialRequestLocalService.getPersistedModel(primaryKeyObj);
110            }
111    
112            /**
113            * Adds a social request to the database.
114            *
115            * <p>
116            * In order to add a social request, both the requesting user and the
117            * receiving user must be from the same company and neither of them can be
118            * the default user.
119            * </p>
120            *
121            * @param userId the primary key of the requesting user
122            * @param groupId the primary key of the group
123            * @param className the class name of the asset that is the subject of the
124            request
125            * @param classPK the primary key of the asset that is the subject of the
126            request
127            * @param type the request's type
128            * @param extraData the extra data regarding the request
129            * @param receiverUserId the primary key of the user receiving the request
130            * @return the social request
131            */
132            @Override
133            public com.liferay.social.kernel.model.SocialRequest addRequest(
134                    long userId, long groupId, java.lang.String className, long classPK,
135                    int type, java.lang.String extraData, long receiverUserId)
136                    throws com.liferay.portal.kernel.exception.PortalException {
137                    return _socialRequestLocalService.addRequest(userId, groupId,
138                            className, classPK, type, extraData, receiverUserId);
139            }
140    
141            /**
142            * Adds the social request to the database. Also notifies the appropriate model listeners.
143            *
144            * @param socialRequest the social request
145            * @return the social request that was added
146            */
147            @Override
148            public com.liferay.social.kernel.model.SocialRequest addSocialRequest(
149                    com.liferay.social.kernel.model.SocialRequest socialRequest) {
150                    return _socialRequestLocalService.addSocialRequest(socialRequest);
151            }
152    
153            /**
154            * Creates a new social request with the primary key. Does not add the social request to the database.
155            *
156            * @param requestId the primary key for the new social request
157            * @return the new social request
158            */
159            @Override
160            public com.liferay.social.kernel.model.SocialRequest createSocialRequest(
161                    long requestId) {
162                    return _socialRequestLocalService.createSocialRequest(requestId);
163            }
164    
165            /**
166            * Deletes the social request from the database. Also notifies the appropriate model listeners.
167            *
168            * @param socialRequest the social request
169            * @return the social request that was removed
170            */
171            @Override
172            public com.liferay.social.kernel.model.SocialRequest deleteSocialRequest(
173                    com.liferay.social.kernel.model.SocialRequest socialRequest) {
174                    return _socialRequestLocalService.deleteSocialRequest(socialRequest);
175            }
176    
177            /**
178            * Deletes the social request with the primary key from the database. Also notifies the appropriate model listeners.
179            *
180            * @param requestId the primary key of the social request
181            * @return the social request that was removed
182            * @throws PortalException if a social request with the primary key could not be found
183            */
184            @Override
185            public com.liferay.social.kernel.model.SocialRequest deleteSocialRequest(
186                    long requestId)
187                    throws com.liferay.portal.kernel.exception.PortalException {
188                    return _socialRequestLocalService.deleteSocialRequest(requestId);
189            }
190    
191            @Override
192            public com.liferay.social.kernel.model.SocialRequest fetchSocialRequest(
193                    long requestId) {
194                    return _socialRequestLocalService.fetchSocialRequest(requestId);
195            }
196    
197            /**
198            * Returns the social request matching the UUID and group.
199            *
200            * @param uuid the social request's UUID
201            * @param groupId the primary key of the group
202            * @return the matching social request, or <code>null</code> if a matching social request could not be found
203            */
204            @Override
205            public com.liferay.social.kernel.model.SocialRequest fetchSocialRequestByUuidAndGroupId(
206                    java.lang.String uuid, long groupId) {
207                    return _socialRequestLocalService.fetchSocialRequestByUuidAndGroupId(uuid,
208                            groupId);
209            }
210    
211            /**
212            * Returns the social request with the primary key.
213            *
214            * @param requestId the primary key of the social request
215            * @return the social request
216            * @throws PortalException if a social request with the primary key could not be found
217            */
218            @Override
219            public com.liferay.social.kernel.model.SocialRequest getSocialRequest(
220                    long requestId)
221                    throws com.liferay.portal.kernel.exception.PortalException {
222                    return _socialRequestLocalService.getSocialRequest(requestId);
223            }
224    
225            /**
226            * Returns the social request matching the UUID and group.
227            *
228            * @param uuid the social request's UUID
229            * @param groupId the primary key of the group
230            * @return the matching social request
231            * @throws PortalException if a matching social request could not be found
232            */
233            @Override
234            public com.liferay.social.kernel.model.SocialRequest getSocialRequestByUuidAndGroupId(
235                    java.lang.String uuid, long groupId)
236                    throws com.liferay.portal.kernel.exception.PortalException {
237                    return _socialRequestLocalService.getSocialRequestByUuidAndGroupId(uuid,
238                            groupId);
239            }
240    
241            /**
242            * Updates the social request replacing its status.
243            *
244            * <p>
245            * If the status is updated to {@link SocialRequestConstants#STATUS_CONFIRM}
246            * then {@link
247            * SocialRequestInterpreterLocalService#processConfirmation(
248            * SocialRequest, ThemeDisplay)} is called. If the status is updated to
249            * {@link SocialRequestConstants#STATUS_IGNORE} then {@link
250            * SocialRequestInterpreterLocalService#processRejection(
251            * SocialRequest, ThemeDisplay)} is called.
252            * </p>
253            *
254            * @param requestId the primary key of the social request
255            * @param status the new status
256            * @param themeDisplay the theme display
257            * @return the updated social request
258            */
259            @Override
260            public com.liferay.social.kernel.model.SocialRequest updateRequest(
261                    long requestId, int status,
262                    com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
263                    throws com.liferay.portal.kernel.exception.PortalException {
264                    return _socialRequestLocalService.updateRequest(requestId, status,
265                            themeDisplay);
266            }
267    
268            /**
269            * Updates the social request in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
270            *
271            * @param socialRequest the social request
272            * @return the social request that was updated
273            */
274            @Override
275            public com.liferay.social.kernel.model.SocialRequest updateSocialRequest(
276                    com.liferay.social.kernel.model.SocialRequest socialRequest) {
277                    return _socialRequestLocalService.updateSocialRequest(socialRequest);
278            }
279    
280            /**
281            * Returns the number of social requests for the receiving user.
282            *
283            * @param receiverUserId the primary key of the receiving user
284            * @return the number of matching social requests
285            */
286            @Override
287            public int getReceiverUserRequestsCount(long receiverUserId) {
288                    return _socialRequestLocalService.getReceiverUserRequestsCount(receiverUserId);
289            }
290    
291            /**
292            * Returns the number of social requests with the given status for the
293            * receiving user.
294            *
295            * @param receiverUserId the primary key of the receiving user
296            * @param status the social request's status
297            * @return the number of matching social requests
298            */
299            @Override
300            public int getReceiverUserRequestsCount(long receiverUserId, int status) {
301                    return _socialRequestLocalService.getReceiverUserRequestsCount(receiverUserId,
302                            status);
303            }
304    
305            /**
306            * Returns the number of social requests.
307            *
308            * @return the number of social requests
309            */
310            @Override
311            public int getSocialRequestsCount() {
312                    return _socialRequestLocalService.getSocialRequestsCount();
313            }
314    
315            /**
316            * Returns the number of social requests for the requesting user.
317            *
318            * @param userId the primary key of the requesting user
319            * @return the number of matching social requests
320            */
321            @Override
322            public int getUserRequestsCount(long userId) {
323                    return _socialRequestLocalService.getUserRequestsCount(userId);
324            }
325    
326            /**
327            * Returns the number of social requests with the given status for the
328            * requesting user.
329            *
330            * @param userId the primary key of the requesting user
331            * @param status the social request's status
332            * @return the number of matching social request
333            */
334            @Override
335            public int getUserRequestsCount(long userId, int status) {
336                    return _socialRequestLocalService.getUserRequestsCount(userId, status);
337            }
338    
339            /**
340            * Returns the OSGi service identifier.
341            *
342            * @return the OSGi service identifier
343            */
344            @Override
345            public java.lang.String getOSGiServiceIdentifier() {
346                    return _socialRequestLocalService.getOSGiServiceIdentifier();
347            }
348    
349            /**
350            * Performs a dynamic query on the database and returns the matching rows.
351            *
352            * @param dynamicQuery the dynamic query
353            * @return the matching rows
354            */
355            @Override
356            public <T> java.util.List<T> dynamicQuery(
357                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
358                    return _socialRequestLocalService.dynamicQuery(dynamicQuery);
359            }
360    
361            /**
362            * Performs a dynamic query on the database and returns a range of the matching rows.
363            *
364            * <p>
365            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.social.model.impl.SocialRequestModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
366            * </p>
367            *
368            * @param dynamicQuery the dynamic query
369            * @param start the lower bound of the range of model instances
370            * @param end the upper bound of the range of model instances (not inclusive)
371            * @return the range of matching rows
372            */
373            @Override
374            public <T> java.util.List<T> dynamicQuery(
375                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
376                    int end) {
377                    return _socialRequestLocalService.dynamicQuery(dynamicQuery, start, end);
378            }
379    
380            /**
381            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
382            *
383            * <p>
384            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.social.model.impl.SocialRequestModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
385            * </p>
386            *
387            * @param dynamicQuery the dynamic query
388            * @param start the lower bound of the range of model instances
389            * @param end the upper bound of the range of model instances (not inclusive)
390            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
391            * @return the ordered range of matching rows
392            */
393            @Override
394            public <T> java.util.List<T> dynamicQuery(
395                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
396                    int end,
397                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
398                    return _socialRequestLocalService.dynamicQuery(dynamicQuery, start,
399                            end, orderByComparator);
400            }
401    
402            /**
403            * Returns a range of all the social requests for the receiving user.
404            *
405            * <p>
406            * Useful when paginating results. Returns a maximum of <code>end -
407            * start</code> instances. <code>start</code> and <code>end</code> are not
408            * primary keys, they are indexes in the result set. Thus, <code>0</code>
409            * refers to the first result in the set. Setting both <code>start</code>
410            * and <code>end</code> to {@link
411            * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full
412            * result set.
413            * </p>
414            *
415            * @param receiverUserId the primary key of the receiving user
416            * @param start the lower bound of the range of results
417            * @param end the upper bound of the range of results (not inclusive)
418            * @return the range of matching social requests
419            */
420            @Override
421            public java.util.List<com.liferay.social.kernel.model.SocialRequest> getReceiverUserRequests(
422                    long receiverUserId, int start, int end) {
423                    return _socialRequestLocalService.getReceiverUserRequests(receiverUserId,
424                            start, end);
425            }
426    
427            /**
428            * Returns a range of all the social requests with the given status for the
429            * receiving user.
430            *
431            * <p>
432            * Useful when paginating results. Returns a maximum of <code>end -
433            * start</code> instances. <code>start</code> and <code>end</code> are not
434            * primary keys, they are indexes in the result set. Thus, <code>0</code>
435            * refers to the first result in the set. Setting both <code>start</code>
436            * and <code>end</code> to {@link
437            * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full
438            * result set.
439            * </p>
440            *
441            * @param receiverUserId the primary key of the receiving user
442            * @param status the social request's status
443            * @param start the lower bound of the range of results
444            * @param end the upper bound of the range of results (not inclusive)
445            * @return the range of matching social requests
446            */
447            @Override
448            public java.util.List<com.liferay.social.kernel.model.SocialRequest> getReceiverUserRequests(
449                    long receiverUserId, int status, int start, int end) {
450                    return _socialRequestLocalService.getReceiverUserRequests(receiverUserId,
451                            status, start, end);
452            }
453    
454            /**
455            * Returns a range of all the social requests.
456            *
457            * <p>
458            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.social.model.impl.SocialRequestModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
459            * </p>
460            *
461            * @param start the lower bound of the range of social requests
462            * @param end the upper bound of the range of social requests (not inclusive)
463            * @return the range of social requests
464            */
465            @Override
466            public java.util.List<com.liferay.social.kernel.model.SocialRequest> getSocialRequests(
467                    int start, int end) {
468                    return _socialRequestLocalService.getSocialRequests(start, end);
469            }
470    
471            /**
472            * Returns all the social requests matching the UUID and company.
473            *
474            * @param uuid the UUID of the social requests
475            * @param companyId the primary key of the company
476            * @return the matching social requests, or an empty list if no matches were found
477            */
478            @Override
479            public java.util.List<com.liferay.social.kernel.model.SocialRequest> getSocialRequestsByUuidAndCompanyId(
480                    java.lang.String uuid, long companyId) {
481                    return _socialRequestLocalService.getSocialRequestsByUuidAndCompanyId(uuid,
482                            companyId);
483            }
484    
485            /**
486            * Returns a range of social requests matching the UUID and company.
487            *
488            * @param uuid the UUID of the social requests
489            * @param companyId the primary key of the company
490            * @param start the lower bound of the range of social requests
491            * @param end the upper bound of the range of social requests (not inclusive)
492            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
493            * @return the range of matching social requests, or an empty list if no matches were found
494            */
495            @Override
496            public java.util.List<com.liferay.social.kernel.model.SocialRequest> getSocialRequestsByUuidAndCompanyId(
497                    java.lang.String uuid, long companyId, int start, int end,
498                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.social.kernel.model.SocialRequest> orderByComparator) {
499                    return _socialRequestLocalService.getSocialRequestsByUuidAndCompanyId(uuid,
500                            companyId, start, end, orderByComparator);
501            }
502    
503            /**
504            * Returns a range of all the social requests for the requesting user.
505            *
506            * <p>
507            * Useful when paginating results. Returns a maximum of <code>end -
508            * start</code> instances. <code>start</code> and <code>end</code> are not
509            * primary keys, they are indexes in the result set. Thus, <code>0</code>
510            * refers to the first result in the set. Setting both <code>start</code>
511            * and <code>end</code> to {@link
512            * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full
513            * result set.
514            * </p>
515            *
516            * @param userId the primary key of the requesting user
517            * @param start the lower bound of the range of results
518            * @param end the upper bound of the range of results (not inclusive)
519            * @return the range of matching social requests
520            */
521            @Override
522            public java.util.List<com.liferay.social.kernel.model.SocialRequest> getUserRequests(
523                    long userId, int start, int end) {
524                    return _socialRequestLocalService.getUserRequests(userId, start, end);
525            }
526    
527            /**
528            * Returns a range of all the social requests with the given status for the
529            * requesting user.
530            *
531            * <p>
532            * Useful when paginating results. Returns a maximum of <code>end -
533            * start</code> instances. <code>start</code> and <code>end</code> are not
534            * primary keys, they are indexes in the result set. Thus, <code>0</code>
535            * refers to the first result in the set. Setting both <code>start</code>
536            * and <code>end</code> to {@link
537            * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full
538            * result set.
539            * </p>
540            *
541            * @param userId the primary key of the requesting user
542            * @param status the social request's status
543            * @param start the lower bound of the range of results
544            * @param end the upper bound of the range of results (not inclusive)
545            * @return the range of matching social requests
546            */
547            @Override
548            public java.util.List<com.liferay.social.kernel.model.SocialRequest> getUserRequests(
549                    long userId, int status, int start, int end) {
550                    return _socialRequestLocalService.getUserRequests(userId, status,
551                            start, end);
552            }
553    
554            /**
555            * Returns the number of rows matching the dynamic query.
556            *
557            * @param dynamicQuery the dynamic query
558            * @return the number of rows matching the dynamic query
559            */
560            @Override
561            public long dynamicQueryCount(
562                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
563                    return _socialRequestLocalService.dynamicQueryCount(dynamicQuery);
564            }
565    
566            /**
567            * Returns the number of rows matching the dynamic query.
568            *
569            * @param dynamicQuery the dynamic query
570            * @param projection the projection to apply to the query
571            * @return the number of rows matching the dynamic query
572            */
573            @Override
574            public long dynamicQueryCount(
575                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
576                    com.liferay.portal.kernel.dao.orm.Projection projection) {
577                    return _socialRequestLocalService.dynamicQueryCount(dynamicQuery,
578                            projection);
579            }
580    
581            /**
582            * Removes all the social requests for the receiving user.
583            *
584            * @param receiverUserId the primary key of the receiving user
585            */
586            @Override
587            public void deleteReceiverUserRequests(long receiverUserId) {
588                    _socialRequestLocalService.deleteReceiverUserRequests(receiverUserId);
589            }
590    
591            /**
592            * Removes the social request from the database.
593            *
594            * @param request the social request to be removed
595            */
596            @Override
597            public void deleteRequest(
598                    com.liferay.social.kernel.model.SocialRequest request) {
599                    _socialRequestLocalService.deleteRequest(request);
600            }
601    
602            /**
603            * Removes the social request identified by its primary key from the
604            * database.
605            *
606            * @param requestId the primary key of the social request
607            */
608            @Override
609            public void deleteRequest(long requestId)
610                    throws com.liferay.portal.kernel.exception.PortalException {
611                    _socialRequestLocalService.deleteRequest(requestId);
612            }
613    
614            @Override
615            public void deleteRequests(long className, long classPK) {
616                    _socialRequestLocalService.deleteRequests(className, classPK);
617            }
618    
619            /**
620            * Removes all the social requests for the requesting user.
621            *
622            * @param userId the primary key of the requesting user
623            */
624            @Override
625            public void deleteUserRequests(long userId) {
626                    _socialRequestLocalService.deleteUserRequests(userId);
627            }
628    
629            @Override
630            public SocialRequestLocalService getWrappedService() {
631                    return _socialRequestLocalService;
632            }
633    
634            @Override
635            public void setWrappedService(
636                    SocialRequestLocalService socialRequestLocalService) {
637                    _socialRequestLocalService = socialRequestLocalService;
638            }
639    
640            private SocialRequestLocalService _socialRequestLocalService;
641    }