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.base;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.BeanReference;
020    import com.liferay.portal.kernel.bean.IdentifiableBean;
021    import com.liferay.portal.kernel.dao.db.DB;
022    import com.liferay.portal.kernel.dao.db.DBFactoryUtil;
023    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
024    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
025    import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery;
026    import com.liferay.portal.kernel.dao.orm.DefaultActionableDynamicQuery;
027    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
028    import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
029    import com.liferay.portal.kernel.dao.orm.Projection;
030    import com.liferay.portal.kernel.exception.PortalException;
031    import com.liferay.portal.kernel.exception.SystemException;
032    import com.liferay.portal.kernel.search.Indexable;
033    import com.liferay.portal.kernel.search.IndexableType;
034    import com.liferay.portal.kernel.util.OrderByComparator;
035    import com.liferay.portal.model.PersistedModel;
036    import com.liferay.portal.service.BaseLocalServiceImpl;
037    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
038    import com.liferay.portal.service.persistence.ClassNamePersistence;
039    import com.liferay.portal.service.persistence.UserFinder;
040    import com.liferay.portal.service.persistence.UserPersistence;
041    import com.liferay.portal.util.PortalUtil;
042    
043    import com.liferay.portlet.social.model.SocialRequest;
044    import com.liferay.portlet.social.service.SocialRequestLocalService;
045    import com.liferay.portlet.social.service.persistence.SocialRequestPersistence;
046    
047    import java.io.Serializable;
048    
049    import java.util.List;
050    
051    import javax.sql.DataSource;
052    
053    /**
054     * Provides the base implementation for the social request local service.
055     *
056     * <p>
057     * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link com.liferay.portlet.social.service.impl.SocialRequestLocalServiceImpl}.
058     * </p>
059     *
060     * @author Brian Wing Shun Chan
061     * @see com.liferay.portlet.social.service.impl.SocialRequestLocalServiceImpl
062     * @see com.liferay.portlet.social.service.SocialRequestLocalServiceUtil
063     * @generated
064     */
065    @ProviderType
066    public abstract class SocialRequestLocalServiceBaseImpl
067            extends BaseLocalServiceImpl implements SocialRequestLocalService,
068                    IdentifiableBean {
069            /*
070             * NOTE FOR DEVELOPERS:
071             *
072             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.social.service.SocialRequestLocalServiceUtil} to access the social request local service.
073             */
074    
075            /**
076             * Adds the social request to the database. Also notifies the appropriate model listeners.
077             *
078             * @param socialRequest the social request
079             * @return the social request that was added
080             */
081            @Indexable(type = IndexableType.REINDEX)
082            @Override
083            public SocialRequest addSocialRequest(SocialRequest socialRequest) {
084                    socialRequest.setNew(true);
085    
086                    return socialRequestPersistence.update(socialRequest);
087            }
088    
089            /**
090             * Creates a new social request with the primary key. Does not add the social request to the database.
091             *
092             * @param requestId the primary key for the new social request
093             * @return the new social request
094             */
095            @Override
096            public SocialRequest createSocialRequest(long requestId) {
097                    return socialRequestPersistence.create(requestId);
098            }
099    
100            /**
101             * Deletes the social request with the primary key from the database. Also notifies the appropriate model listeners.
102             *
103             * @param requestId the primary key of the social request
104             * @return the social request that was removed
105             * @throws PortalException if a social request with the primary key could not be found
106             */
107            @Indexable(type = IndexableType.DELETE)
108            @Override
109            public SocialRequest deleteSocialRequest(long requestId)
110                    throws PortalException {
111                    return socialRequestPersistence.remove(requestId);
112            }
113    
114            /**
115             * Deletes the social request from the database. Also notifies the appropriate model listeners.
116             *
117             * @param socialRequest the social request
118             * @return the social request that was removed
119             */
120            @Indexable(type = IndexableType.DELETE)
121            @Override
122            public SocialRequest deleteSocialRequest(SocialRequest socialRequest) {
123                    return socialRequestPersistence.remove(socialRequest);
124            }
125    
126            @Override
127            public DynamicQuery dynamicQuery() {
128                    Class<?> clazz = getClass();
129    
130                    return DynamicQueryFactoryUtil.forClass(SocialRequest.class,
131                            clazz.getClassLoader());
132            }
133    
134            /**
135             * Performs a dynamic query on the database and returns the matching rows.
136             *
137             * @param dynamicQuery the dynamic query
138             * @return the matching rows
139             */
140            @Override
141            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery) {
142                    return socialRequestPersistence.findWithDynamicQuery(dynamicQuery);
143            }
144    
145            /**
146             * Performs a dynamic query on the database and returns a range of the matching rows.
147             *
148             * <p>
149             * 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.
150             * </p>
151             *
152             * @param dynamicQuery the dynamic query
153             * @param start the lower bound of the range of model instances
154             * @param end the upper bound of the range of model instances (not inclusive)
155             * @return the range of matching rows
156             */
157            @Override
158            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
159                    int end) {
160                    return socialRequestPersistence.findWithDynamicQuery(dynamicQuery,
161                            start, end);
162            }
163    
164            /**
165             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
166             *
167             * <p>
168             * 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.
169             * </p>
170             *
171             * @param dynamicQuery the dynamic query
172             * @param start the lower bound of the range of model instances
173             * @param end the upper bound of the range of model instances (not inclusive)
174             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
175             * @return the ordered range of matching rows
176             */
177            @Override
178            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
179                    int end, OrderByComparator<T> orderByComparator) {
180                    return socialRequestPersistence.findWithDynamicQuery(dynamicQuery,
181                            start, end, orderByComparator);
182            }
183    
184            /**
185             * Returns the number of rows matching the dynamic query.
186             *
187             * @param dynamicQuery the dynamic query
188             * @return the number of rows matching the dynamic query
189             */
190            @Override
191            public long dynamicQueryCount(DynamicQuery dynamicQuery) {
192                    return socialRequestPersistence.countWithDynamicQuery(dynamicQuery);
193            }
194    
195            /**
196             * Returns the number of rows matching the dynamic query.
197             *
198             * @param dynamicQuery the dynamic query
199             * @param projection the projection to apply to the query
200             * @return the number of rows matching the dynamic query
201             */
202            @Override
203            public long dynamicQueryCount(DynamicQuery dynamicQuery,
204                    Projection projection) {
205                    return socialRequestPersistence.countWithDynamicQuery(dynamicQuery,
206                            projection);
207            }
208    
209            @Override
210            public SocialRequest fetchSocialRequest(long requestId) {
211                    return socialRequestPersistence.fetchByPrimaryKey(requestId);
212            }
213    
214            /**
215             * Returns the social request matching the UUID and group.
216             *
217             * @param uuid the social request's UUID
218             * @param groupId the primary key of the group
219             * @return the matching social request, or <code>null</code> if a matching social request could not be found
220             */
221            @Override
222            public SocialRequest fetchSocialRequestByUuidAndGroupId(String uuid,
223                    long groupId) {
224                    return socialRequestPersistence.fetchByUUID_G(uuid, groupId);
225            }
226    
227            /**
228             * Returns the social request with the primary key.
229             *
230             * @param requestId the primary key of the social request
231             * @return the social request
232             * @throws PortalException if a social request with the primary key could not be found
233             */
234            @Override
235            public SocialRequest getSocialRequest(long requestId)
236                    throws PortalException {
237                    return socialRequestPersistence.findByPrimaryKey(requestId);
238            }
239    
240            @Override
241            public ActionableDynamicQuery getActionableDynamicQuery() {
242                    ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery();
243    
244                    actionableDynamicQuery.setBaseLocalService(com.liferay.portlet.social.service.SocialRequestLocalServiceUtil.getService());
245                    actionableDynamicQuery.setClass(SocialRequest.class);
246                    actionableDynamicQuery.setClassLoader(getClassLoader());
247    
248                    actionableDynamicQuery.setPrimaryKeyPropertyName("requestId");
249    
250                    return actionableDynamicQuery;
251            }
252    
253            protected void initActionableDynamicQuery(
254                    ActionableDynamicQuery actionableDynamicQuery) {
255                    actionableDynamicQuery.setBaseLocalService(com.liferay.portlet.social.service.SocialRequestLocalServiceUtil.getService());
256                    actionableDynamicQuery.setClass(SocialRequest.class);
257                    actionableDynamicQuery.setClassLoader(getClassLoader());
258    
259                    actionableDynamicQuery.setPrimaryKeyPropertyName("requestId");
260            }
261    
262            /**
263             * @throws PortalException
264             */
265            @Override
266            public PersistedModel deletePersistedModel(PersistedModel persistedModel)
267                    throws PortalException {
268                    return socialRequestLocalService.deleteSocialRequest((SocialRequest)persistedModel);
269            }
270    
271            @Override
272            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
273                    throws PortalException {
274                    return socialRequestPersistence.findByPrimaryKey(primaryKeyObj);
275            }
276    
277            /**
278             * Returns all the social requests matching the UUID and company.
279             *
280             * @param uuid the UUID of the social requests
281             * @param companyId the primary key of the company
282             * @return the matching social requests, or an empty list if no matches were found
283             */
284            @Override
285            public List<SocialRequest> getSocialRequestsByUuidAndCompanyId(
286                    String uuid, long companyId) {
287                    return socialRequestPersistence.findByUuid_C(uuid, companyId);
288            }
289    
290            /**
291             * Returns a range of social requests matching the UUID and company.
292             *
293             * @param uuid the UUID of the social requests
294             * @param companyId the primary key of the company
295             * @param start the lower bound of the range of social requests
296             * @param end the upper bound of the range of social requests (not inclusive)
297             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
298             * @return the range of matching social requests, or an empty list if no matches were found
299             */
300            @Override
301            public List<SocialRequest> getSocialRequestsByUuidAndCompanyId(
302                    String uuid, long companyId, int start, int end,
303                    OrderByComparator<SocialRequest> orderByComparator) {
304                    return socialRequestPersistence.findByUuid_C(uuid, companyId, start,
305                            end, orderByComparator);
306            }
307    
308            /**
309             * Returns the social request matching the UUID and group.
310             *
311             * @param uuid the social request's UUID
312             * @param groupId the primary key of the group
313             * @return the matching social request
314             * @throws PortalException if a matching social request could not be found
315             */
316            @Override
317            public SocialRequest getSocialRequestByUuidAndGroupId(String uuid,
318                    long groupId) throws PortalException {
319                    return socialRequestPersistence.findByUUID_G(uuid, groupId);
320            }
321    
322            /**
323             * Returns a range of all the social requests.
324             *
325             * <p>
326             * 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.
327             * </p>
328             *
329             * @param start the lower bound of the range of social requests
330             * @param end the upper bound of the range of social requests (not inclusive)
331             * @return the range of social requests
332             */
333            @Override
334            public List<SocialRequest> getSocialRequests(int start, int end) {
335                    return socialRequestPersistence.findAll(start, end);
336            }
337    
338            /**
339             * Returns the number of social requests.
340             *
341             * @return the number of social requests
342             */
343            @Override
344            public int getSocialRequestsCount() {
345                    return socialRequestPersistence.countAll();
346            }
347    
348            /**
349             * Updates the social request in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
350             *
351             * @param socialRequest the social request
352             * @return the social request that was updated
353             */
354            @Indexable(type = IndexableType.REINDEX)
355            @Override
356            public SocialRequest updateSocialRequest(SocialRequest socialRequest) {
357                    return socialRequestPersistence.update(socialRequest);
358            }
359    
360            /**
361             * Returns the social request local service.
362             *
363             * @return the social request local service
364             */
365            public com.liferay.portlet.social.service.SocialRequestLocalService getSocialRequestLocalService() {
366                    return socialRequestLocalService;
367            }
368    
369            /**
370             * Sets the social request local service.
371             *
372             * @param socialRequestLocalService the social request local service
373             */
374            public void setSocialRequestLocalService(
375                    com.liferay.portlet.social.service.SocialRequestLocalService socialRequestLocalService) {
376                    this.socialRequestLocalService = socialRequestLocalService;
377            }
378    
379            /**
380             * Returns the social request remote service.
381             *
382             * @return the social request remote service
383             */
384            public com.liferay.portlet.social.service.SocialRequestService getSocialRequestService() {
385                    return socialRequestService;
386            }
387    
388            /**
389             * Sets the social request remote service.
390             *
391             * @param socialRequestService the social request remote service
392             */
393            public void setSocialRequestService(
394                    com.liferay.portlet.social.service.SocialRequestService socialRequestService) {
395                    this.socialRequestService = socialRequestService;
396            }
397    
398            /**
399             * Returns the social request persistence.
400             *
401             * @return the social request persistence
402             */
403            public SocialRequestPersistence getSocialRequestPersistence() {
404                    return socialRequestPersistence;
405            }
406    
407            /**
408             * Sets the social request persistence.
409             *
410             * @param socialRequestPersistence the social request persistence
411             */
412            public void setSocialRequestPersistence(
413                    SocialRequestPersistence socialRequestPersistence) {
414                    this.socialRequestPersistence = socialRequestPersistence;
415            }
416    
417            /**
418             * Returns the counter local service.
419             *
420             * @return the counter local service
421             */
422            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
423                    return counterLocalService;
424            }
425    
426            /**
427             * Sets the counter local service.
428             *
429             * @param counterLocalService the counter local service
430             */
431            public void setCounterLocalService(
432                    com.liferay.counter.service.CounterLocalService counterLocalService) {
433                    this.counterLocalService = counterLocalService;
434            }
435    
436            /**
437             * Returns the class name local service.
438             *
439             * @return the class name local service
440             */
441            public com.liferay.portal.service.ClassNameLocalService getClassNameLocalService() {
442                    return classNameLocalService;
443            }
444    
445            /**
446             * Sets the class name local service.
447             *
448             * @param classNameLocalService the class name local service
449             */
450            public void setClassNameLocalService(
451                    com.liferay.portal.service.ClassNameLocalService classNameLocalService) {
452                    this.classNameLocalService = classNameLocalService;
453            }
454    
455            /**
456             * Returns the class name remote service.
457             *
458             * @return the class name remote service
459             */
460            public com.liferay.portal.service.ClassNameService getClassNameService() {
461                    return classNameService;
462            }
463    
464            /**
465             * Sets the class name remote service.
466             *
467             * @param classNameService the class name remote service
468             */
469            public void setClassNameService(
470                    com.liferay.portal.service.ClassNameService classNameService) {
471                    this.classNameService = classNameService;
472            }
473    
474            /**
475             * Returns the class name persistence.
476             *
477             * @return the class name persistence
478             */
479            public ClassNamePersistence getClassNamePersistence() {
480                    return classNamePersistence;
481            }
482    
483            /**
484             * Sets the class name persistence.
485             *
486             * @param classNamePersistence the class name persistence
487             */
488            public void setClassNamePersistence(
489                    ClassNamePersistence classNamePersistence) {
490                    this.classNamePersistence = classNamePersistence;
491            }
492    
493            /**
494             * Returns the user local service.
495             *
496             * @return the user local service
497             */
498            public com.liferay.portal.service.UserLocalService getUserLocalService() {
499                    return userLocalService;
500            }
501    
502            /**
503             * Sets the user local service.
504             *
505             * @param userLocalService the user local service
506             */
507            public void setUserLocalService(
508                    com.liferay.portal.service.UserLocalService userLocalService) {
509                    this.userLocalService = userLocalService;
510            }
511    
512            /**
513             * Returns the user remote service.
514             *
515             * @return the user remote service
516             */
517            public com.liferay.portal.service.UserService getUserService() {
518                    return userService;
519            }
520    
521            /**
522             * Sets the user remote service.
523             *
524             * @param userService the user remote service
525             */
526            public void setUserService(
527                    com.liferay.portal.service.UserService userService) {
528                    this.userService = userService;
529            }
530    
531            /**
532             * Returns the user persistence.
533             *
534             * @return the user persistence
535             */
536            public UserPersistence getUserPersistence() {
537                    return userPersistence;
538            }
539    
540            /**
541             * Sets the user persistence.
542             *
543             * @param userPersistence the user persistence
544             */
545            public void setUserPersistence(UserPersistence userPersistence) {
546                    this.userPersistence = userPersistence;
547            }
548    
549            /**
550             * Returns the user finder.
551             *
552             * @return the user finder
553             */
554            public UserFinder getUserFinder() {
555                    return userFinder;
556            }
557    
558            /**
559             * Sets the user finder.
560             *
561             * @param userFinder the user finder
562             */
563            public void setUserFinder(UserFinder userFinder) {
564                    this.userFinder = userFinder;
565            }
566    
567            /**
568             * Returns the social request interpreter local service.
569             *
570             * @return the social request interpreter local service
571             */
572            public com.liferay.portlet.social.service.SocialRequestInterpreterLocalService getSocialRequestInterpreterLocalService() {
573                    return socialRequestInterpreterLocalService;
574            }
575    
576            /**
577             * Sets the social request interpreter local service.
578             *
579             * @param socialRequestInterpreterLocalService the social request interpreter local service
580             */
581            public void setSocialRequestInterpreterLocalService(
582                    com.liferay.portlet.social.service.SocialRequestInterpreterLocalService socialRequestInterpreterLocalService) {
583                    this.socialRequestInterpreterLocalService = socialRequestInterpreterLocalService;
584            }
585    
586            public void afterPropertiesSet() {
587                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.social.model.SocialRequest",
588                            socialRequestLocalService);
589            }
590    
591            public void destroy() {
592                    persistedModelLocalServiceRegistry.unregister(
593                            "com.liferay.portlet.social.model.SocialRequest");
594            }
595    
596            /**
597             * Returns the Spring bean ID for this bean.
598             *
599             * @return the Spring bean ID for this bean
600             */
601            @Override
602            public String getBeanIdentifier() {
603                    return _beanIdentifier;
604            }
605    
606            /**
607             * Sets the Spring bean ID for this bean.
608             *
609             * @param beanIdentifier the Spring bean ID for this bean
610             */
611            @Override
612            public void setBeanIdentifier(String beanIdentifier) {
613                    _beanIdentifier = beanIdentifier;
614            }
615    
616            protected Class<?> getModelClass() {
617                    return SocialRequest.class;
618            }
619    
620            protected String getModelClassName() {
621                    return SocialRequest.class.getName();
622            }
623    
624            /**
625             * Performs a SQL query.
626             *
627             * @param sql the sql query
628             */
629            protected void runSQL(String sql) {
630                    try {
631                            DataSource dataSource = socialRequestPersistence.getDataSource();
632    
633                            DB db = DBFactoryUtil.getDB();
634    
635                            sql = db.buildSQL(sql);
636                            sql = PortalUtil.transformSQL(sql);
637    
638                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
639                                            sql, new int[0]);
640    
641                            sqlUpdate.update();
642                    }
643                    catch (Exception e) {
644                            throw new SystemException(e);
645                    }
646            }
647    
648            @BeanReference(type = com.liferay.portlet.social.service.SocialRequestLocalService.class)
649            protected com.liferay.portlet.social.service.SocialRequestLocalService socialRequestLocalService;
650            @BeanReference(type = com.liferay.portlet.social.service.SocialRequestService.class)
651            protected com.liferay.portlet.social.service.SocialRequestService socialRequestService;
652            @BeanReference(type = SocialRequestPersistence.class)
653            protected SocialRequestPersistence socialRequestPersistence;
654            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
655            protected com.liferay.counter.service.CounterLocalService counterLocalService;
656            @BeanReference(type = com.liferay.portal.service.ClassNameLocalService.class)
657            protected com.liferay.portal.service.ClassNameLocalService classNameLocalService;
658            @BeanReference(type = com.liferay.portal.service.ClassNameService.class)
659            protected com.liferay.portal.service.ClassNameService classNameService;
660            @BeanReference(type = ClassNamePersistence.class)
661            protected ClassNamePersistence classNamePersistence;
662            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
663            protected com.liferay.portal.service.UserLocalService userLocalService;
664            @BeanReference(type = com.liferay.portal.service.UserService.class)
665            protected com.liferay.portal.service.UserService userService;
666            @BeanReference(type = UserPersistence.class)
667            protected UserPersistence userPersistence;
668            @BeanReference(type = UserFinder.class)
669            protected UserFinder userFinder;
670            @BeanReference(type = com.liferay.portlet.social.service.SocialRequestInterpreterLocalService.class)
671            protected com.liferay.portlet.social.service.SocialRequestInterpreterLocalService socialRequestInterpreterLocalService;
672            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
673            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
674            private String _beanIdentifier;
675    }