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