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