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