001    /**
002     * Copyright (c) 2000-2013 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.messageboards.service.base;
016    
017    import com.liferay.counter.service.CounterLocalService;
018    
019    import com.liferay.portal.kernel.bean.BeanReference;
020    import com.liferay.portal.kernel.bean.IdentifiableBean;
021    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
022    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
023    import com.liferay.portal.kernel.exception.SystemException;
024    import com.liferay.portal.service.BaseServiceImpl;
025    import com.liferay.portal.service.ResourceLocalService;
026    import com.liferay.portal.service.ResourceService;
027    import com.liferay.portal.service.UserLocalService;
028    import com.liferay.portal.service.UserService;
029    import com.liferay.portal.service.persistence.ResourceFinder;
030    import com.liferay.portal.service.persistence.ResourcePersistence;
031    import com.liferay.portal.service.persistence.UserFinder;
032    import com.liferay.portal.service.persistence.UserPersistence;
033    
034    import com.liferay.portlet.messageboards.model.MBBan;
035    import com.liferay.portlet.messageboards.service.MBBanLocalService;
036    import com.liferay.portlet.messageboards.service.MBBanService;
037    import com.liferay.portlet.messageboards.service.MBCategoryLocalService;
038    import com.liferay.portlet.messageboards.service.MBCategoryService;
039    import com.liferay.portlet.messageboards.service.MBDiscussionLocalService;
040    import com.liferay.portlet.messageboards.service.MBMailingListLocalService;
041    import com.liferay.portlet.messageboards.service.MBMessageLocalService;
042    import com.liferay.portlet.messageboards.service.MBMessageService;
043    import com.liferay.portlet.messageboards.service.MBStatsUserLocalService;
044    import com.liferay.portlet.messageboards.service.MBThreadFlagLocalService;
045    import com.liferay.portlet.messageboards.service.MBThreadLocalService;
046    import com.liferay.portlet.messageboards.service.MBThreadService;
047    import com.liferay.portlet.messageboards.service.persistence.MBBanPersistence;
048    import com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder;
049    import com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence;
050    import com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence;
051    import com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence;
052    import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
053    import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
054    import com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence;
055    import com.liferay.portlet.messageboards.service.persistence.MBThreadFinder;
056    import com.liferay.portlet.messageboards.service.persistence.MBThreadFlagPersistence;
057    import com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence;
058    
059    import javax.sql.DataSource;
060    
061    /**
062     * The base implementation of the message boards ban remote service.
063     *
064     * <p>
065     * 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.messageboards.service.impl.MBBanServiceImpl}.
066     * </p>
067     *
068     * @author Brian Wing Shun Chan
069     * @see com.liferay.portlet.messageboards.service.impl.MBBanServiceImpl
070     * @see com.liferay.portlet.messageboards.service.MBBanServiceUtil
071     * @generated
072     */
073    public abstract class MBBanServiceBaseImpl extends BaseServiceImpl
074            implements MBBanService, IdentifiableBean {
075            /*
076             * NOTE FOR DEVELOPERS:
077             *
078             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.messageboards.service.MBBanServiceUtil} to access the message boards ban remote service.
079             */
080    
081            /**
082             * Returns the message boards ban local service.
083             *
084             * @return the message boards ban local service
085             */
086            public MBBanLocalService getMBBanLocalService() {
087                    return mbBanLocalService;
088            }
089    
090            /**
091             * Sets the message boards ban local service.
092             *
093             * @param mbBanLocalService the message boards ban local service
094             */
095            public void setMBBanLocalService(MBBanLocalService mbBanLocalService) {
096                    this.mbBanLocalService = mbBanLocalService;
097            }
098    
099            /**
100             * Returns the message boards ban remote service.
101             *
102             * @return the message boards ban remote service
103             */
104            public MBBanService getMBBanService() {
105                    return mbBanService;
106            }
107    
108            /**
109             * Sets the message boards ban remote service.
110             *
111             * @param mbBanService the message boards ban remote service
112             */
113            public void setMBBanService(MBBanService mbBanService) {
114                    this.mbBanService = mbBanService;
115            }
116    
117            /**
118             * Returns the message boards ban persistence.
119             *
120             * @return the message boards ban persistence
121             */
122            public MBBanPersistence getMBBanPersistence() {
123                    return mbBanPersistence;
124            }
125    
126            /**
127             * Sets the message boards ban persistence.
128             *
129             * @param mbBanPersistence the message boards ban persistence
130             */
131            public void setMBBanPersistence(MBBanPersistence mbBanPersistence) {
132                    this.mbBanPersistence = mbBanPersistence;
133            }
134    
135            /**
136             * Returns the message boards category local service.
137             *
138             * @return the message boards category local service
139             */
140            public MBCategoryLocalService getMBCategoryLocalService() {
141                    return mbCategoryLocalService;
142            }
143    
144            /**
145             * Sets the message boards category local service.
146             *
147             * @param mbCategoryLocalService the message boards category local service
148             */
149            public void setMBCategoryLocalService(
150                    MBCategoryLocalService mbCategoryLocalService) {
151                    this.mbCategoryLocalService = mbCategoryLocalService;
152            }
153    
154            /**
155             * Returns the message boards category remote service.
156             *
157             * @return the message boards category remote service
158             */
159            public MBCategoryService getMBCategoryService() {
160                    return mbCategoryService;
161            }
162    
163            /**
164             * Sets the message boards category remote service.
165             *
166             * @param mbCategoryService the message boards category remote service
167             */
168            public void setMBCategoryService(MBCategoryService mbCategoryService) {
169                    this.mbCategoryService = mbCategoryService;
170            }
171    
172            /**
173             * Returns the message boards category persistence.
174             *
175             * @return the message boards category persistence
176             */
177            public MBCategoryPersistence getMBCategoryPersistence() {
178                    return mbCategoryPersistence;
179            }
180    
181            /**
182             * Sets the message boards category persistence.
183             *
184             * @param mbCategoryPersistence the message boards category persistence
185             */
186            public void setMBCategoryPersistence(
187                    MBCategoryPersistence mbCategoryPersistence) {
188                    this.mbCategoryPersistence = mbCategoryPersistence;
189            }
190    
191            /**
192             * Returns the message boards category finder.
193             *
194             * @return the message boards category finder
195             */
196            public MBCategoryFinder getMBCategoryFinder() {
197                    return mbCategoryFinder;
198            }
199    
200            /**
201             * Sets the message boards category finder.
202             *
203             * @param mbCategoryFinder the message boards category finder
204             */
205            public void setMBCategoryFinder(MBCategoryFinder mbCategoryFinder) {
206                    this.mbCategoryFinder = mbCategoryFinder;
207            }
208    
209            /**
210             * Returns the message boards discussion local service.
211             *
212             * @return the message boards discussion local service
213             */
214            public MBDiscussionLocalService getMBDiscussionLocalService() {
215                    return mbDiscussionLocalService;
216            }
217    
218            /**
219             * Sets the message boards discussion local service.
220             *
221             * @param mbDiscussionLocalService the message boards discussion local service
222             */
223            public void setMBDiscussionLocalService(
224                    MBDiscussionLocalService mbDiscussionLocalService) {
225                    this.mbDiscussionLocalService = mbDiscussionLocalService;
226            }
227    
228            /**
229             * Returns the message boards discussion persistence.
230             *
231             * @return the message boards discussion persistence
232             */
233            public MBDiscussionPersistence getMBDiscussionPersistence() {
234                    return mbDiscussionPersistence;
235            }
236    
237            /**
238             * Sets the message boards discussion persistence.
239             *
240             * @param mbDiscussionPersistence the message boards discussion persistence
241             */
242            public void setMBDiscussionPersistence(
243                    MBDiscussionPersistence mbDiscussionPersistence) {
244                    this.mbDiscussionPersistence = mbDiscussionPersistence;
245            }
246    
247            /**
248             * Returns the message boards mailing list local service.
249             *
250             * @return the message boards mailing list local service
251             */
252            public MBMailingListLocalService getMBMailingListLocalService() {
253                    return mbMailingListLocalService;
254            }
255    
256            /**
257             * Sets the message boards mailing list local service.
258             *
259             * @param mbMailingListLocalService the message boards mailing list local service
260             */
261            public void setMBMailingListLocalService(
262                    MBMailingListLocalService mbMailingListLocalService) {
263                    this.mbMailingListLocalService = mbMailingListLocalService;
264            }
265    
266            /**
267             * Returns the message boards mailing list persistence.
268             *
269             * @return the message boards mailing list persistence
270             */
271            public MBMailingListPersistence getMBMailingListPersistence() {
272                    return mbMailingListPersistence;
273            }
274    
275            /**
276             * Sets the message boards mailing list persistence.
277             *
278             * @param mbMailingListPersistence the message boards mailing list persistence
279             */
280            public void setMBMailingListPersistence(
281                    MBMailingListPersistence mbMailingListPersistence) {
282                    this.mbMailingListPersistence = mbMailingListPersistence;
283            }
284    
285            /**
286             * Returns the message-boards message local service.
287             *
288             * @return the message-boards message local service
289             */
290            public MBMessageLocalService getMBMessageLocalService() {
291                    return mbMessageLocalService;
292            }
293    
294            /**
295             * Sets the message-boards message local service.
296             *
297             * @param mbMessageLocalService the message-boards message local service
298             */
299            public void setMBMessageLocalService(
300                    MBMessageLocalService mbMessageLocalService) {
301                    this.mbMessageLocalService = mbMessageLocalService;
302            }
303    
304            /**
305             * Returns the message-boards message remote service.
306             *
307             * @return the message-boards message remote service
308             */
309            public MBMessageService getMBMessageService() {
310                    return mbMessageService;
311            }
312    
313            /**
314             * Sets the message-boards message remote service.
315             *
316             * @param mbMessageService the message-boards message remote service
317             */
318            public void setMBMessageService(MBMessageService mbMessageService) {
319                    this.mbMessageService = mbMessageService;
320            }
321    
322            /**
323             * Returns the message-boards message persistence.
324             *
325             * @return the message-boards message persistence
326             */
327            public MBMessagePersistence getMBMessagePersistence() {
328                    return mbMessagePersistence;
329            }
330    
331            /**
332             * Sets the message-boards message persistence.
333             *
334             * @param mbMessagePersistence the message-boards message persistence
335             */
336            public void setMBMessagePersistence(
337                    MBMessagePersistence mbMessagePersistence) {
338                    this.mbMessagePersistence = mbMessagePersistence;
339            }
340    
341            /**
342             * Returns the message-boards message finder.
343             *
344             * @return the message-boards message finder
345             */
346            public MBMessageFinder getMBMessageFinder() {
347                    return mbMessageFinder;
348            }
349    
350            /**
351             * Sets the message-boards message finder.
352             *
353             * @param mbMessageFinder the message-boards message finder
354             */
355            public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
356                    this.mbMessageFinder = mbMessageFinder;
357            }
358    
359            /**
360             * Returns the message boards stats user local service.
361             *
362             * @return the message boards stats user local service
363             */
364            public MBStatsUserLocalService getMBStatsUserLocalService() {
365                    return mbStatsUserLocalService;
366            }
367    
368            /**
369             * Sets the message boards stats user local service.
370             *
371             * @param mbStatsUserLocalService the message boards stats user local service
372             */
373            public void setMBStatsUserLocalService(
374                    MBStatsUserLocalService mbStatsUserLocalService) {
375                    this.mbStatsUserLocalService = mbStatsUserLocalService;
376            }
377    
378            /**
379             * Returns the message boards stats user persistence.
380             *
381             * @return the message boards stats user persistence
382             */
383            public MBStatsUserPersistence getMBStatsUserPersistence() {
384                    return mbStatsUserPersistence;
385            }
386    
387            /**
388             * Sets the message boards stats user persistence.
389             *
390             * @param mbStatsUserPersistence the message boards stats user persistence
391             */
392            public void setMBStatsUserPersistence(
393                    MBStatsUserPersistence mbStatsUserPersistence) {
394                    this.mbStatsUserPersistence = mbStatsUserPersistence;
395            }
396    
397            /**
398             * Returns the message boards thread local service.
399             *
400             * @return the message boards thread local service
401             */
402            public MBThreadLocalService getMBThreadLocalService() {
403                    return mbThreadLocalService;
404            }
405    
406            /**
407             * Sets the message boards thread local service.
408             *
409             * @param mbThreadLocalService the message boards thread local service
410             */
411            public void setMBThreadLocalService(
412                    MBThreadLocalService mbThreadLocalService) {
413                    this.mbThreadLocalService = mbThreadLocalService;
414            }
415    
416            /**
417             * Returns the message boards thread remote service.
418             *
419             * @return the message boards thread remote service
420             */
421            public MBThreadService getMBThreadService() {
422                    return mbThreadService;
423            }
424    
425            /**
426             * Sets the message boards thread remote service.
427             *
428             * @param mbThreadService the message boards thread remote service
429             */
430            public void setMBThreadService(MBThreadService mbThreadService) {
431                    this.mbThreadService = mbThreadService;
432            }
433    
434            /**
435             * Returns the message boards thread persistence.
436             *
437             * @return the message boards thread persistence
438             */
439            public MBThreadPersistence getMBThreadPersistence() {
440                    return mbThreadPersistence;
441            }
442    
443            /**
444             * Sets the message boards thread persistence.
445             *
446             * @param mbThreadPersistence the message boards thread persistence
447             */
448            public void setMBThreadPersistence(MBThreadPersistence mbThreadPersistence) {
449                    this.mbThreadPersistence = mbThreadPersistence;
450            }
451    
452            /**
453             * Returns the message boards thread finder.
454             *
455             * @return the message boards thread finder
456             */
457            public MBThreadFinder getMBThreadFinder() {
458                    return mbThreadFinder;
459            }
460    
461            /**
462             * Sets the message boards thread finder.
463             *
464             * @param mbThreadFinder the message boards thread finder
465             */
466            public void setMBThreadFinder(MBThreadFinder mbThreadFinder) {
467                    this.mbThreadFinder = mbThreadFinder;
468            }
469    
470            /**
471             * Returns the message boards thread flag local service.
472             *
473             * @return the message boards thread flag local service
474             */
475            public MBThreadFlagLocalService getMBThreadFlagLocalService() {
476                    return mbThreadFlagLocalService;
477            }
478    
479            /**
480             * Sets the message boards thread flag local service.
481             *
482             * @param mbThreadFlagLocalService the message boards thread flag local service
483             */
484            public void setMBThreadFlagLocalService(
485                    MBThreadFlagLocalService mbThreadFlagLocalService) {
486                    this.mbThreadFlagLocalService = mbThreadFlagLocalService;
487            }
488    
489            /**
490             * Returns the message boards thread flag persistence.
491             *
492             * @return the message boards thread flag persistence
493             */
494            public MBThreadFlagPersistence getMBThreadFlagPersistence() {
495                    return mbThreadFlagPersistence;
496            }
497    
498            /**
499             * Sets the message boards thread flag persistence.
500             *
501             * @param mbThreadFlagPersistence the message boards thread flag persistence
502             */
503            public void setMBThreadFlagPersistence(
504                    MBThreadFlagPersistence mbThreadFlagPersistence) {
505                    this.mbThreadFlagPersistence = mbThreadFlagPersistence;
506            }
507    
508            /**
509             * Returns the counter local service.
510             *
511             * @return the counter local service
512             */
513            public CounterLocalService getCounterLocalService() {
514                    return counterLocalService;
515            }
516    
517            /**
518             * Sets the counter local service.
519             *
520             * @param counterLocalService the counter local service
521             */
522            public void setCounterLocalService(CounterLocalService counterLocalService) {
523                    this.counterLocalService = counterLocalService;
524            }
525    
526            /**
527             * Returns the resource local service.
528             *
529             * @return the resource local service
530             */
531            public ResourceLocalService getResourceLocalService() {
532                    return resourceLocalService;
533            }
534    
535            /**
536             * Sets the resource local service.
537             *
538             * @param resourceLocalService the resource local service
539             */
540            public void setResourceLocalService(
541                    ResourceLocalService resourceLocalService) {
542                    this.resourceLocalService = resourceLocalService;
543            }
544    
545            /**
546             * Returns the resource remote service.
547             *
548             * @return the resource remote service
549             */
550            public ResourceService getResourceService() {
551                    return resourceService;
552            }
553    
554            /**
555             * Sets the resource remote service.
556             *
557             * @param resourceService the resource remote service
558             */
559            public void setResourceService(ResourceService resourceService) {
560                    this.resourceService = resourceService;
561            }
562    
563            /**
564             * Returns the resource persistence.
565             *
566             * @return the resource persistence
567             */
568            public ResourcePersistence getResourcePersistence() {
569                    return resourcePersistence;
570            }
571    
572            /**
573             * Sets the resource persistence.
574             *
575             * @param resourcePersistence the resource persistence
576             */
577            public void setResourcePersistence(ResourcePersistence resourcePersistence) {
578                    this.resourcePersistence = resourcePersistence;
579            }
580    
581            /**
582             * Returns the resource finder.
583             *
584             * @return the resource finder
585             */
586            public ResourceFinder getResourceFinder() {
587                    return resourceFinder;
588            }
589    
590            /**
591             * Sets the resource finder.
592             *
593             * @param resourceFinder the resource finder
594             */
595            public void setResourceFinder(ResourceFinder resourceFinder) {
596                    this.resourceFinder = resourceFinder;
597            }
598    
599            /**
600             * Returns the user local service.
601             *
602             * @return the user local service
603             */
604            public UserLocalService getUserLocalService() {
605                    return userLocalService;
606            }
607    
608            /**
609             * Sets the user local service.
610             *
611             * @param userLocalService the user local service
612             */
613            public void setUserLocalService(UserLocalService userLocalService) {
614                    this.userLocalService = userLocalService;
615            }
616    
617            /**
618             * Returns the user remote service.
619             *
620             * @return the user remote service
621             */
622            public UserService getUserService() {
623                    return userService;
624            }
625    
626            /**
627             * Sets the user remote service.
628             *
629             * @param userService the user remote service
630             */
631            public void setUserService(UserService userService) {
632                    this.userService = userService;
633            }
634    
635            /**
636             * Returns the user persistence.
637             *
638             * @return the user persistence
639             */
640            public UserPersistence getUserPersistence() {
641                    return userPersistence;
642            }
643    
644            /**
645             * Sets the user persistence.
646             *
647             * @param userPersistence the user persistence
648             */
649            public void setUserPersistence(UserPersistence userPersistence) {
650                    this.userPersistence = userPersistence;
651            }
652    
653            /**
654             * Returns the user finder.
655             *
656             * @return the user finder
657             */
658            public UserFinder getUserFinder() {
659                    return userFinder;
660            }
661    
662            /**
663             * Sets the user finder.
664             *
665             * @param userFinder the user finder
666             */
667            public void setUserFinder(UserFinder userFinder) {
668                    this.userFinder = userFinder;
669            }
670    
671            public void afterPropertiesSet() {
672            }
673    
674            public void destroy() {
675            }
676    
677            /**
678             * Returns the Spring bean ID for this bean.
679             *
680             * @return the Spring bean ID for this bean
681             */
682            public String getBeanIdentifier() {
683                    return _beanIdentifier;
684            }
685    
686            /**
687             * Sets the Spring bean ID for this bean.
688             *
689             * @param beanIdentifier the Spring bean ID for this bean
690             */
691            public void setBeanIdentifier(String beanIdentifier) {
692                    _beanIdentifier = beanIdentifier;
693            }
694    
695            protected Class<?> getModelClass() {
696                    return MBBan.class;
697            }
698    
699            protected String getModelClassName() {
700                    return MBBan.class.getName();
701            }
702    
703            /**
704             * Performs an SQL query.
705             *
706             * @param sql the sql query
707             */
708            protected void runSQL(String sql) throws SystemException {
709                    try {
710                            DataSource dataSource = mbBanPersistence.getDataSource();
711    
712                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
713                                            sql, new int[0]);
714    
715                            sqlUpdate.update();
716                    }
717                    catch (Exception e) {
718                            throw new SystemException(e);
719                    }
720            }
721    
722            @BeanReference(type = MBBanLocalService.class)
723            protected MBBanLocalService mbBanLocalService;
724            @BeanReference(type = MBBanService.class)
725            protected MBBanService mbBanService;
726            @BeanReference(type = MBBanPersistence.class)
727            protected MBBanPersistence mbBanPersistence;
728            @BeanReference(type = MBCategoryLocalService.class)
729            protected MBCategoryLocalService mbCategoryLocalService;
730            @BeanReference(type = MBCategoryService.class)
731            protected MBCategoryService mbCategoryService;
732            @BeanReference(type = MBCategoryPersistence.class)
733            protected MBCategoryPersistence mbCategoryPersistence;
734            @BeanReference(type = MBCategoryFinder.class)
735            protected MBCategoryFinder mbCategoryFinder;
736            @BeanReference(type = MBDiscussionLocalService.class)
737            protected MBDiscussionLocalService mbDiscussionLocalService;
738            @BeanReference(type = MBDiscussionPersistence.class)
739            protected MBDiscussionPersistence mbDiscussionPersistence;
740            @BeanReference(type = MBMailingListLocalService.class)
741            protected MBMailingListLocalService mbMailingListLocalService;
742            @BeanReference(type = MBMailingListPersistence.class)
743            protected MBMailingListPersistence mbMailingListPersistence;
744            @BeanReference(type = MBMessageLocalService.class)
745            protected MBMessageLocalService mbMessageLocalService;
746            @BeanReference(type = MBMessageService.class)
747            protected MBMessageService mbMessageService;
748            @BeanReference(type = MBMessagePersistence.class)
749            protected MBMessagePersistence mbMessagePersistence;
750            @BeanReference(type = MBMessageFinder.class)
751            protected MBMessageFinder mbMessageFinder;
752            @BeanReference(type = MBStatsUserLocalService.class)
753            protected MBStatsUserLocalService mbStatsUserLocalService;
754            @BeanReference(type = MBStatsUserPersistence.class)
755            protected MBStatsUserPersistence mbStatsUserPersistence;
756            @BeanReference(type = MBThreadLocalService.class)
757            protected MBThreadLocalService mbThreadLocalService;
758            @BeanReference(type = MBThreadService.class)
759            protected MBThreadService mbThreadService;
760            @BeanReference(type = MBThreadPersistence.class)
761            protected MBThreadPersistence mbThreadPersistence;
762            @BeanReference(type = MBThreadFinder.class)
763            protected MBThreadFinder mbThreadFinder;
764            @BeanReference(type = MBThreadFlagLocalService.class)
765            protected MBThreadFlagLocalService mbThreadFlagLocalService;
766            @BeanReference(type = MBThreadFlagPersistence.class)
767            protected MBThreadFlagPersistence mbThreadFlagPersistence;
768            @BeanReference(type = CounterLocalService.class)
769            protected CounterLocalService counterLocalService;
770            @BeanReference(type = ResourceLocalService.class)
771            protected ResourceLocalService resourceLocalService;
772            @BeanReference(type = ResourceService.class)
773            protected ResourceService resourceService;
774            @BeanReference(type = ResourcePersistence.class)
775            protected ResourcePersistence resourcePersistence;
776            @BeanReference(type = ResourceFinder.class)
777            protected ResourceFinder resourceFinder;
778            @BeanReference(type = UserLocalService.class)
779            protected UserLocalService userLocalService;
780            @BeanReference(type = UserService.class)
781            protected UserService userService;
782            @BeanReference(type = UserPersistence.class)
783            protected UserPersistence userPersistence;
784            @BeanReference(type = UserFinder.class)
785            protected UserFinder userFinder;
786            private String _beanIdentifier;
787    }