001
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.annotation.BeanReference;
022 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
023 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
024 import com.liferay.portal.kernel.exception.SystemException;
025 import com.liferay.portal.service.CompanyLocalService;
026 import com.liferay.portal.service.CompanyService;
027 import com.liferay.portal.service.GroupLocalService;
028 import com.liferay.portal.service.GroupService;
029 import com.liferay.portal.service.PortletPreferencesLocalService;
030 import com.liferay.portal.service.PortletPreferencesService;
031 import com.liferay.portal.service.ResourceLocalService;
032 import com.liferay.portal.service.ResourceService;
033 import com.liferay.portal.service.UserLocalService;
034 import com.liferay.portal.service.UserService;
035 import com.liferay.portal.service.base.PrincipalBean;
036 import com.liferay.portal.service.persistence.CompanyPersistence;
037 import com.liferay.portal.service.persistence.GroupFinder;
038 import com.liferay.portal.service.persistence.GroupPersistence;
039 import com.liferay.portal.service.persistence.PortletPreferencesFinder;
040 import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
041 import com.liferay.portal.service.persistence.ResourceFinder;
042 import com.liferay.portal.service.persistence.ResourcePersistence;
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.AssetTagLocalService;
049 import com.liferay.portlet.asset.service.AssetTagService;
050 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
051 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
052 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
053 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
054 import com.liferay.portlet.calendar.service.CalEventLocalService;
055 import com.liferay.portlet.calendar.service.CalEventService;
056 import com.liferay.portlet.calendar.service.persistence.CalEventFinder;
057 import com.liferay.portlet.calendar.service.persistence.CalEventPersistence;
058 import com.liferay.portlet.expando.service.ExpandoValueLocalService;
059 import com.liferay.portlet.expando.service.ExpandoValueService;
060 import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
061 import com.liferay.portlet.social.service.SocialActivityLocalService;
062 import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
063 import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
064
065 import javax.sql.DataSource;
066
067
083 public abstract class CalEventServiceBaseImpl extends PrincipalBean
084 implements CalEventService {
085
090 public CalEventLocalService getCalEventLocalService() {
091 return calEventLocalService;
092 }
093
094
099 public void setCalEventLocalService(
100 CalEventLocalService calEventLocalService) {
101 this.calEventLocalService = calEventLocalService;
102 }
103
104
109 public CalEventService getCalEventService() {
110 return calEventService;
111 }
112
113
118 public void setCalEventService(CalEventService calEventService) {
119 this.calEventService = calEventService;
120 }
121
122
127 public CalEventPersistence getCalEventPersistence() {
128 return calEventPersistence;
129 }
130
131
136 public void setCalEventPersistence(CalEventPersistence calEventPersistence) {
137 this.calEventPersistence = calEventPersistence;
138 }
139
140
145 public CalEventFinder getCalEventFinder() {
146 return calEventFinder;
147 }
148
149
154 public void setCalEventFinder(CalEventFinder calEventFinder) {
155 this.calEventFinder = calEventFinder;
156 }
157
158
163 public CounterLocalService getCounterLocalService() {
164 return counterLocalService;
165 }
166
167
172 public void setCounterLocalService(CounterLocalService counterLocalService) {
173 this.counterLocalService = counterLocalService;
174 }
175
176
181 public MailService getMailService() {
182 return mailService;
183 }
184
185
190 public void setMailService(MailService mailService) {
191 this.mailService = mailService;
192 }
193
194
199 public CompanyLocalService getCompanyLocalService() {
200 return companyLocalService;
201 }
202
203
208 public void setCompanyLocalService(CompanyLocalService companyLocalService) {
209 this.companyLocalService = companyLocalService;
210 }
211
212
217 public CompanyService getCompanyService() {
218 return companyService;
219 }
220
221
226 public void setCompanyService(CompanyService companyService) {
227 this.companyService = companyService;
228 }
229
230
235 public CompanyPersistence getCompanyPersistence() {
236 return companyPersistence;
237 }
238
239
244 public void setCompanyPersistence(CompanyPersistence companyPersistence) {
245 this.companyPersistence = companyPersistence;
246 }
247
248
253 public GroupLocalService getGroupLocalService() {
254 return groupLocalService;
255 }
256
257
262 public void setGroupLocalService(GroupLocalService groupLocalService) {
263 this.groupLocalService = groupLocalService;
264 }
265
266
271 public GroupService getGroupService() {
272 return groupService;
273 }
274
275
280 public void setGroupService(GroupService groupService) {
281 this.groupService = groupService;
282 }
283
284
289 public GroupPersistence getGroupPersistence() {
290 return groupPersistence;
291 }
292
293
298 public void setGroupPersistence(GroupPersistence groupPersistence) {
299 this.groupPersistence = groupPersistence;
300 }
301
302
307 public GroupFinder getGroupFinder() {
308 return groupFinder;
309 }
310
311
316 public void setGroupFinder(GroupFinder groupFinder) {
317 this.groupFinder = groupFinder;
318 }
319
320
325 public PortletPreferencesLocalService getPortletPreferencesLocalService() {
326 return portletPreferencesLocalService;
327 }
328
329
334 public void setPortletPreferencesLocalService(
335 PortletPreferencesLocalService portletPreferencesLocalService) {
336 this.portletPreferencesLocalService = portletPreferencesLocalService;
337 }
338
339
344 public PortletPreferencesService getPortletPreferencesService() {
345 return portletPreferencesService;
346 }
347
348
353 public void setPortletPreferencesService(
354 PortletPreferencesService portletPreferencesService) {
355 this.portletPreferencesService = portletPreferencesService;
356 }
357
358
363 public PortletPreferencesPersistence getPortletPreferencesPersistence() {
364 return portletPreferencesPersistence;
365 }
366
367
372 public void setPortletPreferencesPersistence(
373 PortletPreferencesPersistence portletPreferencesPersistence) {
374 this.portletPreferencesPersistence = portletPreferencesPersistence;
375 }
376
377
382 public PortletPreferencesFinder getPortletPreferencesFinder() {
383 return portletPreferencesFinder;
384 }
385
386
391 public void setPortletPreferencesFinder(
392 PortletPreferencesFinder portletPreferencesFinder) {
393 this.portletPreferencesFinder = portletPreferencesFinder;
394 }
395
396
401 public ResourceLocalService getResourceLocalService() {
402 return resourceLocalService;
403 }
404
405
410 public void setResourceLocalService(
411 ResourceLocalService resourceLocalService) {
412 this.resourceLocalService = resourceLocalService;
413 }
414
415
420 public ResourceService getResourceService() {
421 return resourceService;
422 }
423
424
429 public void setResourceService(ResourceService resourceService) {
430 this.resourceService = resourceService;
431 }
432
433
438 public ResourcePersistence getResourcePersistence() {
439 return resourcePersistence;
440 }
441
442
447 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
448 this.resourcePersistence = resourcePersistence;
449 }
450
451
456 public ResourceFinder getResourceFinder() {
457 return resourceFinder;
458 }
459
460
465 public void setResourceFinder(ResourceFinder resourceFinder) {
466 this.resourceFinder = resourceFinder;
467 }
468
469
474 public UserLocalService getUserLocalService() {
475 return userLocalService;
476 }
477
478
483 public void setUserLocalService(UserLocalService userLocalService) {
484 this.userLocalService = userLocalService;
485 }
486
487
492 public UserService getUserService() {
493 return userService;
494 }
495
496
501 public void setUserService(UserService userService) {
502 this.userService = userService;
503 }
504
505
510 public UserPersistence getUserPersistence() {
511 return userPersistence;
512 }
513
514
519 public void setUserPersistence(UserPersistence userPersistence) {
520 this.userPersistence = userPersistence;
521 }
522
523
528 public UserFinder getUserFinder() {
529 return userFinder;
530 }
531
532
537 public void setUserFinder(UserFinder userFinder) {
538 this.userFinder = userFinder;
539 }
540
541
546 public AssetEntryLocalService getAssetEntryLocalService() {
547 return assetEntryLocalService;
548 }
549
550
555 public void setAssetEntryLocalService(
556 AssetEntryLocalService assetEntryLocalService) {
557 this.assetEntryLocalService = assetEntryLocalService;
558 }
559
560
565 public AssetEntryService getAssetEntryService() {
566 return assetEntryService;
567 }
568
569
574 public void setAssetEntryService(AssetEntryService assetEntryService) {
575 this.assetEntryService = assetEntryService;
576 }
577
578
583 public AssetEntryPersistence getAssetEntryPersistence() {
584 return assetEntryPersistence;
585 }
586
587
592 public void setAssetEntryPersistence(
593 AssetEntryPersistence assetEntryPersistence) {
594 this.assetEntryPersistence = assetEntryPersistence;
595 }
596
597
602 public AssetEntryFinder getAssetEntryFinder() {
603 return assetEntryFinder;
604 }
605
606
611 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
612 this.assetEntryFinder = assetEntryFinder;
613 }
614
615
620 public AssetTagLocalService getAssetTagLocalService() {
621 return assetTagLocalService;
622 }
623
624
629 public void setAssetTagLocalService(
630 AssetTagLocalService assetTagLocalService) {
631 this.assetTagLocalService = assetTagLocalService;
632 }
633
634
639 public AssetTagService getAssetTagService() {
640 return assetTagService;
641 }
642
643
648 public void setAssetTagService(AssetTagService assetTagService) {
649 this.assetTagService = assetTagService;
650 }
651
652
657 public AssetTagPersistence getAssetTagPersistence() {
658 return assetTagPersistence;
659 }
660
661
666 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
667 this.assetTagPersistence = assetTagPersistence;
668 }
669
670
675 public AssetTagFinder getAssetTagFinder() {
676 return assetTagFinder;
677 }
678
679
684 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
685 this.assetTagFinder = assetTagFinder;
686 }
687
688
693 public ExpandoValueLocalService getExpandoValueLocalService() {
694 return expandoValueLocalService;
695 }
696
697
702 public void setExpandoValueLocalService(
703 ExpandoValueLocalService expandoValueLocalService) {
704 this.expandoValueLocalService = expandoValueLocalService;
705 }
706
707
712 public ExpandoValueService getExpandoValueService() {
713 return expandoValueService;
714 }
715
716
721 public void setExpandoValueService(ExpandoValueService expandoValueService) {
722 this.expandoValueService = expandoValueService;
723 }
724
725
730 public ExpandoValuePersistence getExpandoValuePersistence() {
731 return expandoValuePersistence;
732 }
733
734
739 public void setExpandoValuePersistence(
740 ExpandoValuePersistence expandoValuePersistence) {
741 this.expandoValuePersistence = expandoValuePersistence;
742 }
743
744
749 public SocialActivityLocalService getSocialActivityLocalService() {
750 return socialActivityLocalService;
751 }
752
753
758 public void setSocialActivityLocalService(
759 SocialActivityLocalService socialActivityLocalService) {
760 this.socialActivityLocalService = socialActivityLocalService;
761 }
762
763
768 public SocialActivityPersistence getSocialActivityPersistence() {
769 return socialActivityPersistence;
770 }
771
772
777 public void setSocialActivityPersistence(
778 SocialActivityPersistence socialActivityPersistence) {
779 this.socialActivityPersistence = socialActivityPersistence;
780 }
781
782
787 public SocialActivityFinder getSocialActivityFinder() {
788 return socialActivityFinder;
789 }
790
791
796 public void setSocialActivityFinder(
797 SocialActivityFinder socialActivityFinder) {
798 this.socialActivityFinder = socialActivityFinder;
799 }
800
801
806 protected void runSQL(String sql) throws SystemException {
807 try {
808 DataSource dataSource = calEventPersistence.getDataSource();
809
810 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
811 sql, new int[0]);
812
813 sqlUpdate.update();
814 }
815 catch (Exception e) {
816 throw new SystemException(e);
817 }
818 }
819
820 @BeanReference(type = CalEventLocalService.class)
821 protected CalEventLocalService calEventLocalService;
822 @BeanReference(type = CalEventService.class)
823 protected CalEventService calEventService;
824 @BeanReference(type = CalEventPersistence.class)
825 protected CalEventPersistence calEventPersistence;
826 @BeanReference(type = CalEventFinder.class)
827 protected CalEventFinder calEventFinder;
828 @BeanReference(type = CounterLocalService.class)
829 protected CounterLocalService counterLocalService;
830 @BeanReference(type = MailService.class)
831 protected MailService mailService;
832 @BeanReference(type = CompanyLocalService.class)
833 protected CompanyLocalService companyLocalService;
834 @BeanReference(type = CompanyService.class)
835 protected CompanyService companyService;
836 @BeanReference(type = CompanyPersistence.class)
837 protected CompanyPersistence companyPersistence;
838 @BeanReference(type = GroupLocalService.class)
839 protected GroupLocalService groupLocalService;
840 @BeanReference(type = GroupService.class)
841 protected GroupService groupService;
842 @BeanReference(type = GroupPersistence.class)
843 protected GroupPersistence groupPersistence;
844 @BeanReference(type = GroupFinder.class)
845 protected GroupFinder groupFinder;
846 @BeanReference(type = PortletPreferencesLocalService.class)
847 protected PortletPreferencesLocalService portletPreferencesLocalService;
848 @BeanReference(type = PortletPreferencesService.class)
849 protected PortletPreferencesService portletPreferencesService;
850 @BeanReference(type = PortletPreferencesPersistence.class)
851 protected PortletPreferencesPersistence portletPreferencesPersistence;
852 @BeanReference(type = PortletPreferencesFinder.class)
853 protected PortletPreferencesFinder portletPreferencesFinder;
854 @BeanReference(type = ResourceLocalService.class)
855 protected ResourceLocalService resourceLocalService;
856 @BeanReference(type = ResourceService.class)
857 protected ResourceService resourceService;
858 @BeanReference(type = ResourcePersistence.class)
859 protected ResourcePersistence resourcePersistence;
860 @BeanReference(type = ResourceFinder.class)
861 protected ResourceFinder resourceFinder;
862 @BeanReference(type = UserLocalService.class)
863 protected UserLocalService userLocalService;
864 @BeanReference(type = UserService.class)
865 protected UserService userService;
866 @BeanReference(type = UserPersistence.class)
867 protected UserPersistence userPersistence;
868 @BeanReference(type = UserFinder.class)
869 protected UserFinder userFinder;
870 @BeanReference(type = AssetEntryLocalService.class)
871 protected AssetEntryLocalService assetEntryLocalService;
872 @BeanReference(type = AssetEntryService.class)
873 protected AssetEntryService assetEntryService;
874 @BeanReference(type = AssetEntryPersistence.class)
875 protected AssetEntryPersistence assetEntryPersistence;
876 @BeanReference(type = AssetEntryFinder.class)
877 protected AssetEntryFinder assetEntryFinder;
878 @BeanReference(type = AssetTagLocalService.class)
879 protected AssetTagLocalService assetTagLocalService;
880 @BeanReference(type = AssetTagService.class)
881 protected AssetTagService assetTagService;
882 @BeanReference(type = AssetTagPersistence.class)
883 protected AssetTagPersistence assetTagPersistence;
884 @BeanReference(type = AssetTagFinder.class)
885 protected AssetTagFinder assetTagFinder;
886 @BeanReference(type = ExpandoValueLocalService.class)
887 protected ExpandoValueLocalService expandoValueLocalService;
888 @BeanReference(type = ExpandoValueService.class)
889 protected ExpandoValueService expandoValueService;
890 @BeanReference(type = ExpandoValuePersistence.class)
891 protected ExpandoValuePersistence expandoValuePersistence;
892 @BeanReference(type = SocialActivityLocalService.class)
893 protected SocialActivityLocalService socialActivityLocalService;
894 @BeanReference(type = SocialActivityPersistence.class)
895 protected SocialActivityPersistence socialActivityPersistence;
896 @BeanReference(type = SocialActivityFinder.class)
897 protected SocialActivityFinder socialActivityFinder;
898 }