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.bean.BeanReference;
022 import com.liferay.portal.kernel.bean.IdentifiableBean;
023 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
024 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
025 import com.liferay.portal.kernel.exception.SystemException;
026 import com.liferay.portal.service.BaseServiceImpl;
027 import com.liferay.portal.service.CompanyLocalService;
028 import com.liferay.portal.service.CompanyService;
029 import com.liferay.portal.service.GroupLocalService;
030 import com.liferay.portal.service.GroupService;
031 import com.liferay.portal.service.PortletPreferencesLocalService;
032 import com.liferay.portal.service.PortletPreferencesService;
033 import com.liferay.portal.service.ResourceLocalService;
034 import com.liferay.portal.service.ResourceService;
035 import com.liferay.portal.service.SubscriptionLocalService;
036 import com.liferay.portal.service.UserLocalService;
037 import com.liferay.portal.service.UserService;
038 import com.liferay.portal.service.persistence.CompanyPersistence;
039 import com.liferay.portal.service.persistence.GroupFinder;
040 import com.liferay.portal.service.persistence.GroupPersistence;
041 import com.liferay.portal.service.persistence.PortletPreferencesFinder;
042 import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
043 import com.liferay.portal.service.persistence.ResourceFinder;
044 import com.liferay.portal.service.persistence.ResourcePersistence;
045 import com.liferay.portal.service.persistence.SubscriptionPersistence;
046 import com.liferay.portal.service.persistence.UserFinder;
047 import com.liferay.portal.service.persistence.UserPersistence;
048
049 import com.liferay.portlet.asset.service.AssetEntryLocalService;
050 import com.liferay.portlet.asset.service.AssetEntryService;
051 import com.liferay.portlet.asset.service.AssetLinkLocalService;
052 import com.liferay.portlet.asset.service.AssetTagLocalService;
053 import com.liferay.portlet.asset.service.AssetTagService;
054 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
055 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
056 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
057 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
058 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
059 import com.liferay.portlet.calendar.model.CalEvent;
060 import com.liferay.portlet.calendar.service.CalEventLocalService;
061 import com.liferay.portlet.calendar.service.CalEventService;
062 import com.liferay.portlet.calendar.service.persistence.CalEventFinder;
063 import com.liferay.portlet.calendar.service.persistence.CalEventPersistence;
064 import com.liferay.portlet.expando.service.ExpandoValueLocalService;
065 import com.liferay.portlet.expando.service.ExpandoValueService;
066 import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
067 import com.liferay.portlet.messageboards.service.MBMessageLocalService;
068 import com.liferay.portlet.messageboards.service.MBMessageService;
069 import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
070 import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
071 import com.liferay.portlet.social.service.SocialActivityLocalService;
072 import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
073 import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
074
075 import javax.sql.DataSource;
076
077
089 public abstract class CalEventServiceBaseImpl extends BaseServiceImpl
090 implements CalEventService, IdentifiableBean {
091
096
097
102 public CalEventLocalService getCalEventLocalService() {
103 return calEventLocalService;
104 }
105
106
111 public void setCalEventLocalService(
112 CalEventLocalService calEventLocalService) {
113 this.calEventLocalService = calEventLocalService;
114 }
115
116
121 public CalEventService getCalEventService() {
122 return calEventService;
123 }
124
125
130 public void setCalEventService(CalEventService calEventService) {
131 this.calEventService = calEventService;
132 }
133
134
139 public CalEventPersistence getCalEventPersistence() {
140 return calEventPersistence;
141 }
142
143
148 public void setCalEventPersistence(CalEventPersistence calEventPersistence) {
149 this.calEventPersistence = calEventPersistence;
150 }
151
152
157 public CalEventFinder getCalEventFinder() {
158 return calEventFinder;
159 }
160
161
166 public void setCalEventFinder(CalEventFinder calEventFinder) {
167 this.calEventFinder = calEventFinder;
168 }
169
170
175 public CounterLocalService getCounterLocalService() {
176 return counterLocalService;
177 }
178
179
184 public void setCounterLocalService(CounterLocalService counterLocalService) {
185 this.counterLocalService = counterLocalService;
186 }
187
188
193 public MailService getMailService() {
194 return mailService;
195 }
196
197
202 public void setMailService(MailService mailService) {
203 this.mailService = mailService;
204 }
205
206
211 public CompanyLocalService getCompanyLocalService() {
212 return companyLocalService;
213 }
214
215
220 public void setCompanyLocalService(CompanyLocalService companyLocalService) {
221 this.companyLocalService = companyLocalService;
222 }
223
224
229 public CompanyService getCompanyService() {
230 return companyService;
231 }
232
233
238 public void setCompanyService(CompanyService companyService) {
239 this.companyService = companyService;
240 }
241
242
247 public CompanyPersistence getCompanyPersistence() {
248 return companyPersistence;
249 }
250
251
256 public void setCompanyPersistence(CompanyPersistence companyPersistence) {
257 this.companyPersistence = companyPersistence;
258 }
259
260
265 public GroupLocalService getGroupLocalService() {
266 return groupLocalService;
267 }
268
269
274 public void setGroupLocalService(GroupLocalService groupLocalService) {
275 this.groupLocalService = groupLocalService;
276 }
277
278
283 public GroupService getGroupService() {
284 return groupService;
285 }
286
287
292 public void setGroupService(GroupService groupService) {
293 this.groupService = groupService;
294 }
295
296
301 public GroupPersistence getGroupPersistence() {
302 return groupPersistence;
303 }
304
305
310 public void setGroupPersistence(GroupPersistence groupPersistence) {
311 this.groupPersistence = groupPersistence;
312 }
313
314
319 public GroupFinder getGroupFinder() {
320 return groupFinder;
321 }
322
323
328 public void setGroupFinder(GroupFinder groupFinder) {
329 this.groupFinder = groupFinder;
330 }
331
332
337 public PortletPreferencesLocalService getPortletPreferencesLocalService() {
338 return portletPreferencesLocalService;
339 }
340
341
346 public void setPortletPreferencesLocalService(
347 PortletPreferencesLocalService portletPreferencesLocalService) {
348 this.portletPreferencesLocalService = portletPreferencesLocalService;
349 }
350
351
356 public PortletPreferencesService getPortletPreferencesService() {
357 return portletPreferencesService;
358 }
359
360
365 public void setPortletPreferencesService(
366 PortletPreferencesService portletPreferencesService) {
367 this.portletPreferencesService = portletPreferencesService;
368 }
369
370
375 public PortletPreferencesPersistence getPortletPreferencesPersistence() {
376 return portletPreferencesPersistence;
377 }
378
379
384 public void setPortletPreferencesPersistence(
385 PortletPreferencesPersistence portletPreferencesPersistence) {
386 this.portletPreferencesPersistence = portletPreferencesPersistence;
387 }
388
389
394 public PortletPreferencesFinder getPortletPreferencesFinder() {
395 return portletPreferencesFinder;
396 }
397
398
403 public void setPortletPreferencesFinder(
404 PortletPreferencesFinder portletPreferencesFinder) {
405 this.portletPreferencesFinder = portletPreferencesFinder;
406 }
407
408
413 public ResourceLocalService getResourceLocalService() {
414 return resourceLocalService;
415 }
416
417
422 public void setResourceLocalService(
423 ResourceLocalService resourceLocalService) {
424 this.resourceLocalService = resourceLocalService;
425 }
426
427
432 public ResourceService getResourceService() {
433 return resourceService;
434 }
435
436
441 public void setResourceService(ResourceService resourceService) {
442 this.resourceService = resourceService;
443 }
444
445
450 public ResourcePersistence getResourcePersistence() {
451 return resourcePersistence;
452 }
453
454
459 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
460 this.resourcePersistence = resourcePersistence;
461 }
462
463
468 public ResourceFinder getResourceFinder() {
469 return resourceFinder;
470 }
471
472
477 public void setResourceFinder(ResourceFinder resourceFinder) {
478 this.resourceFinder = resourceFinder;
479 }
480
481
486 public SubscriptionLocalService getSubscriptionLocalService() {
487 return subscriptionLocalService;
488 }
489
490
495 public void setSubscriptionLocalService(
496 SubscriptionLocalService subscriptionLocalService) {
497 this.subscriptionLocalService = subscriptionLocalService;
498 }
499
500
505 public SubscriptionPersistence getSubscriptionPersistence() {
506 return subscriptionPersistence;
507 }
508
509
514 public void setSubscriptionPersistence(
515 SubscriptionPersistence subscriptionPersistence) {
516 this.subscriptionPersistence = subscriptionPersistence;
517 }
518
519
524 public UserLocalService getUserLocalService() {
525 return userLocalService;
526 }
527
528
533 public void setUserLocalService(UserLocalService userLocalService) {
534 this.userLocalService = userLocalService;
535 }
536
537
542 public UserService getUserService() {
543 return userService;
544 }
545
546
551 public void setUserService(UserService userService) {
552 this.userService = userService;
553 }
554
555
560 public UserPersistence getUserPersistence() {
561 return userPersistence;
562 }
563
564
569 public void setUserPersistence(UserPersistence userPersistence) {
570 this.userPersistence = userPersistence;
571 }
572
573
578 public UserFinder getUserFinder() {
579 return userFinder;
580 }
581
582
587 public void setUserFinder(UserFinder userFinder) {
588 this.userFinder = userFinder;
589 }
590
591
596 public AssetEntryLocalService getAssetEntryLocalService() {
597 return assetEntryLocalService;
598 }
599
600
605 public void setAssetEntryLocalService(
606 AssetEntryLocalService assetEntryLocalService) {
607 this.assetEntryLocalService = assetEntryLocalService;
608 }
609
610
615 public AssetEntryService getAssetEntryService() {
616 return assetEntryService;
617 }
618
619
624 public void setAssetEntryService(AssetEntryService assetEntryService) {
625 this.assetEntryService = assetEntryService;
626 }
627
628
633 public AssetEntryPersistence getAssetEntryPersistence() {
634 return assetEntryPersistence;
635 }
636
637
642 public void setAssetEntryPersistence(
643 AssetEntryPersistence assetEntryPersistence) {
644 this.assetEntryPersistence = assetEntryPersistence;
645 }
646
647
652 public AssetEntryFinder getAssetEntryFinder() {
653 return assetEntryFinder;
654 }
655
656
661 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
662 this.assetEntryFinder = assetEntryFinder;
663 }
664
665
670 public AssetLinkLocalService getAssetLinkLocalService() {
671 return assetLinkLocalService;
672 }
673
674
679 public void setAssetLinkLocalService(
680 AssetLinkLocalService assetLinkLocalService) {
681 this.assetLinkLocalService = assetLinkLocalService;
682 }
683
684
689 public AssetLinkPersistence getAssetLinkPersistence() {
690 return assetLinkPersistence;
691 }
692
693
698 public void setAssetLinkPersistence(
699 AssetLinkPersistence assetLinkPersistence) {
700 this.assetLinkPersistence = assetLinkPersistence;
701 }
702
703
708 public AssetTagLocalService getAssetTagLocalService() {
709 return assetTagLocalService;
710 }
711
712
717 public void setAssetTagLocalService(
718 AssetTagLocalService assetTagLocalService) {
719 this.assetTagLocalService = assetTagLocalService;
720 }
721
722
727 public AssetTagService getAssetTagService() {
728 return assetTagService;
729 }
730
731
736 public void setAssetTagService(AssetTagService assetTagService) {
737 this.assetTagService = assetTagService;
738 }
739
740
745 public AssetTagPersistence getAssetTagPersistence() {
746 return assetTagPersistence;
747 }
748
749
754 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
755 this.assetTagPersistence = assetTagPersistence;
756 }
757
758
763 public AssetTagFinder getAssetTagFinder() {
764 return assetTagFinder;
765 }
766
767
772 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
773 this.assetTagFinder = assetTagFinder;
774 }
775
776
781 public ExpandoValueLocalService getExpandoValueLocalService() {
782 return expandoValueLocalService;
783 }
784
785
790 public void setExpandoValueLocalService(
791 ExpandoValueLocalService expandoValueLocalService) {
792 this.expandoValueLocalService = expandoValueLocalService;
793 }
794
795
800 public ExpandoValueService getExpandoValueService() {
801 return expandoValueService;
802 }
803
804
809 public void setExpandoValueService(ExpandoValueService expandoValueService) {
810 this.expandoValueService = expandoValueService;
811 }
812
813
818 public ExpandoValuePersistence getExpandoValuePersistence() {
819 return expandoValuePersistence;
820 }
821
822
827 public void setExpandoValuePersistence(
828 ExpandoValuePersistence expandoValuePersistence) {
829 this.expandoValuePersistence = expandoValuePersistence;
830 }
831
832
837 public MBMessageLocalService getMBMessageLocalService() {
838 return mbMessageLocalService;
839 }
840
841
846 public void setMBMessageLocalService(
847 MBMessageLocalService mbMessageLocalService) {
848 this.mbMessageLocalService = mbMessageLocalService;
849 }
850
851
856 public MBMessageService getMBMessageService() {
857 return mbMessageService;
858 }
859
860
865 public void setMBMessageService(MBMessageService mbMessageService) {
866 this.mbMessageService = mbMessageService;
867 }
868
869
874 public MBMessagePersistence getMBMessagePersistence() {
875 return mbMessagePersistence;
876 }
877
878
883 public void setMBMessagePersistence(
884 MBMessagePersistence mbMessagePersistence) {
885 this.mbMessagePersistence = mbMessagePersistence;
886 }
887
888
893 public MBMessageFinder getMBMessageFinder() {
894 return mbMessageFinder;
895 }
896
897
902 public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
903 this.mbMessageFinder = mbMessageFinder;
904 }
905
906
911 public SocialActivityLocalService getSocialActivityLocalService() {
912 return socialActivityLocalService;
913 }
914
915
920 public void setSocialActivityLocalService(
921 SocialActivityLocalService socialActivityLocalService) {
922 this.socialActivityLocalService = socialActivityLocalService;
923 }
924
925
930 public SocialActivityPersistence getSocialActivityPersistence() {
931 return socialActivityPersistence;
932 }
933
934
939 public void setSocialActivityPersistence(
940 SocialActivityPersistence socialActivityPersistence) {
941 this.socialActivityPersistence = socialActivityPersistence;
942 }
943
944
949 public SocialActivityFinder getSocialActivityFinder() {
950 return socialActivityFinder;
951 }
952
953
958 public void setSocialActivityFinder(
959 SocialActivityFinder socialActivityFinder) {
960 this.socialActivityFinder = socialActivityFinder;
961 }
962
963 public void afterPropertiesSet() {
964 }
965
966 public void destroy() {
967 }
968
969
974 public String getBeanIdentifier() {
975 return _beanIdentifier;
976 }
977
978
983 public void setBeanIdentifier(String beanIdentifier) {
984 _beanIdentifier = beanIdentifier;
985 }
986
987 protected Class<?> getModelClass() {
988 return CalEvent.class;
989 }
990
991 protected String getModelClassName() {
992 return CalEvent.class.getName();
993 }
994
995
1000 protected void runSQL(String sql) throws SystemException {
1001 try {
1002 DataSource dataSource = calEventPersistence.getDataSource();
1003
1004 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1005 sql, new int[0]);
1006
1007 sqlUpdate.update();
1008 }
1009 catch (Exception e) {
1010 throw new SystemException(e);
1011 }
1012 }
1013
1014 @BeanReference(type = CalEventLocalService.class)
1015 protected CalEventLocalService calEventLocalService;
1016 @BeanReference(type = CalEventService.class)
1017 protected CalEventService calEventService;
1018 @BeanReference(type = CalEventPersistence.class)
1019 protected CalEventPersistence calEventPersistence;
1020 @BeanReference(type = CalEventFinder.class)
1021 protected CalEventFinder calEventFinder;
1022 @BeanReference(type = CounterLocalService.class)
1023 protected CounterLocalService counterLocalService;
1024 @BeanReference(type = MailService.class)
1025 protected MailService mailService;
1026 @BeanReference(type = CompanyLocalService.class)
1027 protected CompanyLocalService companyLocalService;
1028 @BeanReference(type = CompanyService.class)
1029 protected CompanyService companyService;
1030 @BeanReference(type = CompanyPersistence.class)
1031 protected CompanyPersistence companyPersistence;
1032 @BeanReference(type = GroupLocalService.class)
1033 protected GroupLocalService groupLocalService;
1034 @BeanReference(type = GroupService.class)
1035 protected GroupService groupService;
1036 @BeanReference(type = GroupPersistence.class)
1037 protected GroupPersistence groupPersistence;
1038 @BeanReference(type = GroupFinder.class)
1039 protected GroupFinder groupFinder;
1040 @BeanReference(type = PortletPreferencesLocalService.class)
1041 protected PortletPreferencesLocalService portletPreferencesLocalService;
1042 @BeanReference(type = PortletPreferencesService.class)
1043 protected PortletPreferencesService portletPreferencesService;
1044 @BeanReference(type = PortletPreferencesPersistence.class)
1045 protected PortletPreferencesPersistence portletPreferencesPersistence;
1046 @BeanReference(type = PortletPreferencesFinder.class)
1047 protected PortletPreferencesFinder portletPreferencesFinder;
1048 @BeanReference(type = ResourceLocalService.class)
1049 protected ResourceLocalService resourceLocalService;
1050 @BeanReference(type = ResourceService.class)
1051 protected ResourceService resourceService;
1052 @BeanReference(type = ResourcePersistence.class)
1053 protected ResourcePersistence resourcePersistence;
1054 @BeanReference(type = ResourceFinder.class)
1055 protected ResourceFinder resourceFinder;
1056 @BeanReference(type = SubscriptionLocalService.class)
1057 protected SubscriptionLocalService subscriptionLocalService;
1058 @BeanReference(type = SubscriptionPersistence.class)
1059 protected SubscriptionPersistence subscriptionPersistence;
1060 @BeanReference(type = UserLocalService.class)
1061 protected UserLocalService userLocalService;
1062 @BeanReference(type = UserService.class)
1063 protected UserService userService;
1064 @BeanReference(type = UserPersistence.class)
1065 protected UserPersistence userPersistence;
1066 @BeanReference(type = UserFinder.class)
1067 protected UserFinder userFinder;
1068 @BeanReference(type = AssetEntryLocalService.class)
1069 protected AssetEntryLocalService assetEntryLocalService;
1070 @BeanReference(type = AssetEntryService.class)
1071 protected AssetEntryService assetEntryService;
1072 @BeanReference(type = AssetEntryPersistence.class)
1073 protected AssetEntryPersistence assetEntryPersistence;
1074 @BeanReference(type = AssetEntryFinder.class)
1075 protected AssetEntryFinder assetEntryFinder;
1076 @BeanReference(type = AssetLinkLocalService.class)
1077 protected AssetLinkLocalService assetLinkLocalService;
1078 @BeanReference(type = AssetLinkPersistence.class)
1079 protected AssetLinkPersistence assetLinkPersistence;
1080 @BeanReference(type = AssetTagLocalService.class)
1081 protected AssetTagLocalService assetTagLocalService;
1082 @BeanReference(type = AssetTagService.class)
1083 protected AssetTagService assetTagService;
1084 @BeanReference(type = AssetTagPersistence.class)
1085 protected AssetTagPersistence assetTagPersistence;
1086 @BeanReference(type = AssetTagFinder.class)
1087 protected AssetTagFinder assetTagFinder;
1088 @BeanReference(type = ExpandoValueLocalService.class)
1089 protected ExpandoValueLocalService expandoValueLocalService;
1090 @BeanReference(type = ExpandoValueService.class)
1091 protected ExpandoValueService expandoValueService;
1092 @BeanReference(type = ExpandoValuePersistence.class)
1093 protected ExpandoValuePersistence expandoValuePersistence;
1094 @BeanReference(type = MBMessageLocalService.class)
1095 protected MBMessageLocalService mbMessageLocalService;
1096 @BeanReference(type = MBMessageService.class)
1097 protected MBMessageService mbMessageService;
1098 @BeanReference(type = MBMessagePersistence.class)
1099 protected MBMessagePersistence mbMessagePersistence;
1100 @BeanReference(type = MBMessageFinder.class)
1101 protected MBMessageFinder mbMessageFinder;
1102 @BeanReference(type = SocialActivityLocalService.class)
1103 protected SocialActivityLocalService socialActivityLocalService;
1104 @BeanReference(type = SocialActivityPersistence.class)
1105 protected SocialActivityPersistence socialActivityPersistence;
1106 @BeanReference(type = SocialActivityFinder.class)
1107 protected SocialActivityFinder socialActivityFinder;
1108 private String _beanIdentifier;
1109 }