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