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