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