001    /**
002     * Copyright (c) 2000-2012 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.SubscriptionLocalService;
029    import com.liferay.portal.service.UserLocalService;
030    import com.liferay.portal.service.UserService;
031    import com.liferay.portal.service.persistence.GroupFinder;
032    import com.liferay.portal.service.persistence.GroupPersistence;
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    
037    import com.liferay.portlet.asset.service.AssetTagLocalService;
038    import com.liferay.portlet.asset.service.AssetTagService;
039    import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
040    import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
041    import com.liferay.portlet.expando.service.ExpandoValueLocalService;
042    import com.liferay.portlet.expando.service.ExpandoValueService;
043    import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
044    import com.liferay.portlet.messageboards.model.MBCategory;
045    import com.liferay.portlet.messageboards.service.MBBanLocalService;
046    import com.liferay.portlet.messageboards.service.MBBanService;
047    import com.liferay.portlet.messageboards.service.MBCategoryLocalService;
048    import com.liferay.portlet.messageboards.service.MBCategoryService;
049    import com.liferay.portlet.messageboards.service.MBDiscussionLocalService;
050    import com.liferay.portlet.messageboards.service.MBMailingListLocalService;
051    import com.liferay.portlet.messageboards.service.MBMessageLocalService;
052    import com.liferay.portlet.messageboards.service.MBMessageService;
053    import com.liferay.portlet.messageboards.service.MBStatsUserLocalService;
054    import com.liferay.portlet.messageboards.service.MBThreadFlagLocalService;
055    import com.liferay.portlet.messageboards.service.MBThreadLocalService;
056    import com.liferay.portlet.messageboards.service.MBThreadService;
057    import com.liferay.portlet.messageboards.service.persistence.MBBanPersistence;
058    import com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder;
059    import com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence;
060    import com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence;
061    import com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence;
062    import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
063    import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
064    import com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence;
065    import com.liferay.portlet.messageboards.service.persistence.MBThreadFinder;
066    import com.liferay.portlet.messageboards.service.persistence.MBThreadFlagPersistence;
067    import com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence;
068    
069    import javax.sql.DataSource;
070    
071    /**
072     * The base implementation of the message boards category remote service.
073     *
074     * <p>
075     * 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}.
076     * </p>
077     *
078     * @author Brian Wing Shun Chan
079     * @see com.liferay.portlet.messageboards.service.impl.MBCategoryServiceImpl
080     * @see com.liferay.portlet.messageboards.service.MBCategoryServiceUtil
081     * @generated
082     */
083    public abstract class MBCategoryServiceBaseImpl extends BaseServiceImpl
084            implements MBCategoryService, IdentifiableBean {
085            /*
086             * NOTE FOR DEVELOPERS:
087             *
088             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.messageboards.service.MBCategoryServiceUtil} to access the message boards category remote service.
089             */
090    
091            /**
092             * Returns 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             * Returns 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             * Returns 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             * Returns 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             * Returns 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             * Returns 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             * Returns 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             * Returns 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             * Returns 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             * Returns 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             * Returns 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             * Returns 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             * Returns 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             * Returns 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             * Returns 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             * Returns the message boards stats user local service.
371             *
372             * @return the message boards stats user local service
373             */
374            public MBStatsUserLocalService getMBStatsUserLocalService() {
375                    return mbStatsUserLocalService;
376            }
377    
378            /**
379             * Sets the message boards stats user local service.
380             *
381             * @param mbStatsUserLocalService the message boards stats user local service
382             */
383            public void setMBStatsUserLocalService(
384                    MBStatsUserLocalService mbStatsUserLocalService) {
385                    this.mbStatsUserLocalService = mbStatsUserLocalService;
386            }
387    
388            /**
389             * Returns the message boards stats user persistence.
390             *
391             * @return the message boards stats user persistence
392             */
393            public MBStatsUserPersistence getMBStatsUserPersistence() {
394                    return mbStatsUserPersistence;
395            }
396    
397            /**
398             * Sets the message boards stats user persistence.
399             *
400             * @param mbStatsUserPersistence the message boards stats user persistence
401             */
402            public void setMBStatsUserPersistence(
403                    MBStatsUserPersistence mbStatsUserPersistence) {
404                    this.mbStatsUserPersistence = mbStatsUserPersistence;
405            }
406    
407            /**
408             * Returns the message boards thread local service.
409             *
410             * @return the message boards thread local service
411             */
412            public MBThreadLocalService getMBThreadLocalService() {
413                    return mbThreadLocalService;
414            }
415    
416            /**
417             * Sets the message boards thread local service.
418             *
419             * @param mbThreadLocalService the message boards thread local service
420             */
421            public void setMBThreadLocalService(
422                    MBThreadLocalService mbThreadLocalService) {
423                    this.mbThreadLocalService = mbThreadLocalService;
424            }
425    
426            /**
427             * Returns the message boards thread remote service.
428             *
429             * @return the message boards thread remote service
430             */
431            public MBThreadService getMBThreadService() {
432                    return mbThreadService;
433            }
434    
435            /**
436             * Sets the message boards thread remote service.
437             *
438             * @param mbThreadService the message boards thread remote service
439             */
440            public void setMBThreadService(MBThreadService mbThreadService) {
441                    this.mbThreadService = mbThreadService;
442            }
443    
444            /**
445             * Returns the message boards thread persistence.
446             *
447             * @return the message boards thread persistence
448             */
449            public MBThreadPersistence getMBThreadPersistence() {
450                    return mbThreadPersistence;
451            }
452    
453            /**
454             * Sets the message boards thread persistence.
455             *
456             * @param mbThreadPersistence the message boards thread persistence
457             */
458            public void setMBThreadPersistence(MBThreadPersistence mbThreadPersistence) {
459                    this.mbThreadPersistence = mbThreadPersistence;
460            }
461    
462            /**
463             * Returns the message boards thread finder.
464             *
465             * @return the message boards thread finder
466             */
467            public MBThreadFinder getMBThreadFinder() {
468                    return mbThreadFinder;
469            }
470    
471            /**
472             * Sets the message boards thread finder.
473             *
474             * @param mbThreadFinder the message boards thread finder
475             */
476            public void setMBThreadFinder(MBThreadFinder mbThreadFinder) {
477                    this.mbThreadFinder = mbThreadFinder;
478            }
479    
480            /**
481             * Returns the message boards thread flag local service.
482             *
483             * @return the message boards thread flag local service
484             */
485            public MBThreadFlagLocalService getMBThreadFlagLocalService() {
486                    return mbThreadFlagLocalService;
487            }
488    
489            /**
490             * Sets the message boards thread flag local service.
491             *
492             * @param mbThreadFlagLocalService the message boards thread flag local service
493             */
494            public void setMBThreadFlagLocalService(
495                    MBThreadFlagLocalService mbThreadFlagLocalService) {
496                    this.mbThreadFlagLocalService = mbThreadFlagLocalService;
497            }
498    
499            /**
500             * Returns the message boards thread flag persistence.
501             *
502             * @return the message boards thread flag persistence
503             */
504            public MBThreadFlagPersistence getMBThreadFlagPersistence() {
505                    return mbThreadFlagPersistence;
506            }
507    
508            /**
509             * Sets the message boards thread flag persistence.
510             *
511             * @param mbThreadFlagPersistence the message boards thread flag persistence
512             */
513            public void setMBThreadFlagPersistence(
514                    MBThreadFlagPersistence mbThreadFlagPersistence) {
515                    this.mbThreadFlagPersistence = mbThreadFlagPersistence;
516            }
517    
518            /**
519             * Returns the counter local service.
520             *
521             * @return the counter local service
522             */
523            public CounterLocalService getCounterLocalService() {
524                    return counterLocalService;
525            }
526    
527            /**
528             * Sets the counter local service.
529             *
530             * @param counterLocalService the counter local service
531             */
532            public void setCounterLocalService(CounterLocalService counterLocalService) {
533                    this.counterLocalService = counterLocalService;
534            }
535    
536            /**
537             * Returns the group local service.
538             *
539             * @return the group local service
540             */
541            public GroupLocalService getGroupLocalService() {
542                    return groupLocalService;
543            }
544    
545            /**
546             * Sets the group local service.
547             *
548             * @param groupLocalService the group local service
549             */
550            public void setGroupLocalService(GroupLocalService groupLocalService) {
551                    this.groupLocalService = groupLocalService;
552            }
553    
554            /**
555             * Returns the group remote service.
556             *
557             * @return the group remote service
558             */
559            public GroupService getGroupService() {
560                    return groupService;
561            }
562    
563            /**
564             * Sets the group remote service.
565             *
566             * @param groupService the group remote service
567             */
568            public void setGroupService(GroupService groupService) {
569                    this.groupService = groupService;
570            }
571    
572            /**
573             * Returns the group persistence.
574             *
575             * @return the group persistence
576             */
577            public GroupPersistence getGroupPersistence() {
578                    return groupPersistence;
579            }
580    
581            /**
582             * Sets the group persistence.
583             *
584             * @param groupPersistence the group persistence
585             */
586            public void setGroupPersistence(GroupPersistence groupPersistence) {
587                    this.groupPersistence = groupPersistence;
588            }
589    
590            /**
591             * Returns the group finder.
592             *
593             * @return the group finder
594             */
595            public GroupFinder getGroupFinder() {
596                    return groupFinder;
597            }
598    
599            /**
600             * Sets the group finder.
601             *
602             * @param groupFinder the group finder
603             */
604            public void setGroupFinder(GroupFinder groupFinder) {
605                    this.groupFinder = groupFinder;
606            }
607    
608            /**
609             * Returns the resource local service.
610             *
611             * @return the resource local service
612             */
613            public ResourceLocalService getResourceLocalService() {
614                    return resourceLocalService;
615            }
616    
617            /**
618             * Sets the resource local service.
619             *
620             * @param resourceLocalService the resource local service
621             */
622            public void setResourceLocalService(
623                    ResourceLocalService resourceLocalService) {
624                    this.resourceLocalService = resourceLocalService;
625            }
626    
627            /**
628             * Returns the subscription local service.
629             *
630             * @return the subscription local service
631             */
632            public SubscriptionLocalService getSubscriptionLocalService() {
633                    return subscriptionLocalService;
634            }
635    
636            /**
637             * Sets the subscription local service.
638             *
639             * @param subscriptionLocalService the subscription local service
640             */
641            public void setSubscriptionLocalService(
642                    SubscriptionLocalService subscriptionLocalService) {
643                    this.subscriptionLocalService = subscriptionLocalService;
644            }
645    
646            /**
647             * Returns the subscription persistence.
648             *
649             * @return the subscription persistence
650             */
651            public SubscriptionPersistence getSubscriptionPersistence() {
652                    return subscriptionPersistence;
653            }
654    
655            /**
656             * Sets the subscription persistence.
657             *
658             * @param subscriptionPersistence the subscription persistence
659             */
660            public void setSubscriptionPersistence(
661                    SubscriptionPersistence subscriptionPersistence) {
662                    this.subscriptionPersistence = subscriptionPersistence;
663            }
664    
665            /**
666             * Returns the user local service.
667             *
668             * @return the user local service
669             */
670            public UserLocalService getUserLocalService() {
671                    return userLocalService;
672            }
673    
674            /**
675             * Sets the user local service.
676             *
677             * @param userLocalService the user local service
678             */
679            public void setUserLocalService(UserLocalService userLocalService) {
680                    this.userLocalService = userLocalService;
681            }
682    
683            /**
684             * Returns the user remote service.
685             *
686             * @return the user remote service
687             */
688            public UserService getUserService() {
689                    return userService;
690            }
691    
692            /**
693             * Sets the user remote service.
694             *
695             * @param userService the user remote service
696             */
697            public void setUserService(UserService userService) {
698                    this.userService = userService;
699            }
700    
701            /**
702             * Returns the user persistence.
703             *
704             * @return the user persistence
705             */
706            public UserPersistence getUserPersistence() {
707                    return userPersistence;
708            }
709    
710            /**
711             * Sets the user persistence.
712             *
713             * @param userPersistence the user persistence
714             */
715            public void setUserPersistence(UserPersistence userPersistence) {
716                    this.userPersistence = userPersistence;
717            }
718    
719            /**
720             * Returns the user finder.
721             *
722             * @return the user finder
723             */
724            public UserFinder getUserFinder() {
725                    return userFinder;
726            }
727    
728            /**
729             * Sets the user finder.
730             *
731             * @param userFinder the user finder
732             */
733            public void setUserFinder(UserFinder userFinder) {
734                    this.userFinder = userFinder;
735            }
736    
737            /**
738             * Returns the asset tag local service.
739             *
740             * @return the asset tag local service
741             */
742            public AssetTagLocalService getAssetTagLocalService() {
743                    return assetTagLocalService;
744            }
745    
746            /**
747             * Sets the asset tag local service.
748             *
749             * @param assetTagLocalService the asset tag local service
750             */
751            public void setAssetTagLocalService(
752                    AssetTagLocalService assetTagLocalService) {
753                    this.assetTagLocalService = assetTagLocalService;
754            }
755    
756            /**
757             * Returns the asset tag remote service.
758             *
759             * @return the asset tag remote service
760             */
761            public AssetTagService getAssetTagService() {
762                    return assetTagService;
763            }
764    
765            /**
766             * Sets the asset tag remote service.
767             *
768             * @param assetTagService the asset tag remote service
769             */
770            public void setAssetTagService(AssetTagService assetTagService) {
771                    this.assetTagService = assetTagService;
772            }
773    
774            /**
775             * Returns the asset tag persistence.
776             *
777             * @return the asset tag persistence
778             */
779            public AssetTagPersistence getAssetTagPersistence() {
780                    return assetTagPersistence;
781            }
782    
783            /**
784             * Sets the asset tag persistence.
785             *
786             * @param assetTagPersistence the asset tag persistence
787             */
788            public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
789                    this.assetTagPersistence = assetTagPersistence;
790            }
791    
792            /**
793             * Returns the asset tag finder.
794             *
795             * @return the asset tag finder
796             */
797            public AssetTagFinder getAssetTagFinder() {
798                    return assetTagFinder;
799            }
800    
801            /**
802             * Sets the asset tag finder.
803             *
804             * @param assetTagFinder the asset tag finder
805             */
806            public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
807                    this.assetTagFinder = assetTagFinder;
808            }
809    
810            /**
811             * Returns the expando value local service.
812             *
813             * @return the expando value local service
814             */
815            public ExpandoValueLocalService getExpandoValueLocalService() {
816                    return expandoValueLocalService;
817            }
818    
819            /**
820             * Sets the expando value local service.
821             *
822             * @param expandoValueLocalService the expando value local service
823             */
824            public void setExpandoValueLocalService(
825                    ExpandoValueLocalService expandoValueLocalService) {
826                    this.expandoValueLocalService = expandoValueLocalService;
827            }
828    
829            /**
830             * Returns the expando value remote service.
831             *
832             * @return the expando value remote service
833             */
834            public ExpandoValueService getExpandoValueService() {
835                    return expandoValueService;
836            }
837    
838            /**
839             * Sets the expando value remote service.
840             *
841             * @param expandoValueService the expando value remote service
842             */
843            public void setExpandoValueService(ExpandoValueService expandoValueService) {
844                    this.expandoValueService = expandoValueService;
845            }
846    
847            /**
848             * Returns the expando value persistence.
849             *
850             * @return the expando value persistence
851             */
852            public ExpandoValuePersistence getExpandoValuePersistence() {
853                    return expandoValuePersistence;
854            }
855    
856            /**
857             * Sets the expando value persistence.
858             *
859             * @param expandoValuePersistence the expando value persistence
860             */
861            public void setExpandoValuePersistence(
862                    ExpandoValuePersistence expandoValuePersistence) {
863                    this.expandoValuePersistence = expandoValuePersistence;
864            }
865    
866            public void afterPropertiesSet() {
867            }
868    
869            public void destroy() {
870            }
871    
872            /**
873             * Returns the Spring bean ID for this bean.
874             *
875             * @return the Spring bean ID for this bean
876             */
877            public String getBeanIdentifier() {
878                    return _beanIdentifier;
879            }
880    
881            /**
882             * Sets the Spring bean ID for this bean.
883             *
884             * @param beanIdentifier the Spring bean ID for this bean
885             */
886            public void setBeanIdentifier(String beanIdentifier) {
887                    _beanIdentifier = beanIdentifier;
888            }
889    
890            protected Class<?> getModelClass() {
891                    return MBCategory.class;
892            }
893    
894            protected String getModelClassName() {
895                    return MBCategory.class.getName();
896            }
897    
898            /**
899             * Performs an SQL query.
900             *
901             * @param sql the sql query
902             */
903            protected void runSQL(String sql) throws SystemException {
904                    try {
905                            DataSource dataSource = mbCategoryPersistence.getDataSource();
906    
907                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
908                                            sql, new int[0]);
909    
910                            sqlUpdate.update();
911                    }
912                    catch (Exception e) {
913                            throw new SystemException(e);
914                    }
915            }
916    
917            @BeanReference(type = MBBanLocalService.class)
918            protected MBBanLocalService mbBanLocalService;
919            @BeanReference(type = MBBanService.class)
920            protected MBBanService mbBanService;
921            @BeanReference(type = MBBanPersistence.class)
922            protected MBBanPersistence mbBanPersistence;
923            @BeanReference(type = MBCategoryLocalService.class)
924            protected MBCategoryLocalService mbCategoryLocalService;
925            @BeanReference(type = MBCategoryService.class)
926            protected MBCategoryService mbCategoryService;
927            @BeanReference(type = MBCategoryPersistence.class)
928            protected MBCategoryPersistence mbCategoryPersistence;
929            @BeanReference(type = MBCategoryFinder.class)
930            protected MBCategoryFinder mbCategoryFinder;
931            @BeanReference(type = MBDiscussionLocalService.class)
932            protected MBDiscussionLocalService mbDiscussionLocalService;
933            @BeanReference(type = MBDiscussionPersistence.class)
934            protected MBDiscussionPersistence mbDiscussionPersistence;
935            @BeanReference(type = MBMailingListLocalService.class)
936            protected MBMailingListLocalService mbMailingListLocalService;
937            @BeanReference(type = MBMailingListPersistence.class)
938            protected MBMailingListPersistence mbMailingListPersistence;
939            @BeanReference(type = MBMessageLocalService.class)
940            protected MBMessageLocalService mbMessageLocalService;
941            @BeanReference(type = MBMessageService.class)
942            protected MBMessageService mbMessageService;
943            @BeanReference(type = MBMessagePersistence.class)
944            protected MBMessagePersistence mbMessagePersistence;
945            @BeanReference(type = MBMessageFinder.class)
946            protected MBMessageFinder mbMessageFinder;
947            @BeanReference(type = MBStatsUserLocalService.class)
948            protected MBStatsUserLocalService mbStatsUserLocalService;
949            @BeanReference(type = MBStatsUserPersistence.class)
950            protected MBStatsUserPersistence mbStatsUserPersistence;
951            @BeanReference(type = MBThreadLocalService.class)
952            protected MBThreadLocalService mbThreadLocalService;
953            @BeanReference(type = MBThreadService.class)
954            protected MBThreadService mbThreadService;
955            @BeanReference(type = MBThreadPersistence.class)
956            protected MBThreadPersistence mbThreadPersistence;
957            @BeanReference(type = MBThreadFinder.class)
958            protected MBThreadFinder mbThreadFinder;
959            @BeanReference(type = MBThreadFlagLocalService.class)
960            protected MBThreadFlagLocalService mbThreadFlagLocalService;
961            @BeanReference(type = MBThreadFlagPersistence.class)
962            protected MBThreadFlagPersistence mbThreadFlagPersistence;
963            @BeanReference(type = CounterLocalService.class)
964            protected CounterLocalService counterLocalService;
965            @BeanReference(type = GroupLocalService.class)
966            protected GroupLocalService groupLocalService;
967            @BeanReference(type = GroupService.class)
968            protected GroupService groupService;
969            @BeanReference(type = GroupPersistence.class)
970            protected GroupPersistence groupPersistence;
971            @BeanReference(type = GroupFinder.class)
972            protected GroupFinder groupFinder;
973            @BeanReference(type = ResourceLocalService.class)
974            protected ResourceLocalService resourceLocalService;
975            @BeanReference(type = SubscriptionLocalService.class)
976            protected SubscriptionLocalService subscriptionLocalService;
977            @BeanReference(type = SubscriptionPersistence.class)
978            protected SubscriptionPersistence subscriptionPersistence;
979            @BeanReference(type = UserLocalService.class)
980            protected UserLocalService userLocalService;
981            @BeanReference(type = UserService.class)
982            protected UserService userService;
983            @BeanReference(type = UserPersistence.class)
984            protected UserPersistence userPersistence;
985            @BeanReference(type = UserFinder.class)
986            protected UserFinder userFinder;
987            @BeanReference(type = AssetTagLocalService.class)
988            protected AssetTagLocalService assetTagLocalService;
989            @BeanReference(type = AssetTagService.class)
990            protected AssetTagService assetTagService;
991            @BeanReference(type = AssetTagPersistence.class)
992            protected AssetTagPersistence assetTagPersistence;
993            @BeanReference(type = AssetTagFinder.class)
994            protected AssetTagFinder assetTagFinder;
995            @BeanReference(type = ExpandoValueLocalService.class)
996            protected ExpandoValueLocalService expandoValueLocalService;
997            @BeanReference(type = ExpandoValueService.class)
998            protected ExpandoValueService expandoValueService;
999            @BeanReference(type = ExpandoValuePersistence.class)
1000            protected ExpandoValuePersistence expandoValuePersistence;
1001            private String _beanIdentifier;
1002    }