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