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.GroupLocalService;
024    import com.liferay.portal.service.GroupService;
025    import com.liferay.portal.service.ResourceLocalService;
026    import com.liferay.portal.service.ResourceService;
027    import com.liferay.portal.service.SubscriptionLocalService;
028    import com.liferay.portal.service.UserLocalService;
029    import com.liferay.portal.service.UserService;
030    import com.liferay.portal.service.base.PrincipalBean;
031    import com.liferay.portal.service.persistence.GroupFinder;
032    import com.liferay.portal.service.persistence.GroupPersistence;
033    import com.liferay.portal.service.persistence.ResourceFinder;
034    import com.liferay.portal.service.persistence.ResourcePersistence;
035    import com.liferay.portal.service.persistence.SubscriptionPersistence;
036    import com.liferay.portal.service.persistence.UserFinder;
037    import com.liferay.portal.service.persistence.UserPersistence;
038    
039    import com.liferay.portlet.asset.service.AssetTagLocalService;
040    import com.liferay.portlet.asset.service.AssetTagService;
041    import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
042    import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
043    import com.liferay.portlet.expando.service.ExpandoValueLocalService;
044    import com.liferay.portlet.expando.service.ExpandoValueService;
045    import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
046    import com.liferay.portlet.messageboards.service.MBBanLocalService;
047    import com.liferay.portlet.messageboards.service.MBBanService;
048    import com.liferay.portlet.messageboards.service.MBCategoryLocalService;
049    import com.liferay.portlet.messageboards.service.MBCategoryService;
050    import com.liferay.portlet.messageboards.service.MBDiscussionLocalService;
051    import com.liferay.portlet.messageboards.service.MBMailingListLocalService;
052    import com.liferay.portlet.messageboards.service.MBMessageFlagLocalService;
053    import com.liferay.portlet.messageboards.service.MBMessageFlagService;
054    import com.liferay.portlet.messageboards.service.MBMessageLocalService;
055    import com.liferay.portlet.messageboards.service.MBMessageService;
056    import com.liferay.portlet.messageboards.service.MBStatsUserLocalService;
057    import com.liferay.portlet.messageboards.service.MBThreadLocalService;
058    import com.liferay.portlet.messageboards.service.MBThreadService;
059    import com.liferay.portlet.messageboards.service.persistence.MBBanPersistence;
060    import com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder;
061    import com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence;
062    import com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence;
063    import com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence;
064    import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
065    import com.liferay.portlet.messageboards.service.persistence.MBMessageFlagPersistence;
066    import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
067    import com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence;
068    import com.liferay.portlet.messageboards.service.persistence.MBThreadFinder;
069    import com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence;
070    
071    import javax.sql.DataSource;
072    
073    /**
074     * The base implementation of the message boards category remote service.
075     *
076     * <p>
077     * 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.MBCategoryServiceImpl}.
078     * </p>
079     *
080     * <p>
081     * Never modify or reference this class directly. Always use {@link com.liferay.portlet.messageboards.service.MBCategoryServiceUtil} to access the message boards category remote service.
082     * </p>
083     *
084     * @author Brian Wing Shun Chan
085     * @see com.liferay.portlet.messageboards.service.impl.MBCategoryServiceImpl
086     * @see com.liferay.portlet.messageboards.service.MBCategoryServiceUtil
087     * @generated
088     */
089    public abstract class MBCategoryServiceBaseImpl extends PrincipalBean
090            implements MBCategoryService {
091            /**
092             * Gets the message boards ban local service.
093             *
094             * @return the message boards ban local service
095             */
096            public MBBanLocalService getMBBanLocalService() {
097                    return mbBanLocalService;
098            }
099    
100            /**
101             * Sets the message boards ban local service.
102             *
103             * @param mbBanLocalService the message boards ban local service
104             */
105            public void setMBBanLocalService(MBBanLocalService mbBanLocalService) {
106                    this.mbBanLocalService = mbBanLocalService;
107            }
108    
109            /**
110             * Gets the message boards ban remote service.
111             *
112             * @return the message boards ban remote service
113             */
114            public MBBanService getMBBanService() {
115                    return mbBanService;
116            }
117    
118            /**
119             * Sets the message boards ban remote service.
120             *
121             * @param mbBanService the message boards ban remote service
122             */
123            public void setMBBanService(MBBanService mbBanService) {
124                    this.mbBanService = mbBanService;
125            }
126    
127            /**
128             * Gets the message boards ban persistence.
129             *
130             * @return the message boards ban persistence
131             */
132            public MBBanPersistence getMBBanPersistence() {
133                    return mbBanPersistence;
134            }
135    
136            /**
137             * Sets the message boards ban persistence.
138             *
139             * @param mbBanPersistence the message boards ban persistence
140             */
141            public void setMBBanPersistence(MBBanPersistence mbBanPersistence) {
142                    this.mbBanPersistence = mbBanPersistence;
143            }
144    
145            /**
146             * Gets the message boards category local service.
147             *
148             * @return the message boards category local service
149             */
150            public MBCategoryLocalService getMBCategoryLocalService() {
151                    return mbCategoryLocalService;
152            }
153    
154            /**
155             * Sets the message boards category local service.
156             *
157             * @param mbCategoryLocalService the message boards category local service
158             */
159            public void setMBCategoryLocalService(
160                    MBCategoryLocalService mbCategoryLocalService) {
161                    this.mbCategoryLocalService = mbCategoryLocalService;
162            }
163    
164            /**
165             * Gets the message boards category remote service.
166             *
167             * @return the message boards category remote service
168             */
169            public MBCategoryService getMBCategoryService() {
170                    return mbCategoryService;
171            }
172    
173            /**
174             * Sets the message boards category remote service.
175             *
176             * @param mbCategoryService the message boards category remote service
177             */
178            public void setMBCategoryService(MBCategoryService mbCategoryService) {
179                    this.mbCategoryService = mbCategoryService;
180            }
181    
182            /**
183             * Gets the message boards category persistence.
184             *
185             * @return the message boards category persistence
186             */
187            public MBCategoryPersistence getMBCategoryPersistence() {
188                    return mbCategoryPersistence;
189            }
190    
191            /**
192             * Sets the message boards category persistence.
193             *
194             * @param mbCategoryPersistence the message boards category persistence
195             */
196            public void setMBCategoryPersistence(
197                    MBCategoryPersistence mbCategoryPersistence) {
198                    this.mbCategoryPersistence = mbCategoryPersistence;
199            }
200    
201            /**
202             * Gets the message boards category finder.
203             *
204             * @return the message boards category finder
205             */
206            public MBCategoryFinder getMBCategoryFinder() {
207                    return mbCategoryFinder;
208            }
209    
210            /**
211             * Sets the message boards category finder.
212             *
213             * @param mbCategoryFinder the message boards category finder
214             */
215            public void setMBCategoryFinder(MBCategoryFinder mbCategoryFinder) {
216                    this.mbCategoryFinder = mbCategoryFinder;
217            }
218    
219            /**
220             * Gets the message boards discussion local service.
221             *
222             * @return the message boards discussion local service
223             */
224            public MBDiscussionLocalService getMBDiscussionLocalService() {
225                    return mbDiscussionLocalService;
226            }
227    
228            /**
229             * Sets the message boards discussion local service.
230             *
231             * @param mbDiscussionLocalService the message boards discussion local service
232             */
233            public void setMBDiscussionLocalService(
234                    MBDiscussionLocalService mbDiscussionLocalService) {
235                    this.mbDiscussionLocalService = mbDiscussionLocalService;
236            }
237    
238            /**
239             * Gets the message boards discussion persistence.
240             *
241             * @return the message boards discussion persistence
242             */
243            public MBDiscussionPersistence getMBDiscussionPersistence() {
244                    return mbDiscussionPersistence;
245            }
246    
247            /**
248             * Sets the message boards discussion persistence.
249             *
250             * @param mbDiscussionPersistence the message boards discussion persistence
251             */
252            public void setMBDiscussionPersistence(
253                    MBDiscussionPersistence mbDiscussionPersistence) {
254                    this.mbDiscussionPersistence = mbDiscussionPersistence;
255            }
256    
257            /**
258             * Gets the message boards mailing list local service.
259             *
260             * @return the message boards mailing list local service
261             */
262            public MBMailingListLocalService getMBMailingListLocalService() {
263                    return mbMailingListLocalService;
264            }
265    
266            /**
267             * Sets the message boards mailing list local service.
268             *
269             * @param mbMailingListLocalService the message boards mailing list local service
270             */
271            public void setMBMailingListLocalService(
272                    MBMailingListLocalService mbMailingListLocalService) {
273                    this.mbMailingListLocalService = mbMailingListLocalService;
274            }
275    
276            /**
277             * Gets the message boards mailing list persistence.
278             *
279             * @return the message boards mailing list persistence
280             */
281            public MBMailingListPersistence getMBMailingListPersistence() {
282                    return mbMailingListPersistence;
283            }
284    
285            /**
286             * Sets the message boards mailing list persistence.
287             *
288             * @param mbMailingListPersistence the message boards mailing list persistence
289             */
290            public void setMBMailingListPersistence(
291                    MBMailingListPersistence mbMailingListPersistence) {
292                    this.mbMailingListPersistence = mbMailingListPersistence;
293            }
294    
295            /**
296             * Gets the message-boards message local service.
297             *
298             * @return the message-boards message local service
299             */
300            public MBMessageLocalService getMBMessageLocalService() {
301                    return mbMessageLocalService;
302            }
303    
304            /**
305             * Sets the message-boards message local service.
306             *
307             * @param mbMessageLocalService the message-boards message local service
308             */
309            public void setMBMessageLocalService(
310                    MBMessageLocalService mbMessageLocalService) {
311                    this.mbMessageLocalService = mbMessageLocalService;
312            }
313    
314            /**
315             * Gets the message-boards message remote service.
316             *
317             * @return the message-boards message remote service
318             */
319            public MBMessageService getMBMessageService() {
320                    return mbMessageService;
321            }
322    
323            /**
324             * Sets the message-boards message remote service.
325             *
326             * @param mbMessageService the message-boards message remote service
327             */
328            public void setMBMessageService(MBMessageService mbMessageService) {
329                    this.mbMessageService = mbMessageService;
330            }
331    
332            /**
333             * Gets the message-boards message persistence.
334             *
335             * @return the message-boards message persistence
336             */
337            public MBMessagePersistence getMBMessagePersistence() {
338                    return mbMessagePersistence;
339            }
340    
341            /**
342             * Sets the message-boards message persistence.
343             *
344             * @param mbMessagePersistence the message-boards message persistence
345             */
346            public void setMBMessagePersistence(
347                    MBMessagePersistence mbMessagePersistence) {
348                    this.mbMessagePersistence = mbMessagePersistence;
349            }
350    
351            /**
352             * Gets the message-boards message finder.
353             *
354             * @return the message-boards message finder
355             */
356            public MBMessageFinder getMBMessageFinder() {
357                    return mbMessageFinder;
358            }
359    
360            /**
361             * Sets the message-boards message finder.
362             *
363             * @param mbMessageFinder the message-boards message finder
364             */
365            public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
366                    this.mbMessageFinder = mbMessageFinder;
367            }
368    
369            /**
370             * Gets the message boards message flag local service.
371             *
372             * @return the message boards message flag local service
373             */
374            public MBMessageFlagLocalService getMBMessageFlagLocalService() {
375                    return mbMessageFlagLocalService;
376            }
377    
378            /**
379             * Sets the message boards message flag local service.
380             *
381             * @param mbMessageFlagLocalService the message boards message flag local service
382             */
383            public void setMBMessageFlagLocalService(
384                    MBMessageFlagLocalService mbMessageFlagLocalService) {
385                    this.mbMessageFlagLocalService = mbMessageFlagLocalService;
386            }
387    
388            /**
389             * Gets the message boards message flag remote service.
390             *
391             * @return the message boards message flag remote service
392             */
393            public MBMessageFlagService getMBMessageFlagService() {
394                    return mbMessageFlagService;
395            }
396    
397            /**
398             * Sets the message boards message flag remote service.
399             *
400             * @param mbMessageFlagService the message boards message flag remote service
401             */
402            public void setMBMessageFlagService(
403                    MBMessageFlagService mbMessageFlagService) {
404                    this.mbMessageFlagService = mbMessageFlagService;
405            }
406    
407            /**
408             * Gets the message boards message flag persistence.
409             *
410             * @return the message boards message flag persistence
411             */
412            public MBMessageFlagPersistence getMBMessageFlagPersistence() {
413                    return mbMessageFlagPersistence;
414            }
415    
416            /**
417             * Sets the message boards message flag persistence.
418             *
419             * @param mbMessageFlagPersistence the message boards message flag persistence
420             */
421            public void setMBMessageFlagPersistence(
422                    MBMessageFlagPersistence mbMessageFlagPersistence) {
423                    this.mbMessageFlagPersistence = mbMessageFlagPersistence;
424            }
425    
426            /**
427             * Gets the message boards stats user local service.
428             *
429             * @return the message boards stats user local service
430             */
431            public MBStatsUserLocalService getMBStatsUserLocalService() {
432                    return mbStatsUserLocalService;
433            }
434    
435            /**
436             * Sets the message boards stats user local service.
437             *
438             * @param mbStatsUserLocalService the message boards stats user local service
439             */
440            public void setMBStatsUserLocalService(
441                    MBStatsUserLocalService mbStatsUserLocalService) {
442                    this.mbStatsUserLocalService = mbStatsUserLocalService;
443            }
444    
445            /**
446             * Gets the message boards stats user persistence.
447             *
448             * @return the message boards stats user persistence
449             */
450            public MBStatsUserPersistence getMBStatsUserPersistence() {
451                    return mbStatsUserPersistence;
452            }
453    
454            /**
455             * Sets the message boards stats user persistence.
456             *
457             * @param mbStatsUserPersistence the message boards stats user persistence
458             */
459            public void setMBStatsUserPersistence(
460                    MBStatsUserPersistence mbStatsUserPersistence) {
461                    this.mbStatsUserPersistence = mbStatsUserPersistence;
462            }
463    
464            /**
465             * Gets the message boards thread local service.
466             *
467             * @return the message boards thread local service
468             */
469            public MBThreadLocalService getMBThreadLocalService() {
470                    return mbThreadLocalService;
471            }
472    
473            /**
474             * Sets the message boards thread local service.
475             *
476             * @param mbThreadLocalService the message boards thread local service
477             */
478            public void setMBThreadLocalService(
479                    MBThreadLocalService mbThreadLocalService) {
480                    this.mbThreadLocalService = mbThreadLocalService;
481            }
482    
483            /**
484             * Gets the message boards thread remote service.
485             *
486             * @return the message boards thread remote service
487             */
488            public MBThreadService getMBThreadService() {
489                    return mbThreadService;
490            }
491    
492            /**
493             * Sets the message boards thread remote service.
494             *
495             * @param mbThreadService the message boards thread remote service
496             */
497            public void setMBThreadService(MBThreadService mbThreadService) {
498                    this.mbThreadService = mbThreadService;
499            }
500    
501            /**
502             * Gets the message boards thread persistence.
503             *
504             * @return the message boards thread persistence
505             */
506            public MBThreadPersistence getMBThreadPersistence() {
507                    return mbThreadPersistence;
508            }
509    
510            /**
511             * Sets the message boards thread persistence.
512             *
513             * @param mbThreadPersistence the message boards thread persistence
514             */
515            public void setMBThreadPersistence(MBThreadPersistence mbThreadPersistence) {
516                    this.mbThreadPersistence = mbThreadPersistence;
517            }
518    
519            /**
520             * Gets the message boards thread finder.
521             *
522             * @return the message boards thread finder
523             */
524            public MBThreadFinder getMBThreadFinder() {
525                    return mbThreadFinder;
526            }
527    
528            /**
529             * Sets the message boards thread finder.
530             *
531             * @param mbThreadFinder the message boards thread finder
532             */
533            public void setMBThreadFinder(MBThreadFinder mbThreadFinder) {
534                    this.mbThreadFinder = mbThreadFinder;
535            }
536    
537            /**
538             * Gets the counter local service.
539             *
540             * @return the counter local service
541             */
542            public CounterLocalService getCounterLocalService() {
543                    return counterLocalService;
544            }
545    
546            /**
547             * Sets the counter local service.
548             *
549             * @param counterLocalService the counter local service
550             */
551            public void setCounterLocalService(CounterLocalService counterLocalService) {
552                    this.counterLocalService = counterLocalService;
553            }
554    
555            /**
556             * Gets the group local service.
557             *
558             * @return the group local service
559             */
560            public GroupLocalService getGroupLocalService() {
561                    return groupLocalService;
562            }
563    
564            /**
565             * Sets the group local service.
566             *
567             * @param groupLocalService the group local service
568             */
569            public void setGroupLocalService(GroupLocalService groupLocalService) {
570                    this.groupLocalService = groupLocalService;
571            }
572    
573            /**
574             * Gets the group remote service.
575             *
576             * @return the group remote service
577             */
578            public GroupService getGroupService() {
579                    return groupService;
580            }
581    
582            /**
583             * Sets the group remote service.
584             *
585             * @param groupService the group remote service
586             */
587            public void setGroupService(GroupService groupService) {
588                    this.groupService = groupService;
589            }
590    
591            /**
592             * Gets the group persistence.
593             *
594             * @return the group persistence
595             */
596            public GroupPersistence getGroupPersistence() {
597                    return groupPersistence;
598            }
599    
600            /**
601             * Sets the group persistence.
602             *
603             * @param groupPersistence the group persistence
604             */
605            public void setGroupPersistence(GroupPersistence groupPersistence) {
606                    this.groupPersistence = groupPersistence;
607            }
608    
609            /**
610             * Gets the group finder.
611             *
612             * @return the group finder
613             */
614            public GroupFinder getGroupFinder() {
615                    return groupFinder;
616            }
617    
618            /**
619             * Sets the group finder.
620             *
621             * @param groupFinder the group finder
622             */
623            public void setGroupFinder(GroupFinder groupFinder) {
624                    this.groupFinder = groupFinder;
625            }
626    
627            /**
628             * Gets the resource local service.
629             *
630             * @return the resource local service
631             */
632            public ResourceLocalService getResourceLocalService() {
633                    return resourceLocalService;
634            }
635    
636            /**
637             * Sets the resource local service.
638             *
639             * @param resourceLocalService the resource local service
640             */
641            public void setResourceLocalService(
642                    ResourceLocalService resourceLocalService) {
643                    this.resourceLocalService = resourceLocalService;
644            }
645    
646            /**
647             * Gets the resource remote service.
648             *
649             * @return the resource remote service
650             */
651            public ResourceService getResourceService() {
652                    return resourceService;
653            }
654    
655            /**
656             * Sets the resource remote service.
657             *
658             * @param resourceService the resource remote service
659             */
660            public void setResourceService(ResourceService resourceService) {
661                    this.resourceService = resourceService;
662            }
663    
664            /**
665             * Gets the resource persistence.
666             *
667             * @return the resource persistence
668             */
669            public ResourcePersistence getResourcePersistence() {
670                    return resourcePersistence;
671            }
672    
673            /**
674             * Sets the resource persistence.
675             *
676             * @param resourcePersistence the resource persistence
677             */
678            public void setResourcePersistence(ResourcePersistence resourcePersistence) {
679                    this.resourcePersistence = resourcePersistence;
680            }
681    
682            /**
683             * Gets the resource finder.
684             *
685             * @return the resource finder
686             */
687            public ResourceFinder getResourceFinder() {
688                    return resourceFinder;
689            }
690    
691            /**
692             * Sets the resource finder.
693             *
694             * @param resourceFinder the resource finder
695             */
696            public void setResourceFinder(ResourceFinder resourceFinder) {
697                    this.resourceFinder = resourceFinder;
698            }
699    
700            /**
701             * Gets the subscription local service.
702             *
703             * @return the subscription local service
704             */
705            public SubscriptionLocalService getSubscriptionLocalService() {
706                    return subscriptionLocalService;
707            }
708    
709            /**
710             * Sets the subscription local service.
711             *
712             * @param subscriptionLocalService the subscription local service
713             */
714            public void setSubscriptionLocalService(
715                    SubscriptionLocalService subscriptionLocalService) {
716                    this.subscriptionLocalService = subscriptionLocalService;
717            }
718    
719            /**
720             * Gets the subscription persistence.
721             *
722             * @return the subscription persistence
723             */
724            public SubscriptionPersistence getSubscriptionPersistence() {
725                    return subscriptionPersistence;
726            }
727    
728            /**
729             * Sets the subscription persistence.
730             *
731             * @param subscriptionPersistence the subscription persistence
732             */
733            public void setSubscriptionPersistence(
734                    SubscriptionPersistence subscriptionPersistence) {
735                    this.subscriptionPersistence = subscriptionPersistence;
736            }
737    
738            /**
739             * Gets the user local service.
740             *
741             * @return the user local service
742             */
743            public UserLocalService getUserLocalService() {
744                    return userLocalService;
745            }
746    
747            /**
748             * Sets the user local service.
749             *
750             * @param userLocalService the user local service
751             */
752            public void setUserLocalService(UserLocalService userLocalService) {
753                    this.userLocalService = userLocalService;
754            }
755    
756            /**
757             * Gets the user remote service.
758             *
759             * @return the user remote service
760             */
761            public UserService getUserService() {
762                    return userService;
763            }
764    
765            /**
766             * Sets the user remote service.
767             *
768             * @param userService the user remote service
769             */
770            public void setUserService(UserService userService) {
771                    this.userService = userService;
772            }
773    
774            /**
775             * Gets the user persistence.
776             *
777             * @return the user persistence
778             */
779            public UserPersistence getUserPersistence() {
780                    return userPersistence;
781            }
782    
783            /**
784             * Sets the user persistence.
785             *
786             * @param userPersistence the user persistence
787             */
788            public void setUserPersistence(UserPersistence userPersistence) {
789                    this.userPersistence = userPersistence;
790            }
791    
792            /**
793             * Gets the user finder.
794             *
795             * @return the user finder
796             */
797            public UserFinder getUserFinder() {
798                    return userFinder;
799            }
800    
801            /**
802             * Sets the user finder.
803             *
804             * @param userFinder the user finder
805             */
806            public void setUserFinder(UserFinder userFinder) {
807                    this.userFinder = userFinder;
808            }
809    
810            /**
811             * Gets the asset tag local service.
812             *
813             * @return the asset tag local service
814             */
815            public AssetTagLocalService getAssetTagLocalService() {
816                    return assetTagLocalService;
817            }
818    
819            /**
820             * Sets the asset tag local service.
821             *
822             * @param assetTagLocalService the asset tag local service
823             */
824            public void setAssetTagLocalService(
825                    AssetTagLocalService assetTagLocalService) {
826                    this.assetTagLocalService = assetTagLocalService;
827            }
828    
829            /**
830             * Gets the asset tag remote service.
831             *
832             * @return the asset tag remote service
833             */
834            public AssetTagService getAssetTagService() {
835                    return assetTagService;
836            }
837    
838            /**
839             * Sets the asset tag remote service.
840             *
841             * @param assetTagService the asset tag remote service
842             */
843            public void setAssetTagService(AssetTagService assetTagService) {
844                    this.assetTagService = assetTagService;
845            }
846    
847            /**
848             * Gets the asset tag persistence.
849             *
850             * @return the asset tag persistence
851             */
852            public AssetTagPersistence getAssetTagPersistence() {
853                    return assetTagPersistence;
854            }
855    
856            /**
857             * Sets the asset tag persistence.
858             *
859             * @param assetTagPersistence the asset tag persistence
860             */
861            public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
862                    this.assetTagPersistence = assetTagPersistence;
863            }
864    
865            /**
866             * Gets the asset tag finder.
867             *
868             * @return the asset tag finder
869             */
870            public AssetTagFinder getAssetTagFinder() {
871                    return assetTagFinder;
872            }
873    
874            /**
875             * Sets the asset tag finder.
876             *
877             * @param assetTagFinder the asset tag finder
878             */
879            public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
880                    this.assetTagFinder = assetTagFinder;
881            }
882    
883            /**
884             * Gets the expando value local service.
885             *
886             * @return the expando value local service
887             */
888            public ExpandoValueLocalService getExpandoValueLocalService() {
889                    return expandoValueLocalService;
890            }
891    
892            /**
893             * Sets the expando value local service.
894             *
895             * @param expandoValueLocalService the expando value local service
896             */
897            public void setExpandoValueLocalService(
898                    ExpandoValueLocalService expandoValueLocalService) {
899                    this.expandoValueLocalService = expandoValueLocalService;
900            }
901    
902            /**
903             * Gets the expando value remote service.
904             *
905             * @return the expando value remote service
906             */
907            public ExpandoValueService getExpandoValueService() {
908                    return expandoValueService;
909            }
910    
911            /**
912             * Sets the expando value remote service.
913             *
914             * @param expandoValueService the expando value remote service
915             */
916            public void setExpandoValueService(ExpandoValueService expandoValueService) {
917                    this.expandoValueService = expandoValueService;
918            }
919    
920            /**
921             * Gets the expando value persistence.
922             *
923             * @return the expando value persistence
924             */
925            public ExpandoValuePersistence getExpandoValuePersistence() {
926                    return expandoValuePersistence;
927            }
928    
929            /**
930             * Sets the expando value persistence.
931             *
932             * @param expandoValuePersistence the expando value persistence
933             */
934            public void setExpandoValuePersistence(
935                    ExpandoValuePersistence expandoValuePersistence) {
936                    this.expandoValuePersistence = expandoValuePersistence;
937            }
938    
939            /**
940             * Performs an SQL query.
941             *
942             * @param sql the sql query to perform
943             */
944            protected void runSQL(String sql) throws SystemException {
945                    try {
946                            DataSource dataSource = mbCategoryPersistence.getDataSource();
947    
948                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
949                                            sql, new int[0]);
950    
951                            sqlUpdate.update();
952                    }
953                    catch (Exception e) {
954                            throw new SystemException(e);
955                    }
956            }
957    
958            @BeanReference(type = MBBanLocalService.class)
959            protected MBBanLocalService mbBanLocalService;
960            @BeanReference(type = MBBanService.class)
961            protected MBBanService mbBanService;
962            @BeanReference(type = MBBanPersistence.class)
963            protected MBBanPersistence mbBanPersistence;
964            @BeanReference(type = MBCategoryLocalService.class)
965            protected MBCategoryLocalService mbCategoryLocalService;
966            @BeanReference(type = MBCategoryService.class)
967            protected MBCategoryService mbCategoryService;
968            @BeanReference(type = MBCategoryPersistence.class)
969            protected MBCategoryPersistence mbCategoryPersistence;
970            @BeanReference(type = MBCategoryFinder.class)
971            protected MBCategoryFinder mbCategoryFinder;
972            @BeanReference(type = MBDiscussionLocalService.class)
973            protected MBDiscussionLocalService mbDiscussionLocalService;
974            @BeanReference(type = MBDiscussionPersistence.class)
975            protected MBDiscussionPersistence mbDiscussionPersistence;
976            @BeanReference(type = MBMailingListLocalService.class)
977            protected MBMailingListLocalService mbMailingListLocalService;
978            @BeanReference(type = MBMailingListPersistence.class)
979            protected MBMailingListPersistence mbMailingListPersistence;
980            @BeanReference(type = MBMessageLocalService.class)
981            protected MBMessageLocalService mbMessageLocalService;
982            @BeanReference(type = MBMessageService.class)
983            protected MBMessageService mbMessageService;
984            @BeanReference(type = MBMessagePersistence.class)
985            protected MBMessagePersistence mbMessagePersistence;
986            @BeanReference(type = MBMessageFinder.class)
987            protected MBMessageFinder mbMessageFinder;
988            @BeanReference(type = MBMessageFlagLocalService.class)
989            protected MBMessageFlagLocalService mbMessageFlagLocalService;
990            @BeanReference(type = MBMessageFlagService.class)
991            protected MBMessageFlagService mbMessageFlagService;
992            @BeanReference(type = MBMessageFlagPersistence.class)
993            protected MBMessageFlagPersistence mbMessageFlagPersistence;
994            @BeanReference(type = MBStatsUserLocalService.class)
995            protected MBStatsUserLocalService mbStatsUserLocalService;
996            @BeanReference(type = MBStatsUserPersistence.class)
997            protected MBStatsUserPersistence mbStatsUserPersistence;
998            @BeanReference(type = MBThreadLocalService.class)
999            protected MBThreadLocalService mbThreadLocalService;
1000            @BeanReference(type = MBThreadService.class)
1001            protected MBThreadService mbThreadService;
1002            @BeanReference(type = MBThreadPersistence.class)
1003            protected MBThreadPersistence mbThreadPersistence;
1004            @BeanReference(type = MBThreadFinder.class)
1005            protected MBThreadFinder mbThreadFinder;
1006            @BeanReference(type = CounterLocalService.class)
1007            protected CounterLocalService counterLocalService;
1008            @BeanReference(type = GroupLocalService.class)
1009            protected GroupLocalService groupLocalService;
1010            @BeanReference(type = GroupService.class)
1011            protected GroupService groupService;
1012            @BeanReference(type = GroupPersistence.class)
1013            protected GroupPersistence groupPersistence;
1014            @BeanReference(type = GroupFinder.class)
1015            protected GroupFinder groupFinder;
1016            @BeanReference(type = ResourceLocalService.class)
1017            protected ResourceLocalService resourceLocalService;
1018            @BeanReference(type = ResourceService.class)
1019            protected ResourceService resourceService;
1020            @BeanReference(type = ResourcePersistence.class)
1021            protected ResourcePersistence resourcePersistence;
1022            @BeanReference(type = ResourceFinder.class)
1023            protected ResourceFinder resourceFinder;
1024            @BeanReference(type = SubscriptionLocalService.class)
1025            protected SubscriptionLocalService subscriptionLocalService;
1026            @BeanReference(type = SubscriptionPersistence.class)
1027            protected SubscriptionPersistence subscriptionPersistence;
1028            @BeanReference(type = UserLocalService.class)
1029            protected UserLocalService userLocalService;
1030            @BeanReference(type = UserService.class)
1031            protected UserService userService;
1032            @BeanReference(type = UserPersistence.class)
1033            protected UserPersistence userPersistence;
1034            @BeanReference(type = UserFinder.class)
1035            protected UserFinder userFinder;
1036            @BeanReference(type = AssetTagLocalService.class)
1037            protected AssetTagLocalService assetTagLocalService;
1038            @BeanReference(type = AssetTagService.class)
1039            protected AssetTagService assetTagService;
1040            @BeanReference(type = AssetTagPersistence.class)
1041            protected AssetTagPersistence assetTagPersistence;
1042            @BeanReference(type = AssetTagFinder.class)
1043            protected AssetTagFinder assetTagFinder;
1044            @BeanReference(type = ExpandoValueLocalService.class)
1045            protected ExpandoValueLocalService expandoValueLocalService;
1046            @BeanReference(type = ExpandoValueService.class)
1047            protected ExpandoValueService expandoValueService;
1048            @BeanReference(type = ExpandoValuePersistence.class)
1049            protected ExpandoValuePersistence expandoValuePersistence;
1050    }