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