001
014
015 package com.liferay.portlet.calendar.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class CalEventServiceWrapper implements CalEventService,
029 ServiceWrapper<CalEventService> {
030 public CalEventServiceWrapper(CalEventService calEventService) {
031 _calEventService = calEventService;
032 }
033
034
039 public java.lang.String getBeanIdentifier() {
040 return _calEventService.getBeanIdentifier();
041 }
042
043
048 public void setBeanIdentifier(java.lang.String beanIdentifier) {
049 _calEventService.setBeanIdentifier(beanIdentifier);
050 }
051
052 public com.liferay.portlet.calendar.model.CalEvent addEvent(
053 java.lang.String title, java.lang.String description,
054 java.lang.String location, int startDateMonth, int startDateDay,
055 int startDateYear, int startDateHour, int startDateMinute,
056 int durationHour, int durationMinute, boolean allDay,
057 boolean timeZoneSensitive, java.lang.String type, boolean repeating,
058 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
059 int firstReminder, int secondReminder,
060 com.liferay.portal.service.ServiceContext serviceContext)
061 throws com.liferay.portal.kernel.exception.PortalException,
062 com.liferay.portal.kernel.exception.SystemException {
063 return _calEventService.addEvent(title, description, location,
064 startDateMonth, startDateDay, startDateYear, startDateHour,
065 startDateMinute, durationHour, durationMinute, allDay,
066 timeZoneSensitive, type, repeating, recurrence, remindBy,
067 firstReminder, secondReminder, serviceContext);
068 }
069
070
075 public com.liferay.portlet.calendar.model.CalEvent addEvent(
076 java.lang.String title, java.lang.String description,
077 java.lang.String location, int startDateMonth, int startDateDay,
078 int startDateYear, int startDateHour, int startDateMinute,
079 int endDateMonth, int endDateDay, int endDateYear, int durationHour,
080 int durationMinute, boolean allDay, boolean timeZoneSensitive,
081 java.lang.String type, boolean repeating,
082 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
083 int firstReminder, int secondReminder,
084 com.liferay.portal.service.ServiceContext serviceContext)
085 throws com.liferay.portal.kernel.exception.PortalException,
086 com.liferay.portal.kernel.exception.SystemException {
087 return _calEventService.addEvent(title, description, location,
088 startDateMonth, startDateDay, startDateYear, startDateHour,
089 startDateMinute, endDateMonth, endDateDay, endDateYear,
090 durationHour, durationMinute, allDay, timeZoneSensitive, type,
091 repeating, recurrence, remindBy, firstReminder, secondReminder,
092 serviceContext);
093 }
094
095 public void deleteEvent(long eventId)
096 throws com.liferay.portal.kernel.exception.PortalException,
097 com.liferay.portal.kernel.exception.SystemException {
098 _calEventService.deleteEvent(eventId);
099 }
100
101 public java.io.File exportEvent(long eventId)
102 throws com.liferay.portal.kernel.exception.PortalException,
103 com.liferay.portal.kernel.exception.SystemException {
104 return _calEventService.exportEvent(eventId);
105 }
106
107 public java.io.File exportEvents(
108 java.util.List<com.liferay.portlet.calendar.model.CalEvent> events,
109 java.lang.String fileName)
110 throws com.liferay.portal.kernel.exception.PortalException,
111 com.liferay.portal.kernel.exception.SystemException {
112 return _calEventService.exportEvents(events, fileName);
113 }
114
115 public java.io.File exportGroupEvents(long groupId,
116 java.lang.String fileName)
117 throws com.liferay.portal.kernel.exception.PortalException,
118 com.liferay.portal.kernel.exception.SystemException {
119 return _calEventService.exportGroupEvents(groupId, fileName);
120 }
121
122 public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
123 throws com.liferay.portal.kernel.exception.PortalException,
124 com.liferay.portal.kernel.exception.SystemException {
125 return _calEventService.getEvent(eventId);
126 }
127
128 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
129 long groupId, java.util.Calendar cal, java.lang.String type)
130 throws com.liferay.portal.kernel.exception.PortalException,
131 com.liferay.portal.kernel.exception.SystemException {
132 return _calEventService.getEvents(groupId, cal, type);
133 }
134
135 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
136 long groupId, java.util.Calendar cal, java.lang.String[] types)
137 throws com.liferay.portal.kernel.exception.PortalException,
138 com.liferay.portal.kernel.exception.SystemException {
139 return _calEventService.getEvents(groupId, cal, types);
140 }
141
142 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
143 long groupId, java.lang.String type, int start, int end)
144 throws com.liferay.portal.kernel.exception.SystemException {
145 return _calEventService.getEvents(groupId, type, start, end);
146 }
147
148 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
149 long groupId, java.lang.String[] types, int start, int end)
150 throws com.liferay.portal.kernel.exception.SystemException {
151 return _calEventService.getEvents(groupId, types, start, end);
152 }
153
154 public int getEventsCount(long groupId, java.lang.String type)
155 throws com.liferay.portal.kernel.exception.SystemException {
156 return _calEventService.getEventsCount(groupId, type);
157 }
158
159 public int getEventsCount(long groupId, java.lang.String[] types)
160 throws com.liferay.portal.kernel.exception.SystemException {
161 return _calEventService.getEventsCount(groupId, types);
162 }
163
164 public boolean hasEvents(long groupId, java.util.Calendar cal)
165 throws com.liferay.portal.kernel.exception.PortalException,
166 com.liferay.portal.kernel.exception.SystemException {
167 return _calEventService.hasEvents(groupId, cal);
168 }
169
170 public boolean hasEvents(long groupId, java.util.Calendar cal,
171 java.lang.String type)
172 throws com.liferay.portal.kernel.exception.PortalException,
173 com.liferay.portal.kernel.exception.SystemException {
174 return _calEventService.hasEvents(groupId, cal, type);
175 }
176
177 public boolean hasEvents(long groupId, java.util.Calendar cal,
178 java.lang.String[] types)
179 throws com.liferay.portal.kernel.exception.PortalException,
180 com.liferay.portal.kernel.exception.SystemException {
181 return _calEventService.hasEvents(groupId, cal, types);
182 }
183
184 public void importICal4j(long groupId, java.io.InputStream inputStream)
185 throws com.liferay.portal.kernel.exception.PortalException,
186 com.liferay.portal.kernel.exception.SystemException {
187 _calEventService.importICal4j(groupId, inputStream);
188 }
189
190 public com.liferay.portlet.calendar.model.CalEvent updateEvent(
191 long eventId, java.lang.String title, java.lang.String description,
192 java.lang.String location, int startDateMonth, int startDateDay,
193 int startDateYear, int startDateHour, int startDateMinute,
194 int durationHour, int durationMinute, boolean allDay,
195 boolean timeZoneSensitive, java.lang.String type, boolean repeating,
196 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
197 int firstReminder, int secondReminder,
198 com.liferay.portal.service.ServiceContext serviceContext)
199 throws com.liferay.portal.kernel.exception.PortalException,
200 com.liferay.portal.kernel.exception.SystemException {
201 return _calEventService.updateEvent(eventId, title, description,
202 location, startDateMonth, startDateDay, startDateYear,
203 startDateHour, startDateMinute, durationHour, durationMinute,
204 allDay, timeZoneSensitive, type, repeating, recurrence, remindBy,
205 firstReminder, secondReminder, serviceContext);
206 }
207
208
213 public com.liferay.portlet.calendar.model.CalEvent updateEvent(
214 long eventId, java.lang.String title, java.lang.String description,
215 java.lang.String location, int startDateMonth, int startDateDay,
216 int startDateYear, int startDateHour, int startDateMinute,
217 int endDateMonth, int endDateDay, int endDateYear, int durationHour,
218 int durationMinute, boolean allDay, boolean timeZoneSensitive,
219 java.lang.String type, boolean repeating,
220 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
221 int firstReminder, int secondReminder,
222 com.liferay.portal.service.ServiceContext serviceContext)
223 throws com.liferay.portal.kernel.exception.PortalException,
224 com.liferay.portal.kernel.exception.SystemException {
225 return _calEventService.updateEvent(eventId, title, description,
226 location, startDateMonth, startDateDay, startDateYear,
227 startDateHour, startDateMinute, endDateMonth, endDateDay,
228 endDateYear, durationHour, durationMinute, allDay,
229 timeZoneSensitive, type, repeating, recurrence, remindBy,
230 firstReminder, secondReminder, serviceContext);
231 }
232
233
236 public CalEventService getWrappedCalEventService() {
237 return _calEventService;
238 }
239
240
243 public void setWrappedCalEventService(CalEventService calEventService) {
244 _calEventService = calEventService;
245 }
246
247 public CalEventService getWrappedService() {
248 return _calEventService;
249 }
250
251 public void setWrappedService(CalEventService calEventService) {
252 _calEventService = calEventService;
253 }
254
255 private CalEventService _calEventService;
256 }