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.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
087 public abstract class CalEventServiceBaseImpl extends BaseServiceImpl
088 implements CalEventService, IdentifiableBean {
089
094
095
100 public CalEventLocalService getCalEventLocalService() {
101 return calEventLocalService;
102 }
103
104
109 public void setCalEventLocalService(
110 CalEventLocalService calEventLocalService) {
111 this.calEventLocalService = calEventLocalService;
112 }
113
114
119 public CalEventService getCalEventService() {
120 return calEventService;
121 }
122
123
128 public void setCalEventService(CalEventService calEventService) {
129 this.calEventService = calEventService;
130 }
131
132
137 public CalEventPersistence getCalEventPersistence() {
138 return calEventPersistence;
139 }
140
141
146 public void setCalEventPersistence(CalEventPersistence calEventPersistence) {
147 this.calEventPersistence = calEventPersistence;
148 }
149
150
155 public CalEventFinder getCalEventFinder() {
156 return calEventFinder;
157 }
158
159
164 public void setCalEventFinder(CalEventFinder calEventFinder) {
165 this.calEventFinder = calEventFinder;
166 }
167
168
173 public CounterLocalService getCounterLocalService() {
174 return counterLocalService;
175 }
176
177
182 public void setCounterLocalService(CounterLocalService counterLocalService) {
183 this.counterLocalService = counterLocalService;
184 }
185
186
191 public MailService getMailService() {
192 return mailService;
193 }
194
195
200 public void setMailService(MailService mailService) {
201 this.mailService = mailService;
202 }
203
204
209 public CompanyLocalService getCompanyLocalService() {
210 return companyLocalService;
211 }
212
213
218 public void setCompanyLocalService(CompanyLocalService companyLocalService) {
219 this.companyLocalService = companyLocalService;
220 }
221
222
227 public CompanyService getCompanyService() {
228 return companyService;
229 }
230
231
236 public void setCompanyService(CompanyService companyService) {
237 this.companyService = companyService;
238 }
239
240
245 public CompanyPersistence getCompanyPersistence() {
246 return companyPersistence;
247 }
248
249
254 public void setCompanyPersistence(CompanyPersistence companyPersistence) {
255 this.companyPersistence = companyPersistence;
256 }
257
258
263 public GroupLocalService getGroupLocalService() {
264 return groupLocalService;
265 }
266
267
272 public void setGroupLocalService(GroupLocalService groupLocalService) {
273 this.groupLocalService = groupLocalService;
274 }
275
276
281 public GroupService getGroupService() {
282 return groupService;
283 }
284
285
290 public void setGroupService(GroupService groupService) {
291 this.groupService = groupService;
292 }
293
294
299 public GroupPersistence getGroupPersistence() {
300 return groupPersistence;
301 }
302
303
308 public void setGroupPersistence(GroupPersistence groupPersistence) {
309 this.groupPersistence = groupPersistence;
310 }
311
312
317 public GroupFinder getGroupFinder() {
318 return groupFinder;
319 }
320
321
326 public void setGroupFinder(GroupFinder groupFinder) {
327 this.groupFinder = groupFinder;
328 }
329
330
335 public PortletPreferencesLocalService getPortletPreferencesLocalService() {
336 return portletPreferencesLocalService;
337 }
338
339
344 public void setPortletPreferencesLocalService(
345 PortletPreferencesLocalService portletPreferencesLocalService) {
346 this.portletPreferencesLocalService = portletPreferencesLocalService;
347 }
348
349
354 public PortletPreferencesService getPortletPreferencesService() {
355 return portletPreferencesService;
356 }
357
358
363 public void setPortletPreferencesService(
364 PortletPreferencesService portletPreferencesService) {
365 this.portletPreferencesService = portletPreferencesService;
366 }
367
368
373 public PortletPreferencesPersistence getPortletPreferencesPersistence() {
374 return portletPreferencesPersistence;
375 }
376
377
382 public void setPortletPreferencesPersistence(
383 PortletPreferencesPersistence portletPreferencesPersistence) {
384 this.portletPreferencesPersistence = portletPreferencesPersistence;
385 }
386
387
392 public PortletPreferencesFinder getPortletPreferencesFinder() {
393 return portletPreferencesFinder;
394 }
395
396
401 public void setPortletPreferencesFinder(
402 PortletPreferencesFinder portletPreferencesFinder) {
403 this.portletPreferencesFinder = portletPreferencesFinder;
404 }
405
406
411 public ResourceLocalService getResourceLocalService() {
412 return resourceLocalService;
413 }
414
415
420 public void setResourceLocalService(
421 ResourceLocalService resourceLocalService) {
422 this.resourceLocalService = resourceLocalService;
423 }
424
425
430 public SubscriptionLocalService getSubscriptionLocalService() {
431 return subscriptionLocalService;
432 }
433
434
439 public void setSubscriptionLocalService(
440 SubscriptionLocalService subscriptionLocalService) {
441 this.subscriptionLocalService = subscriptionLocalService;
442 }
443
444
449 public SubscriptionPersistence getSubscriptionPersistence() {
450 return subscriptionPersistence;
451 }
452
453
458 public void setSubscriptionPersistence(
459 SubscriptionPersistence subscriptionPersistence) {
460 this.subscriptionPersistence = subscriptionPersistence;
461 }
462
463
468 public UserLocalService getUserLocalService() {
469 return userLocalService;
470 }
471
472
477 public void setUserLocalService(UserLocalService userLocalService) {
478 this.userLocalService = userLocalService;
479 }
480
481
486 public UserService getUserService() {
487 return userService;
488 }
489
490
495 public void setUserService(UserService userService) {
496 this.userService = userService;
497 }
498
499
504 public UserPersistence getUserPersistence() {
505 return userPersistence;
506 }
507
508
513 public void setUserPersistence(UserPersistence userPersistence) {
514 this.userPersistence = userPersistence;
515 }
516
517
522 public UserFinder getUserFinder() {
523 return userFinder;
524 }
525
526
531 public void setUserFinder(UserFinder userFinder) {
532 this.userFinder = userFinder;
533 }
534
535
540 public AssetEntryLocalService getAssetEntryLocalService() {
541 return assetEntryLocalService;
542 }
543
544
549 public void setAssetEntryLocalService(
550 AssetEntryLocalService assetEntryLocalService) {
551 this.assetEntryLocalService = assetEntryLocalService;
552 }
553
554
559 public AssetEntryService getAssetEntryService() {
560 return assetEntryService;
561 }
562
563
568 public void setAssetEntryService(AssetEntryService assetEntryService) {
569 this.assetEntryService = assetEntryService;
570 }
571
572
577 public AssetEntryPersistence getAssetEntryPersistence() {
578 return assetEntryPersistence;
579 }
580
581
586 public void setAssetEntryPersistence(
587 AssetEntryPersistence assetEntryPersistence) {
588 this.assetEntryPersistence = assetEntryPersistence;
589 }
590
591
596 public AssetEntryFinder getAssetEntryFinder() {
597 return assetEntryFinder;
598 }
599
600
605 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
606 this.assetEntryFinder = assetEntryFinder;
607 }
608
609
614 public AssetLinkLocalService getAssetLinkLocalService() {
615 return assetLinkLocalService;
616 }
617
618
623 public void setAssetLinkLocalService(
624 AssetLinkLocalService assetLinkLocalService) {
625 this.assetLinkLocalService = assetLinkLocalService;
626 }
627
628
633 public AssetLinkPersistence getAssetLinkPersistence() {
634 return assetLinkPersistence;
635 }
636
637
642 public void setAssetLinkPersistence(
643 AssetLinkPersistence assetLinkPersistence) {
644 this.assetLinkPersistence = assetLinkPersistence;
645 }
646
647
652 public AssetLinkFinder getAssetLinkFinder() {
653 return assetLinkFinder;
654 }
655
656
661 public void setAssetLinkFinder(AssetLinkFinder assetLinkFinder) {
662 this.assetLinkFinder = assetLinkFinder;
663 }
664
665
670 public AssetTagLocalService getAssetTagLocalService() {
671 return assetTagLocalService;
672 }
673
674
679 public void setAssetTagLocalService(
680 AssetTagLocalService assetTagLocalService) {
681 this.assetTagLocalService = assetTagLocalService;
682 }
683
684
689 public AssetTagService getAssetTagService() {
690 return assetTagService;
691 }
692
693
698 public void setAssetTagService(AssetTagService assetTagService) {
699 this.assetTagService = assetTagService;
700 }
701
702
707 public AssetTagPersistence getAssetTagPersistence() {
708 return assetTagPersistence;
709 }
710
711
716 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
717 this.assetTagPersistence = assetTagPersistence;
718 }
719
720
725 public AssetTagFinder getAssetTagFinder() {
726 return assetTagFinder;
727 }
728
729
734 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
735 this.assetTagFinder = assetTagFinder;
736 }
737
738
743 public ExpandoValueLocalService getExpandoValueLocalService() {
744 return expandoValueLocalService;
745 }
746
747
752 public void setExpandoValueLocalService(
753 ExpandoValueLocalService expandoValueLocalService) {
754 this.expandoValueLocalService = expandoValueLocalService;
755 }
756
757
762 public ExpandoValueService getExpandoValueService() {
763 return expandoValueService;
764 }
765
766
771 public void setExpandoValueService(ExpandoValueService expandoValueService) {
772 this.expandoValueService = expandoValueService;
773 }
774
775
780 public ExpandoValuePersistence getExpandoValuePersistence() {
781 return expandoValuePersistence;
782 }
783
784
789 public void setExpandoValuePersistence(
790 ExpandoValuePersistence expandoValuePersistence) {
791 this.expandoValuePersistence = expandoValuePersistence;
792 }
793
794
799 public MBMessageLocalService getMBMessageLocalService() {
800 return mbMessageLocalService;
801 }
802
803
808 public void setMBMessageLocalService(
809 MBMessageLocalService mbMessageLocalService) {
810 this.mbMessageLocalService = mbMessageLocalService;
811 }
812
813
818 public MBMessageService getMBMessageService() {
819 return mbMessageService;
820 }
821
822
827 public void setMBMessageService(MBMessageService mbMessageService) {
828 this.mbMessageService = mbMessageService;
829 }
830
831
836 public MBMessagePersistence getMBMessagePersistence() {
837 return mbMessagePersistence;
838 }
839
840
845 public void setMBMessagePersistence(
846 MBMessagePersistence mbMessagePersistence) {
847 this.mbMessagePersistence = mbMessagePersistence;
848 }
849
850
855 public MBMessageFinder getMBMessageFinder() {
856 return mbMessageFinder;
857 }
858
859
864 public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
865 this.mbMessageFinder = mbMessageFinder;
866 }
867
868
873 public SocialActivityLocalService getSocialActivityLocalService() {
874 return socialActivityLocalService;
875 }
876
877
882 public void setSocialActivityLocalService(
883 SocialActivityLocalService socialActivityLocalService) {
884 this.socialActivityLocalService = socialActivityLocalService;
885 }
886
887
892 public SocialActivityPersistence getSocialActivityPersistence() {
893 return socialActivityPersistence;
894 }
895
896
901 public void setSocialActivityPersistence(
902 SocialActivityPersistence socialActivityPersistence) {
903 this.socialActivityPersistence = socialActivityPersistence;
904 }
905
906
911 public SocialActivityFinder getSocialActivityFinder() {
912 return socialActivityFinder;
913 }
914
915
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
936 public String getBeanIdentifier() {
937 return _beanIdentifier;
938 }
939
940
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
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 }