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