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