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