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