1
14
15 package com.liferay.portlet.calendar.service;
16
17
33 public class CalEventServiceWrapper implements CalEventService {
34 public CalEventServiceWrapper(CalEventService calEventService) {
35 _calEventService = calEventService;
36 }
37
38 public com.liferay.portlet.calendar.model.CalEvent addEvent(
39 java.lang.String title, java.lang.String description,
40 int startDateMonth, int startDateDay, int startDateYear,
41 int startDateHour, int startDateMinute, int endDateMonth,
42 int endDateDay, int endDateYear, int durationHour, int durationMinute,
43 boolean allDay, boolean timeZoneSensitive, java.lang.String type,
44 boolean repeating,
45 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
46 int firstReminder, int secondReminder,
47 com.liferay.portal.service.ServiceContext serviceContext)
48 throws com.liferay.portal.PortalException,
49 com.liferay.portal.SystemException {
50 return _calEventService.addEvent(title, description, startDateMonth,
51 startDateDay, startDateYear, startDateHour, startDateMinute,
52 endDateMonth, endDateDay, endDateYear, durationHour,
53 durationMinute, allDay, timeZoneSensitive, type, repeating,
54 recurrence, remindBy, firstReminder, secondReminder, serviceContext);
55 }
56
57 public void deleteEvent(long eventId)
58 throws com.liferay.portal.PortalException,
59 com.liferay.portal.SystemException {
60 _calEventService.deleteEvent(eventId);
61 }
62
63 public java.io.File exportEvent(long eventId)
64 throws com.liferay.portal.PortalException,
65 com.liferay.portal.SystemException {
66 return _calEventService.exportEvent(eventId);
67 }
68
69 public java.io.File exportGroupEvents(long groupId,
70 java.lang.String fileName)
71 throws com.liferay.portal.PortalException,
72 com.liferay.portal.SystemException {
73 return _calEventService.exportGroupEvents(groupId, fileName);
74 }
75
76 public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
77 throws com.liferay.portal.PortalException,
78 com.liferay.portal.SystemException {
79 return _calEventService.getEvent(eventId);
80 }
81
82 public void importICal4j(long groupId, java.io.File file)
83 throws com.liferay.portal.PortalException,
84 com.liferay.portal.SystemException {
85 _calEventService.importICal4j(groupId, file);
86 }
87
88 public com.liferay.portlet.calendar.model.CalEvent updateEvent(
89 long eventId, java.lang.String title, java.lang.String description,
90 int startDateMonth, int startDateDay, int startDateYear,
91 int startDateHour, int startDateMinute, int endDateMonth,
92 int endDateDay, int endDateYear, int durationHour, int durationMinute,
93 boolean allDay, boolean timeZoneSensitive, java.lang.String type,
94 boolean repeating,
95 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
96 int firstReminder, int secondReminder,
97 com.liferay.portal.service.ServiceContext serviceContext)
98 throws com.liferay.portal.PortalException,
99 com.liferay.portal.SystemException {
100 return _calEventService.updateEvent(eventId, title, description,
101 startDateMonth, startDateDay, startDateYear, startDateHour,
102 startDateMinute, endDateMonth, endDateDay, endDateYear,
103 durationHour, durationMinute, allDay, timeZoneSensitive, type,
104 repeating, recurrence, remindBy, firstReminder, secondReminder,
105 serviceContext);
106 }
107
108 public CalEventService getWrappedCalEventService() {
109 return _calEventService;
110 }
111
112 private CalEventService _calEventService;
113 }