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.messageboards.service.base;
016    
017    import com.liferay.portal.kernel.bean.BeanReference;
018    import com.liferay.portal.kernel.bean.IdentifiableBean;
019    import com.liferay.portal.kernel.dao.db.DB;
020    import com.liferay.portal.kernel.dao.db.DBFactoryUtil;
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.persistence.ClassNamePersistence;
026    import com.liferay.portal.service.persistence.CompanyPersistence;
027    import com.liferay.portal.service.persistence.GroupFinder;
028    import com.liferay.portal.service.persistence.GroupPersistence;
029    import com.liferay.portal.service.persistence.LockFinder;
030    import com.liferay.portal.service.persistence.LockPersistence;
031    import com.liferay.portal.service.persistence.PortletPreferencesFinder;
032    import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
033    import com.liferay.portal.service.persistence.SubscriptionPersistence;
034    import com.liferay.portal.service.persistence.UserFinder;
035    import com.liferay.portal.service.persistence.UserPersistence;
036    import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
037    import com.liferay.portal.util.PortalUtil;
038    
039    import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
040    import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
041    import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
042    import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
043    import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
044    import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder;
045    import com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence;
046    import com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence;
047    import com.liferay.portlet.messageboards.model.MBMessage;
048    import com.liferay.portlet.messageboards.service.MBMessageService;
049    import com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder;
050    import com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence;
051    import com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence;
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.MBThreadPersistence;
057    import com.liferay.portlet.ratings.service.persistence.RatingsStatsFinder;
058    import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
059    import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
060    import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
061    
062    import javax.sql.DataSource;
063    
064    /**
065     * Provides the base implementation for the message-boards message remote service.
066     *
067     * <p>
068     * 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.MBMessageServiceImpl}.
069     * </p>
070     *
071     * @author Brian Wing Shun Chan
072     * @see com.liferay.portlet.messageboards.service.impl.MBMessageServiceImpl
073     * @see com.liferay.portlet.messageboards.service.MBMessageServiceUtil
074     * @generated
075     */
076    public abstract class MBMessageServiceBaseImpl extends BaseServiceImpl
077            implements MBMessageService, IdentifiableBean {
078            /*
079             * NOTE FOR DEVELOPERS:
080             *
081             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.messageboards.service.MBMessageServiceUtil} to access the message-boards message remote service.
082             */
083    
084            /**
085             * Returns the message-boards message local service.
086             *
087             * @return the message-boards message local service
088             */
089            public com.liferay.portlet.messageboards.service.MBMessageLocalService getMBMessageLocalService() {
090                    return mbMessageLocalService;
091            }
092    
093            /**
094             * Sets the message-boards message local service.
095             *
096             * @param mbMessageLocalService the message-boards message local service
097             */
098            public void setMBMessageLocalService(
099                    com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService) {
100                    this.mbMessageLocalService = mbMessageLocalService;
101            }
102    
103            /**
104             * Returns the message-boards message remote service.
105             *
106             * @return the message-boards message remote service
107             */
108            public com.liferay.portlet.messageboards.service.MBMessageService getMBMessageService() {
109                    return mbMessageService;
110            }
111    
112            /**
113             * Sets the message-boards message remote service.
114             *
115             * @param mbMessageService the message-boards message remote service
116             */
117            public void setMBMessageService(
118                    com.liferay.portlet.messageboards.service.MBMessageService mbMessageService) {
119                    this.mbMessageService = mbMessageService;
120            }
121    
122            /**
123             * Returns the message-boards message persistence.
124             *
125             * @return the message-boards message persistence
126             */
127            public MBMessagePersistence getMBMessagePersistence() {
128                    return mbMessagePersistence;
129            }
130    
131            /**
132             * Sets the message-boards message persistence.
133             *
134             * @param mbMessagePersistence the message-boards message persistence
135             */
136            public void setMBMessagePersistence(
137                    MBMessagePersistence mbMessagePersistence) {
138                    this.mbMessagePersistence = mbMessagePersistence;
139            }
140    
141            /**
142             * Returns the message-boards message finder.
143             *
144             * @return the message-boards message finder
145             */
146            public MBMessageFinder getMBMessageFinder() {
147                    return mbMessageFinder;
148            }
149    
150            /**
151             * Sets the message-boards message finder.
152             *
153             * @param mbMessageFinder the message-boards message finder
154             */
155            public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
156                    this.mbMessageFinder = mbMessageFinder;
157            }
158    
159            /**
160             * Returns the counter local service.
161             *
162             * @return the counter local service
163             */
164            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
165                    return counterLocalService;
166            }
167    
168            /**
169             * Sets the counter local service.
170             *
171             * @param counterLocalService the counter local service
172             */
173            public void setCounterLocalService(
174                    com.liferay.counter.service.CounterLocalService counterLocalService) {
175                    this.counterLocalService = counterLocalService;
176            }
177    
178            /**
179             * Returns the mail remote service.
180             *
181             * @return the mail remote service
182             */
183            public com.liferay.mail.service.MailService getMailService() {
184                    return mailService;
185            }
186    
187            /**
188             * Sets the mail remote service.
189             *
190             * @param mailService the mail remote service
191             */
192            public void setMailService(com.liferay.mail.service.MailService mailService) {
193                    this.mailService = mailService;
194            }
195    
196            /**
197             * Returns the class name local service.
198             *
199             * @return the class name local service
200             */
201            public com.liferay.portal.service.ClassNameLocalService getClassNameLocalService() {
202                    return classNameLocalService;
203            }
204    
205            /**
206             * Sets the class name local service.
207             *
208             * @param classNameLocalService the class name local service
209             */
210            public void setClassNameLocalService(
211                    com.liferay.portal.service.ClassNameLocalService classNameLocalService) {
212                    this.classNameLocalService = classNameLocalService;
213            }
214    
215            /**
216             * Returns the class name remote service.
217             *
218             * @return the class name remote service
219             */
220            public com.liferay.portal.service.ClassNameService getClassNameService() {
221                    return classNameService;
222            }
223    
224            /**
225             * Sets the class name remote service.
226             *
227             * @param classNameService the class name remote service
228             */
229            public void setClassNameService(
230                    com.liferay.portal.service.ClassNameService classNameService) {
231                    this.classNameService = classNameService;
232            }
233    
234            /**
235             * Returns the class name persistence.
236             *
237             * @return the class name persistence
238             */
239            public ClassNamePersistence getClassNamePersistence() {
240                    return classNamePersistence;
241            }
242    
243            /**
244             * Sets the class name persistence.
245             *
246             * @param classNamePersistence the class name persistence
247             */
248            public void setClassNamePersistence(
249                    ClassNamePersistence classNamePersistence) {
250                    this.classNamePersistence = classNamePersistence;
251            }
252    
253            /**
254             * Returns the company local service.
255             *
256             * @return the company local service
257             */
258            public com.liferay.portal.service.CompanyLocalService getCompanyLocalService() {
259                    return companyLocalService;
260            }
261    
262            /**
263             * Sets the company local service.
264             *
265             * @param companyLocalService the company local service
266             */
267            public void setCompanyLocalService(
268                    com.liferay.portal.service.CompanyLocalService companyLocalService) {
269                    this.companyLocalService = companyLocalService;
270            }
271    
272            /**
273             * Returns the company remote service.
274             *
275             * @return the company remote service
276             */
277            public com.liferay.portal.service.CompanyService getCompanyService() {
278                    return companyService;
279            }
280    
281            /**
282             * Sets the company remote service.
283             *
284             * @param companyService the company remote service
285             */
286            public void setCompanyService(
287                    com.liferay.portal.service.CompanyService companyService) {
288                    this.companyService = companyService;
289            }
290    
291            /**
292             * Returns the company persistence.
293             *
294             * @return the company persistence
295             */
296            public CompanyPersistence getCompanyPersistence() {
297                    return companyPersistence;
298            }
299    
300            /**
301             * Sets the company persistence.
302             *
303             * @param companyPersistence the company persistence
304             */
305            public void setCompanyPersistence(CompanyPersistence companyPersistence) {
306                    this.companyPersistence = companyPersistence;
307            }
308    
309            /**
310             * Returns the group local service.
311             *
312             * @return the group local service
313             */
314            public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
315                    return groupLocalService;
316            }
317    
318            /**
319             * Sets the group local service.
320             *
321             * @param groupLocalService the group local service
322             */
323            public void setGroupLocalService(
324                    com.liferay.portal.service.GroupLocalService groupLocalService) {
325                    this.groupLocalService = groupLocalService;
326            }
327    
328            /**
329             * Returns the group remote service.
330             *
331             * @return the group remote service
332             */
333            public com.liferay.portal.service.GroupService getGroupService() {
334                    return groupService;
335            }
336    
337            /**
338             * Sets the group remote service.
339             *
340             * @param groupService the group remote service
341             */
342            public void setGroupService(
343                    com.liferay.portal.service.GroupService groupService) {
344                    this.groupService = groupService;
345            }
346    
347            /**
348             * Returns the group persistence.
349             *
350             * @return the group persistence
351             */
352            public GroupPersistence getGroupPersistence() {
353                    return groupPersistence;
354            }
355    
356            /**
357             * Sets the group persistence.
358             *
359             * @param groupPersistence the group persistence
360             */
361            public void setGroupPersistence(GroupPersistence groupPersistence) {
362                    this.groupPersistence = groupPersistence;
363            }
364    
365            /**
366             * Returns the group finder.
367             *
368             * @return the group finder
369             */
370            public GroupFinder getGroupFinder() {
371                    return groupFinder;
372            }
373    
374            /**
375             * Sets the group finder.
376             *
377             * @param groupFinder the group finder
378             */
379            public void setGroupFinder(GroupFinder groupFinder) {
380                    this.groupFinder = groupFinder;
381            }
382    
383            /**
384             * Returns the lock local service.
385             *
386             * @return the lock local service
387             */
388            public com.liferay.portal.service.LockLocalService getLockLocalService() {
389                    return lockLocalService;
390            }
391    
392            /**
393             * Sets the lock local service.
394             *
395             * @param lockLocalService the lock local service
396             */
397            public void setLockLocalService(
398                    com.liferay.portal.service.LockLocalService lockLocalService) {
399                    this.lockLocalService = lockLocalService;
400            }
401    
402            /**
403             * Returns the lock persistence.
404             *
405             * @return the lock persistence
406             */
407            public LockPersistence getLockPersistence() {
408                    return lockPersistence;
409            }
410    
411            /**
412             * Sets the lock persistence.
413             *
414             * @param lockPersistence the lock persistence
415             */
416            public void setLockPersistence(LockPersistence lockPersistence) {
417                    this.lockPersistence = lockPersistence;
418            }
419    
420            /**
421             * Returns the lock finder.
422             *
423             * @return the lock finder
424             */
425            public LockFinder getLockFinder() {
426                    return lockFinder;
427            }
428    
429            /**
430             * Sets the lock finder.
431             *
432             * @param lockFinder the lock finder
433             */
434            public void setLockFinder(LockFinder lockFinder) {
435                    this.lockFinder = lockFinder;
436            }
437    
438            /**
439             * Returns the portlet preferences local service.
440             *
441             * @return the portlet preferences local service
442             */
443            public com.liferay.portal.service.PortletPreferencesLocalService getPortletPreferencesLocalService() {
444                    return portletPreferencesLocalService;
445            }
446    
447            /**
448             * Sets the portlet preferences local service.
449             *
450             * @param portletPreferencesLocalService the portlet preferences local service
451             */
452            public void setPortletPreferencesLocalService(
453                    com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService) {
454                    this.portletPreferencesLocalService = portletPreferencesLocalService;
455            }
456    
457            /**
458             * Returns the portlet preferences remote service.
459             *
460             * @return the portlet preferences remote service
461             */
462            public com.liferay.portal.service.PortletPreferencesService getPortletPreferencesService() {
463                    return portletPreferencesService;
464            }
465    
466            /**
467             * Sets the portlet preferences remote service.
468             *
469             * @param portletPreferencesService the portlet preferences remote service
470             */
471            public void setPortletPreferencesService(
472                    com.liferay.portal.service.PortletPreferencesService portletPreferencesService) {
473                    this.portletPreferencesService = portletPreferencesService;
474            }
475    
476            /**
477             * Returns the portlet preferences persistence.
478             *
479             * @return the portlet preferences persistence
480             */
481            public PortletPreferencesPersistence getPortletPreferencesPersistence() {
482                    return portletPreferencesPersistence;
483            }
484    
485            /**
486             * Sets the portlet preferences persistence.
487             *
488             * @param portletPreferencesPersistence the portlet preferences persistence
489             */
490            public void setPortletPreferencesPersistence(
491                    PortletPreferencesPersistence portletPreferencesPersistence) {
492                    this.portletPreferencesPersistence = portletPreferencesPersistence;
493            }
494    
495            /**
496             * Returns the portlet preferences finder.
497             *
498             * @return the portlet preferences finder
499             */
500            public PortletPreferencesFinder getPortletPreferencesFinder() {
501                    return portletPreferencesFinder;
502            }
503    
504            /**
505             * Sets the portlet preferences finder.
506             *
507             * @param portletPreferencesFinder the portlet preferences finder
508             */
509            public void setPortletPreferencesFinder(
510                    PortletPreferencesFinder portletPreferencesFinder) {
511                    this.portletPreferencesFinder = portletPreferencesFinder;
512            }
513    
514            /**
515             * Returns the resource local service.
516             *
517             * @return the resource local service
518             */
519            public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
520                    return resourceLocalService;
521            }
522    
523            /**
524             * Sets the resource local service.
525             *
526             * @param resourceLocalService the resource local service
527             */
528            public void setResourceLocalService(
529                    com.liferay.portal.service.ResourceLocalService resourceLocalService) {
530                    this.resourceLocalService = resourceLocalService;
531            }
532    
533            /**
534             * Returns the subscription local service.
535             *
536             * @return the subscription local service
537             */
538            public com.liferay.portal.service.SubscriptionLocalService getSubscriptionLocalService() {
539                    return subscriptionLocalService;
540            }
541    
542            /**
543             * Sets the subscription local service.
544             *
545             * @param subscriptionLocalService the subscription local service
546             */
547            public void setSubscriptionLocalService(
548                    com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService) {
549                    this.subscriptionLocalService = subscriptionLocalService;
550            }
551    
552            /**
553             * Returns the subscription persistence.
554             *
555             * @return the subscription persistence
556             */
557            public SubscriptionPersistence getSubscriptionPersistence() {
558                    return subscriptionPersistence;
559            }
560    
561            /**
562             * Sets the subscription persistence.
563             *
564             * @param subscriptionPersistence the subscription persistence
565             */
566            public void setSubscriptionPersistence(
567                    SubscriptionPersistence subscriptionPersistence) {
568                    this.subscriptionPersistence = subscriptionPersistence;
569            }
570    
571            /**
572             * Returns the user local service.
573             *
574             * @return the user local service
575             */
576            public com.liferay.portal.service.UserLocalService getUserLocalService() {
577                    return userLocalService;
578            }
579    
580            /**
581             * Sets the user local service.
582             *
583             * @param userLocalService the user local service
584             */
585            public void setUserLocalService(
586                    com.liferay.portal.service.UserLocalService userLocalService) {
587                    this.userLocalService = userLocalService;
588            }
589    
590            /**
591             * Returns the user remote service.
592             *
593             * @return the user remote service
594             */
595            public com.liferay.portal.service.UserService getUserService() {
596                    return userService;
597            }
598    
599            /**
600             * Sets the user remote service.
601             *
602             * @param userService the user remote service
603             */
604            public void setUserService(
605                    com.liferay.portal.service.UserService userService) {
606                    this.userService = userService;
607            }
608    
609            /**
610             * Returns the user persistence.
611             *
612             * @return the user persistence
613             */
614            public UserPersistence getUserPersistence() {
615                    return userPersistence;
616            }
617    
618            /**
619             * Sets the user persistence.
620             *
621             * @param userPersistence the user persistence
622             */
623            public void setUserPersistence(UserPersistence userPersistence) {
624                    this.userPersistence = userPersistence;
625            }
626    
627            /**
628             * Returns the user finder.
629             *
630             * @return the user finder
631             */
632            public UserFinder getUserFinder() {
633                    return userFinder;
634            }
635    
636            /**
637             * Sets the user finder.
638             *
639             * @param userFinder the user finder
640             */
641            public void setUserFinder(UserFinder userFinder) {
642                    this.userFinder = userFinder;
643            }
644    
645            /**
646             * Returns the workflow instance link local service.
647             *
648             * @return the workflow instance link local service
649             */
650            public com.liferay.portal.service.WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
651                    return workflowInstanceLinkLocalService;
652            }
653    
654            /**
655             * Sets the workflow instance link local service.
656             *
657             * @param workflowInstanceLinkLocalService the workflow instance link local service
658             */
659            public void setWorkflowInstanceLinkLocalService(
660                    com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
661                    this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
662            }
663    
664            /**
665             * Returns the workflow instance link persistence.
666             *
667             * @return the workflow instance link persistence
668             */
669            public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
670                    return workflowInstanceLinkPersistence;
671            }
672    
673            /**
674             * Sets the workflow instance link persistence.
675             *
676             * @param workflowInstanceLinkPersistence the workflow instance link persistence
677             */
678            public void setWorkflowInstanceLinkPersistence(
679                    WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
680                    this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
681            }
682    
683            /**
684             * Returns the asset entry local service.
685             *
686             * @return the asset entry local service
687             */
688            public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
689                    return assetEntryLocalService;
690            }
691    
692            /**
693             * Sets the asset entry local service.
694             *
695             * @param assetEntryLocalService the asset entry local service
696             */
697            public void setAssetEntryLocalService(
698                    com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
699                    this.assetEntryLocalService = assetEntryLocalService;
700            }
701    
702            /**
703             * Returns the asset entry remote service.
704             *
705             * @return the asset entry remote service
706             */
707            public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
708                    return assetEntryService;
709            }
710    
711            /**
712             * Sets the asset entry remote service.
713             *
714             * @param assetEntryService the asset entry remote service
715             */
716            public void setAssetEntryService(
717                    com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
718                    this.assetEntryService = assetEntryService;
719            }
720    
721            /**
722             * Returns the asset entry persistence.
723             *
724             * @return the asset entry persistence
725             */
726            public AssetEntryPersistence getAssetEntryPersistence() {
727                    return assetEntryPersistence;
728            }
729    
730            /**
731             * Sets the asset entry persistence.
732             *
733             * @param assetEntryPersistence the asset entry persistence
734             */
735            public void setAssetEntryPersistence(
736                    AssetEntryPersistence assetEntryPersistence) {
737                    this.assetEntryPersistence = assetEntryPersistence;
738            }
739    
740            /**
741             * Returns the asset entry finder.
742             *
743             * @return the asset entry finder
744             */
745            public AssetEntryFinder getAssetEntryFinder() {
746                    return assetEntryFinder;
747            }
748    
749            /**
750             * Sets the asset entry finder.
751             *
752             * @param assetEntryFinder the asset entry finder
753             */
754            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
755                    this.assetEntryFinder = assetEntryFinder;
756            }
757    
758            /**
759             * Returns the asset link local service.
760             *
761             * @return the asset link local service
762             */
763            public com.liferay.portlet.asset.service.AssetLinkLocalService getAssetLinkLocalService() {
764                    return assetLinkLocalService;
765            }
766    
767            /**
768             * Sets the asset link local service.
769             *
770             * @param assetLinkLocalService the asset link local service
771             */
772            public void setAssetLinkLocalService(
773                    com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService) {
774                    this.assetLinkLocalService = assetLinkLocalService;
775            }
776    
777            /**
778             * Returns the asset link persistence.
779             *
780             * @return the asset link persistence
781             */
782            public AssetLinkPersistence getAssetLinkPersistence() {
783                    return assetLinkPersistence;
784            }
785    
786            /**
787             * Sets the asset link persistence.
788             *
789             * @param assetLinkPersistence the asset link persistence
790             */
791            public void setAssetLinkPersistence(
792                    AssetLinkPersistence assetLinkPersistence) {
793                    this.assetLinkPersistence = assetLinkPersistence;
794            }
795    
796            /**
797             * Returns the asset tag local service.
798             *
799             * @return the asset tag local service
800             */
801            public com.liferay.portlet.asset.service.AssetTagLocalService getAssetTagLocalService() {
802                    return assetTagLocalService;
803            }
804    
805            /**
806             * Sets the asset tag local service.
807             *
808             * @param assetTagLocalService the asset tag local service
809             */
810            public void setAssetTagLocalService(
811                    com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService) {
812                    this.assetTagLocalService = assetTagLocalService;
813            }
814    
815            /**
816             * Returns the asset tag remote service.
817             *
818             * @return the asset tag remote service
819             */
820            public com.liferay.portlet.asset.service.AssetTagService getAssetTagService() {
821                    return assetTagService;
822            }
823    
824            /**
825             * Sets the asset tag remote service.
826             *
827             * @param assetTagService the asset tag remote service
828             */
829            public void setAssetTagService(
830                    com.liferay.portlet.asset.service.AssetTagService assetTagService) {
831                    this.assetTagService = assetTagService;
832            }
833    
834            /**
835             * Returns the asset tag persistence.
836             *
837             * @return the asset tag persistence
838             */
839            public AssetTagPersistence getAssetTagPersistence() {
840                    return assetTagPersistence;
841            }
842    
843            /**
844             * Sets the asset tag persistence.
845             *
846             * @param assetTagPersistence the asset tag persistence
847             */
848            public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
849                    this.assetTagPersistence = assetTagPersistence;
850            }
851    
852            /**
853             * Returns the asset tag finder.
854             *
855             * @return the asset tag finder
856             */
857            public AssetTagFinder getAssetTagFinder() {
858                    return assetTagFinder;
859            }
860    
861            /**
862             * Sets the asset tag finder.
863             *
864             * @param assetTagFinder the asset tag finder
865             */
866            public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
867                    this.assetTagFinder = assetTagFinder;
868            }
869    
870            /**
871             * Returns the blogs entry local service.
872             *
873             * @return the blogs entry local service
874             */
875            public com.liferay.portlet.blogs.service.BlogsEntryLocalService getBlogsEntryLocalService() {
876                    return blogsEntryLocalService;
877            }
878    
879            /**
880             * Sets the blogs entry local service.
881             *
882             * @param blogsEntryLocalService the blogs entry local service
883             */
884            public void setBlogsEntryLocalService(
885                    com.liferay.portlet.blogs.service.BlogsEntryLocalService blogsEntryLocalService) {
886                    this.blogsEntryLocalService = blogsEntryLocalService;
887            }
888    
889            /**
890             * Returns the blogs entry remote service.
891             *
892             * @return the blogs entry remote service
893             */
894            public com.liferay.portlet.blogs.service.BlogsEntryService getBlogsEntryService() {
895                    return blogsEntryService;
896            }
897    
898            /**
899             * Sets the blogs entry remote service.
900             *
901             * @param blogsEntryService the blogs entry remote service
902             */
903            public void setBlogsEntryService(
904                    com.liferay.portlet.blogs.service.BlogsEntryService blogsEntryService) {
905                    this.blogsEntryService = blogsEntryService;
906            }
907    
908            /**
909             * Returns the blogs entry persistence.
910             *
911             * @return the blogs entry persistence
912             */
913            public BlogsEntryPersistence getBlogsEntryPersistence() {
914                    return blogsEntryPersistence;
915            }
916    
917            /**
918             * Sets the blogs entry persistence.
919             *
920             * @param blogsEntryPersistence the blogs entry persistence
921             */
922            public void setBlogsEntryPersistence(
923                    BlogsEntryPersistence blogsEntryPersistence) {
924                    this.blogsEntryPersistence = blogsEntryPersistence;
925            }
926    
927            /**
928             * Returns the blogs entry finder.
929             *
930             * @return the blogs entry finder
931             */
932            public BlogsEntryFinder getBlogsEntryFinder() {
933                    return blogsEntryFinder;
934            }
935    
936            /**
937             * Sets the blogs entry finder.
938             *
939             * @param blogsEntryFinder the blogs entry finder
940             */
941            public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
942                    this.blogsEntryFinder = blogsEntryFinder;
943            }
944    
945            /**
946             * Returns the expando row local service.
947             *
948             * @return the expando row local service
949             */
950            public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {
951                    return expandoRowLocalService;
952            }
953    
954            /**
955             * Sets the expando row local service.
956             *
957             * @param expandoRowLocalService the expando row local service
958             */
959            public void setExpandoRowLocalService(
960                    com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService) {
961                    this.expandoRowLocalService = expandoRowLocalService;
962            }
963    
964            /**
965             * Returns the expando row persistence.
966             *
967             * @return the expando row persistence
968             */
969            public ExpandoRowPersistence getExpandoRowPersistence() {
970                    return expandoRowPersistence;
971            }
972    
973            /**
974             * Sets the expando row persistence.
975             *
976             * @param expandoRowPersistence the expando row persistence
977             */
978            public void setExpandoRowPersistence(
979                    ExpandoRowPersistence expandoRowPersistence) {
980                    this.expandoRowPersistence = expandoRowPersistence;
981            }
982    
983            /**
984             * Returns the message boards category local service.
985             *
986             * @return the message boards category local service
987             */
988            public com.liferay.portlet.messageboards.service.MBCategoryLocalService getMBCategoryLocalService() {
989                    return mbCategoryLocalService;
990            }
991    
992            /**
993             * Sets the message boards category local service.
994             *
995             * @param mbCategoryLocalService the message boards category local service
996             */
997            public void setMBCategoryLocalService(
998                    com.liferay.portlet.messageboards.service.MBCategoryLocalService mbCategoryLocalService) {
999                    this.mbCategoryLocalService = mbCategoryLocalService;
1000            }
1001    
1002            /**
1003             * Returns the message boards category remote service.
1004             *
1005             * @return the message boards category remote service
1006             */
1007            public com.liferay.portlet.messageboards.service.MBCategoryService getMBCategoryService() {
1008                    return mbCategoryService;
1009            }
1010    
1011            /**
1012             * Sets the message boards category remote service.
1013             *
1014             * @param mbCategoryService the message boards category remote service
1015             */
1016            public void setMBCategoryService(
1017                    com.liferay.portlet.messageboards.service.MBCategoryService mbCategoryService) {
1018                    this.mbCategoryService = mbCategoryService;
1019            }
1020    
1021            /**
1022             * Returns the message boards category persistence.
1023             *
1024             * @return the message boards category persistence
1025             */
1026            public MBCategoryPersistence getMBCategoryPersistence() {
1027                    return mbCategoryPersistence;
1028            }
1029    
1030            /**
1031             * Sets the message boards category persistence.
1032             *
1033             * @param mbCategoryPersistence the message boards category persistence
1034             */
1035            public void setMBCategoryPersistence(
1036                    MBCategoryPersistence mbCategoryPersistence) {
1037                    this.mbCategoryPersistence = mbCategoryPersistence;
1038            }
1039    
1040            /**
1041             * Returns the message boards category finder.
1042             *
1043             * @return the message boards category finder
1044             */
1045            public MBCategoryFinder getMBCategoryFinder() {
1046                    return mbCategoryFinder;
1047            }
1048    
1049            /**
1050             * Sets the message boards category finder.
1051             *
1052             * @param mbCategoryFinder the message boards category finder
1053             */
1054            public void setMBCategoryFinder(MBCategoryFinder mbCategoryFinder) {
1055                    this.mbCategoryFinder = mbCategoryFinder;
1056            }
1057    
1058            /**
1059             * Returns the message boards discussion local service.
1060             *
1061             * @return the message boards discussion local service
1062             */
1063            public com.liferay.portlet.messageboards.service.MBDiscussionLocalService getMBDiscussionLocalService() {
1064                    return mbDiscussionLocalService;
1065            }
1066    
1067            /**
1068             * Sets the message boards discussion local service.
1069             *
1070             * @param mbDiscussionLocalService the message boards discussion local service
1071             */
1072            public void setMBDiscussionLocalService(
1073                    com.liferay.portlet.messageboards.service.MBDiscussionLocalService mbDiscussionLocalService) {
1074                    this.mbDiscussionLocalService = mbDiscussionLocalService;
1075            }
1076    
1077            /**
1078             * Returns the message boards discussion persistence.
1079             *
1080             * @return the message boards discussion persistence
1081             */
1082            public MBDiscussionPersistence getMBDiscussionPersistence() {
1083                    return mbDiscussionPersistence;
1084            }
1085    
1086            /**
1087             * Sets the message boards discussion persistence.
1088             *
1089             * @param mbDiscussionPersistence the message boards discussion persistence
1090             */
1091            public void setMBDiscussionPersistence(
1092                    MBDiscussionPersistence mbDiscussionPersistence) {
1093                    this.mbDiscussionPersistence = mbDiscussionPersistence;
1094            }
1095    
1096            /**
1097             * Returns the ratings stats local service.
1098             *
1099             * @return the ratings stats local service
1100             */
1101            public com.liferay.portlet.ratings.service.RatingsStatsLocalService getRatingsStatsLocalService() {
1102                    return ratingsStatsLocalService;
1103            }
1104    
1105            /**
1106             * Sets the ratings stats local service.
1107             *
1108             * @param ratingsStatsLocalService the ratings stats local service
1109             */
1110            public void setRatingsStatsLocalService(
1111                    com.liferay.portlet.ratings.service.RatingsStatsLocalService ratingsStatsLocalService) {
1112                    this.ratingsStatsLocalService = ratingsStatsLocalService;
1113            }
1114    
1115            /**
1116             * Returns the ratings stats persistence.
1117             *
1118             * @return the ratings stats persistence
1119             */
1120            public RatingsStatsPersistence getRatingsStatsPersistence() {
1121                    return ratingsStatsPersistence;
1122            }
1123    
1124            /**
1125             * Sets the ratings stats persistence.
1126             *
1127             * @param ratingsStatsPersistence the ratings stats persistence
1128             */
1129            public void setRatingsStatsPersistence(
1130                    RatingsStatsPersistence ratingsStatsPersistence) {
1131                    this.ratingsStatsPersistence = ratingsStatsPersistence;
1132            }
1133    
1134            /**
1135             * Returns the ratings stats finder.
1136             *
1137             * @return the ratings stats finder
1138             */
1139            public RatingsStatsFinder getRatingsStatsFinder() {
1140                    return ratingsStatsFinder;
1141            }
1142    
1143            /**
1144             * Sets the ratings stats finder.
1145             *
1146             * @param ratingsStatsFinder the ratings stats finder
1147             */
1148            public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder) {
1149                    this.ratingsStatsFinder = ratingsStatsFinder;
1150            }
1151    
1152            /**
1153             * Returns the social activity local service.
1154             *
1155             * @return the social activity local service
1156             */
1157            public com.liferay.portlet.social.service.SocialActivityLocalService getSocialActivityLocalService() {
1158                    return socialActivityLocalService;
1159            }
1160    
1161            /**
1162             * Sets the social activity local service.
1163             *
1164             * @param socialActivityLocalService the social activity local service
1165             */
1166            public void setSocialActivityLocalService(
1167                    com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService) {
1168                    this.socialActivityLocalService = socialActivityLocalService;
1169            }
1170    
1171            /**
1172             * Returns the social activity remote service.
1173             *
1174             * @return the social activity remote service
1175             */
1176            public com.liferay.portlet.social.service.SocialActivityService getSocialActivityService() {
1177                    return socialActivityService;
1178            }
1179    
1180            /**
1181             * Sets the social activity remote service.
1182             *
1183             * @param socialActivityService the social activity remote service
1184             */
1185            public void setSocialActivityService(
1186                    com.liferay.portlet.social.service.SocialActivityService socialActivityService) {
1187                    this.socialActivityService = socialActivityService;
1188            }
1189    
1190            /**
1191             * Returns the social activity persistence.
1192             *
1193             * @return the social activity persistence
1194             */
1195            public SocialActivityPersistence getSocialActivityPersistence() {
1196                    return socialActivityPersistence;
1197            }
1198    
1199            /**
1200             * Sets the social activity persistence.
1201             *
1202             * @param socialActivityPersistence the social activity persistence
1203             */
1204            public void setSocialActivityPersistence(
1205                    SocialActivityPersistence socialActivityPersistence) {
1206                    this.socialActivityPersistence = socialActivityPersistence;
1207            }
1208    
1209            /**
1210             * Returns the social activity finder.
1211             *
1212             * @return the social activity finder
1213             */
1214            public SocialActivityFinder getSocialActivityFinder() {
1215                    return socialActivityFinder;
1216            }
1217    
1218            /**
1219             * Sets the social activity finder.
1220             *
1221             * @param socialActivityFinder the social activity finder
1222             */
1223            public void setSocialActivityFinder(
1224                    SocialActivityFinder socialActivityFinder) {
1225                    this.socialActivityFinder = socialActivityFinder;
1226            }
1227    
1228            /**
1229             * Returns the message boards stats user local service.
1230             *
1231             * @return the message boards stats user local service
1232             */
1233            public com.liferay.portlet.messageboards.service.MBStatsUserLocalService getMBStatsUserLocalService() {
1234                    return mbStatsUserLocalService;
1235            }
1236    
1237            /**
1238             * Sets the message boards stats user local service.
1239             *
1240             * @param mbStatsUserLocalService the message boards stats user local service
1241             */
1242            public void setMBStatsUserLocalService(
1243                    com.liferay.portlet.messageboards.service.MBStatsUserLocalService mbStatsUserLocalService) {
1244                    this.mbStatsUserLocalService = mbStatsUserLocalService;
1245            }
1246    
1247            /**
1248             * Returns the message boards stats user persistence.
1249             *
1250             * @return the message boards stats user persistence
1251             */
1252            public MBStatsUserPersistence getMBStatsUserPersistence() {
1253                    return mbStatsUserPersistence;
1254            }
1255    
1256            /**
1257             * Sets the message boards stats user persistence.
1258             *
1259             * @param mbStatsUserPersistence the message boards stats user persistence
1260             */
1261            public void setMBStatsUserPersistence(
1262                    MBStatsUserPersistence mbStatsUserPersistence) {
1263                    this.mbStatsUserPersistence = mbStatsUserPersistence;
1264            }
1265    
1266            /**
1267             * Returns the message boards thread local service.
1268             *
1269             * @return the message boards thread local service
1270             */
1271            public com.liferay.portlet.messageboards.service.MBThreadLocalService getMBThreadLocalService() {
1272                    return mbThreadLocalService;
1273            }
1274    
1275            /**
1276             * Sets the message boards thread local service.
1277             *
1278             * @param mbThreadLocalService the message boards thread local service
1279             */
1280            public void setMBThreadLocalService(
1281                    com.liferay.portlet.messageboards.service.MBThreadLocalService mbThreadLocalService) {
1282                    this.mbThreadLocalService = mbThreadLocalService;
1283            }
1284    
1285            /**
1286             * Returns the message boards thread remote service.
1287             *
1288             * @return the message boards thread remote service
1289             */
1290            public com.liferay.portlet.messageboards.service.MBThreadService getMBThreadService() {
1291                    return mbThreadService;
1292            }
1293    
1294            /**
1295             * Sets the message boards thread remote service.
1296             *
1297             * @param mbThreadService the message boards thread remote service
1298             */
1299            public void setMBThreadService(
1300                    com.liferay.portlet.messageboards.service.MBThreadService mbThreadService) {
1301                    this.mbThreadService = mbThreadService;
1302            }
1303    
1304            /**
1305             * Returns the message boards thread persistence.
1306             *
1307             * @return the message boards thread persistence
1308             */
1309            public MBThreadPersistence getMBThreadPersistence() {
1310                    return mbThreadPersistence;
1311            }
1312    
1313            /**
1314             * Sets the message boards thread persistence.
1315             *
1316             * @param mbThreadPersistence the message boards thread persistence
1317             */
1318            public void setMBThreadPersistence(MBThreadPersistence mbThreadPersistence) {
1319                    this.mbThreadPersistence = mbThreadPersistence;
1320            }
1321    
1322            /**
1323             * Returns the message boards thread finder.
1324             *
1325             * @return the message boards thread finder
1326             */
1327            public MBThreadFinder getMBThreadFinder() {
1328                    return mbThreadFinder;
1329            }
1330    
1331            /**
1332             * Sets the message boards thread finder.
1333             *
1334             * @param mbThreadFinder the message boards thread finder
1335             */
1336            public void setMBThreadFinder(MBThreadFinder mbThreadFinder) {
1337                    this.mbThreadFinder = mbThreadFinder;
1338            }
1339    
1340            public void afterPropertiesSet() {
1341            }
1342    
1343            public void destroy() {
1344            }
1345    
1346            /**
1347             * Returns the Spring bean ID for this bean.
1348             *
1349             * @return the Spring bean ID for this bean
1350             */
1351            @Override
1352            public String getBeanIdentifier() {
1353                    return _beanIdentifier;
1354            }
1355    
1356            /**
1357             * Sets the Spring bean ID for this bean.
1358             *
1359             * @param beanIdentifier the Spring bean ID for this bean
1360             */
1361            @Override
1362            public void setBeanIdentifier(String beanIdentifier) {
1363                    _beanIdentifier = beanIdentifier;
1364            }
1365    
1366            protected Class<?> getModelClass() {
1367                    return MBMessage.class;
1368            }
1369    
1370            protected String getModelClassName() {
1371                    return MBMessage.class.getName();
1372            }
1373    
1374            /**
1375             * Performs a SQL query.
1376             *
1377             * @param sql the sql query
1378             */
1379            protected void runSQL(String sql) {
1380                    try {
1381                            DataSource dataSource = mbMessagePersistence.getDataSource();
1382    
1383                            DB db = DBFactoryUtil.getDB();
1384    
1385                            sql = db.buildSQL(sql);
1386                            sql = PortalUtil.transformSQL(sql);
1387    
1388                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1389                                            sql, new int[0]);
1390    
1391                            sqlUpdate.update();
1392                    }
1393                    catch (Exception e) {
1394                            throw new SystemException(e);
1395                    }
1396            }
1397    
1398            @BeanReference(type = com.liferay.portlet.messageboards.service.MBMessageLocalService.class)
1399            protected com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService;
1400            @BeanReference(type = com.liferay.portlet.messageboards.service.MBMessageService.class)
1401            protected com.liferay.portlet.messageboards.service.MBMessageService mbMessageService;
1402            @BeanReference(type = MBMessagePersistence.class)
1403            protected MBMessagePersistence mbMessagePersistence;
1404            @BeanReference(type = MBMessageFinder.class)
1405            protected MBMessageFinder mbMessageFinder;
1406            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
1407            protected com.liferay.counter.service.CounterLocalService counterLocalService;
1408            @BeanReference(type = com.liferay.mail.service.MailService.class)
1409            protected com.liferay.mail.service.MailService mailService;
1410            @BeanReference(type = com.liferay.portal.service.ClassNameLocalService.class)
1411            protected com.liferay.portal.service.ClassNameLocalService classNameLocalService;
1412            @BeanReference(type = com.liferay.portal.service.ClassNameService.class)
1413            protected com.liferay.portal.service.ClassNameService classNameService;
1414            @BeanReference(type = ClassNamePersistence.class)
1415            protected ClassNamePersistence classNamePersistence;
1416            @BeanReference(type = com.liferay.portal.service.CompanyLocalService.class)
1417            protected com.liferay.portal.service.CompanyLocalService companyLocalService;
1418            @BeanReference(type = com.liferay.portal.service.CompanyService.class)
1419            protected com.liferay.portal.service.CompanyService companyService;
1420            @BeanReference(type = CompanyPersistence.class)
1421            protected CompanyPersistence companyPersistence;
1422            @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
1423            protected com.liferay.portal.service.GroupLocalService groupLocalService;
1424            @BeanReference(type = com.liferay.portal.service.GroupService.class)
1425            protected com.liferay.portal.service.GroupService groupService;
1426            @BeanReference(type = GroupPersistence.class)
1427            protected GroupPersistence groupPersistence;
1428            @BeanReference(type = GroupFinder.class)
1429            protected GroupFinder groupFinder;
1430            @BeanReference(type = com.liferay.portal.service.LockLocalService.class)
1431            protected com.liferay.portal.service.LockLocalService lockLocalService;
1432            @BeanReference(type = LockPersistence.class)
1433            protected LockPersistence lockPersistence;
1434            @BeanReference(type = LockFinder.class)
1435            protected LockFinder lockFinder;
1436            @BeanReference(type = com.liferay.portal.service.PortletPreferencesLocalService.class)
1437            protected com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService;
1438            @BeanReference(type = com.liferay.portal.service.PortletPreferencesService.class)
1439            protected com.liferay.portal.service.PortletPreferencesService portletPreferencesService;
1440            @BeanReference(type = PortletPreferencesPersistence.class)
1441            protected PortletPreferencesPersistence portletPreferencesPersistence;
1442            @BeanReference(type = PortletPreferencesFinder.class)
1443            protected PortletPreferencesFinder portletPreferencesFinder;
1444            @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
1445            protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
1446            @BeanReference(type = com.liferay.portal.service.SubscriptionLocalService.class)
1447            protected com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService;
1448            @BeanReference(type = SubscriptionPersistence.class)
1449            protected SubscriptionPersistence subscriptionPersistence;
1450            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
1451            protected com.liferay.portal.service.UserLocalService userLocalService;
1452            @BeanReference(type = com.liferay.portal.service.UserService.class)
1453            protected com.liferay.portal.service.UserService userService;
1454            @BeanReference(type = UserPersistence.class)
1455            protected UserPersistence userPersistence;
1456            @BeanReference(type = UserFinder.class)
1457            protected UserFinder userFinder;
1458            @BeanReference(type = com.liferay.portal.service.WorkflowInstanceLinkLocalService.class)
1459            protected com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1460            @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1461            protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1462            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
1463            protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
1464            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
1465            protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
1466            @BeanReference(type = AssetEntryPersistence.class)
1467            protected AssetEntryPersistence assetEntryPersistence;
1468            @BeanReference(type = AssetEntryFinder.class)
1469            protected AssetEntryFinder assetEntryFinder;
1470            @BeanReference(type = com.liferay.portlet.asset.service.AssetLinkLocalService.class)
1471            protected com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService;
1472            @BeanReference(type = AssetLinkPersistence.class)
1473            protected AssetLinkPersistence assetLinkPersistence;
1474            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagLocalService.class)
1475            protected com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService;
1476            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagService.class)
1477            protected com.liferay.portlet.asset.service.AssetTagService assetTagService;
1478            @BeanReference(type = AssetTagPersistence.class)
1479            protected AssetTagPersistence assetTagPersistence;
1480            @BeanReference(type = AssetTagFinder.class)
1481            protected AssetTagFinder assetTagFinder;
1482            @BeanReference(type = com.liferay.portlet.blogs.service.BlogsEntryLocalService.class)
1483            protected com.liferay.portlet.blogs.service.BlogsEntryLocalService blogsEntryLocalService;
1484            @BeanReference(type = com.liferay.portlet.blogs.service.BlogsEntryService.class)
1485            protected com.liferay.portlet.blogs.service.BlogsEntryService blogsEntryService;
1486            @BeanReference(type = BlogsEntryPersistence.class)
1487            protected BlogsEntryPersistence blogsEntryPersistence;
1488            @BeanReference(type = BlogsEntryFinder.class)
1489            protected BlogsEntryFinder blogsEntryFinder;
1490            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoRowLocalService.class)
1491            protected com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService;
1492            @BeanReference(type = ExpandoRowPersistence.class)
1493            protected ExpandoRowPersistence expandoRowPersistence;
1494            @BeanReference(type = com.liferay.portlet.messageboards.service.MBCategoryLocalService.class)
1495            protected com.liferay.portlet.messageboards.service.MBCategoryLocalService mbCategoryLocalService;
1496            @BeanReference(type = com.liferay.portlet.messageboards.service.MBCategoryService.class)
1497            protected com.liferay.portlet.messageboards.service.MBCategoryService mbCategoryService;
1498            @BeanReference(type = MBCategoryPersistence.class)
1499            protected MBCategoryPersistence mbCategoryPersistence;
1500            @BeanReference(type = MBCategoryFinder.class)
1501            protected MBCategoryFinder mbCategoryFinder;
1502            @BeanReference(type = com.liferay.portlet.messageboards.service.MBDiscussionLocalService.class)
1503            protected com.liferay.portlet.messageboards.service.MBDiscussionLocalService mbDiscussionLocalService;
1504            @BeanReference(type = MBDiscussionPersistence.class)
1505            protected MBDiscussionPersistence mbDiscussionPersistence;
1506            @BeanReference(type = com.liferay.portlet.ratings.service.RatingsStatsLocalService.class)
1507            protected com.liferay.portlet.ratings.service.RatingsStatsLocalService ratingsStatsLocalService;
1508            @BeanReference(type = RatingsStatsPersistence.class)
1509            protected RatingsStatsPersistence ratingsStatsPersistence;
1510            @BeanReference(type = RatingsStatsFinder.class)
1511            protected RatingsStatsFinder ratingsStatsFinder;
1512            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityLocalService.class)
1513            protected com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService;
1514            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityService.class)
1515            protected com.liferay.portlet.social.service.SocialActivityService socialActivityService;
1516            @BeanReference(type = SocialActivityPersistence.class)
1517            protected SocialActivityPersistence socialActivityPersistence;
1518            @BeanReference(type = SocialActivityFinder.class)
1519            protected SocialActivityFinder socialActivityFinder;
1520            @BeanReference(type = com.liferay.portlet.messageboards.service.MBStatsUserLocalService.class)
1521            protected com.liferay.portlet.messageboards.service.MBStatsUserLocalService mbStatsUserLocalService;
1522            @BeanReference(type = MBStatsUserPersistence.class)
1523            protected MBStatsUserPersistence mbStatsUserPersistence;
1524            @BeanReference(type = com.liferay.portlet.messageboards.service.MBThreadLocalService.class)
1525            protected com.liferay.portlet.messageboards.service.MBThreadLocalService mbThreadLocalService;
1526            @BeanReference(type = com.liferay.portlet.messageboards.service.MBThreadService.class)
1527            protected com.liferay.portlet.messageboards.service.MBThreadService mbThreadService;
1528            @BeanReference(type = MBThreadPersistence.class)
1529            protected MBThreadPersistence mbThreadPersistence;
1530            @BeanReference(type = MBThreadFinder.class)
1531            protected MBThreadFinder mbThreadFinder;
1532            private String _beanIdentifier;
1533    }