001
014
015 package com.liferay.portlet.calendar.service;
016
017
026 public class CalEventLocalServiceWrapper implements CalEventLocalService {
027 public CalEventLocalServiceWrapper(
028 CalEventLocalService calEventLocalService) {
029 _calEventLocalService = calEventLocalService;
030 }
031
032
039 public com.liferay.portlet.calendar.model.CalEvent addCalEvent(
040 com.liferay.portlet.calendar.model.CalEvent calEvent)
041 throws com.liferay.portal.kernel.exception.SystemException {
042 return _calEventLocalService.addCalEvent(calEvent);
043 }
044
045
051 public com.liferay.portlet.calendar.model.CalEvent createCalEvent(
052 long eventId) {
053 return _calEventLocalService.createCalEvent(eventId);
054 }
055
056
063 public void deleteCalEvent(long eventId)
064 throws com.liferay.portal.kernel.exception.PortalException,
065 com.liferay.portal.kernel.exception.SystemException {
066 _calEventLocalService.deleteCalEvent(eventId);
067 }
068
069
075 public void deleteCalEvent(
076 com.liferay.portlet.calendar.model.CalEvent calEvent)
077 throws com.liferay.portal.kernel.exception.SystemException {
078 _calEventLocalService.deleteCalEvent(calEvent);
079 }
080
081
088 @SuppressWarnings("rawtypes")
089 public java.util.List dynamicQuery(
090 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
091 throws com.liferay.portal.kernel.exception.SystemException {
092 return _calEventLocalService.dynamicQuery(dynamicQuery);
093 }
094
095
108 @SuppressWarnings("rawtypes")
109 public java.util.List dynamicQuery(
110 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
111 int end) throws com.liferay.portal.kernel.exception.SystemException {
112 return _calEventLocalService.dynamicQuery(dynamicQuery, start, end);
113 }
114
115
129 @SuppressWarnings("rawtypes")
130 public java.util.List dynamicQuery(
131 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
132 int end,
133 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
134 throws com.liferay.portal.kernel.exception.SystemException {
135 return _calEventLocalService.dynamicQuery(dynamicQuery, start, end,
136 orderByComparator);
137 }
138
139
146 public long dynamicQueryCount(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
148 throws com.liferay.portal.kernel.exception.SystemException {
149 return _calEventLocalService.dynamicQueryCount(dynamicQuery);
150 }
151
152
160 public com.liferay.portlet.calendar.model.CalEvent getCalEvent(long eventId)
161 throws com.liferay.portal.kernel.exception.PortalException,
162 com.liferay.portal.kernel.exception.SystemException {
163 return _calEventLocalService.getCalEvent(eventId);
164 }
165
166
175 public com.liferay.portlet.calendar.model.CalEvent getCalEventByUuidAndGroupId(
176 java.lang.String uuid, long groupId)
177 throws com.liferay.portal.kernel.exception.PortalException,
178 com.liferay.portal.kernel.exception.SystemException {
179 return _calEventLocalService.getCalEventByUuidAndGroupId(uuid, groupId);
180 }
181
182
194 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCalEvents(
195 int start, int end)
196 throws com.liferay.portal.kernel.exception.SystemException {
197 return _calEventLocalService.getCalEvents(start, end);
198 }
199
200
206 public int getCalEventsCount()
207 throws com.liferay.portal.kernel.exception.SystemException {
208 return _calEventLocalService.getCalEventsCount();
209 }
210
211
218 public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
219 com.liferay.portlet.calendar.model.CalEvent calEvent)
220 throws com.liferay.portal.kernel.exception.SystemException {
221 return _calEventLocalService.updateCalEvent(calEvent);
222 }
223
224
232 public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
233 com.liferay.portlet.calendar.model.CalEvent calEvent, boolean merge)
234 throws com.liferay.portal.kernel.exception.SystemException {
235 return _calEventLocalService.updateCalEvent(calEvent, merge);
236 }
237
238 public com.liferay.portlet.calendar.model.CalEvent addEvent(long userId,
239 java.lang.String title, java.lang.String description,
240 int startDateMonth, int startDateDay, int startDateYear,
241 int startDateHour, int startDateMinute, int endDateMonth,
242 int endDateDay, int endDateYear, int durationHour, int durationMinute,
243 boolean allDay, boolean timeZoneSensitive, java.lang.String type,
244 boolean repeating,
245 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
246 int firstReminder, int secondReminder,
247 com.liferay.portal.service.ServiceContext serviceContext)
248 throws com.liferay.portal.kernel.exception.PortalException,
249 com.liferay.portal.kernel.exception.SystemException {
250 return _calEventLocalService.addEvent(userId, title, description,
251 startDateMonth, startDateDay, startDateYear, startDateHour,
252 startDateMinute, endDateMonth, endDateDay, endDateYear,
253 durationHour, durationMinute, allDay, timeZoneSensitive, type,
254 repeating, recurrence, remindBy, firstReminder, secondReminder,
255 serviceContext);
256 }
257
258 public void addEventResources(
259 com.liferay.portlet.calendar.model.CalEvent event,
260 boolean addCommunityPermissions, boolean addGuestPermissions)
261 throws com.liferay.portal.kernel.exception.PortalException,
262 com.liferay.portal.kernel.exception.SystemException {
263 _calEventLocalService.addEventResources(event, addCommunityPermissions,
264 addGuestPermissions);
265 }
266
267 public void addEventResources(
268 com.liferay.portlet.calendar.model.CalEvent event,
269 java.lang.String[] communityPermissions,
270 java.lang.String[] guestPermissions)
271 throws com.liferay.portal.kernel.exception.PortalException,
272 com.liferay.portal.kernel.exception.SystemException {
273 _calEventLocalService.addEventResources(event, communityPermissions,
274 guestPermissions);
275 }
276
277 public void addEventResources(long eventId,
278 boolean addCommunityPermissions, boolean addGuestPermissions)
279 throws com.liferay.portal.kernel.exception.PortalException,
280 com.liferay.portal.kernel.exception.SystemException {
281 _calEventLocalService.addEventResources(eventId,
282 addCommunityPermissions, addGuestPermissions);
283 }
284
285 public void addEventResources(long eventId,
286 java.lang.String[] communityPermissions,
287 java.lang.String[] guestPermissions)
288 throws com.liferay.portal.kernel.exception.PortalException,
289 com.liferay.portal.kernel.exception.SystemException {
290 _calEventLocalService.addEventResources(eventId, communityPermissions,
291 guestPermissions);
292 }
293
294 public void checkEvents()
295 throws com.liferay.portal.kernel.exception.PortalException,
296 com.liferay.portal.kernel.exception.SystemException {
297 _calEventLocalService.checkEvents();
298 }
299
300 public void deleteEvent(com.liferay.portlet.calendar.model.CalEvent event)
301 throws com.liferay.portal.kernel.exception.PortalException,
302 com.liferay.portal.kernel.exception.SystemException {
303 _calEventLocalService.deleteEvent(event);
304 }
305
306 public void deleteEvent(long eventId)
307 throws com.liferay.portal.kernel.exception.PortalException,
308 com.liferay.portal.kernel.exception.SystemException {
309 _calEventLocalService.deleteEvent(eventId);
310 }
311
312 public void deleteEvents(long groupId)
313 throws com.liferay.portal.kernel.exception.PortalException,
314 com.liferay.portal.kernel.exception.SystemException {
315 _calEventLocalService.deleteEvents(groupId);
316 }
317
318 public java.io.File exportEvent(long userId, long eventId)
319 throws com.liferay.portal.kernel.exception.PortalException,
320 com.liferay.portal.kernel.exception.SystemException {
321 return _calEventLocalService.exportEvent(userId, eventId);
322 }
323
324 public java.io.File exportGroupEvents(long userId, long groupId,
325 java.lang.String fileName)
326 throws com.liferay.portal.kernel.exception.PortalException,
327 com.liferay.portal.kernel.exception.SystemException {
328 return _calEventLocalService.exportGroupEvents(userId, groupId, fileName);
329 }
330
331 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCompanyEvents(
332 long companyId, int start, int end)
333 throws com.liferay.portal.kernel.exception.SystemException {
334 return _calEventLocalService.getCompanyEvents(companyId, start, end);
335 }
336
337 public int getCompanyEventsCount(long companyId)
338 throws com.liferay.portal.kernel.exception.SystemException {
339 return _calEventLocalService.getCompanyEventsCount(companyId);
340 }
341
342 public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
343 throws com.liferay.portal.kernel.exception.PortalException,
344 com.liferay.portal.kernel.exception.SystemException {
345 return _calEventLocalService.getEvent(eventId);
346 }
347
348 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
349 long groupId, java.util.Calendar cal)
350 throws com.liferay.portal.kernel.exception.SystemException {
351 return _calEventLocalService.getEvents(groupId, cal);
352 }
353
354 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
355 long groupId, java.util.Calendar cal, java.lang.String type)
356 throws com.liferay.portal.kernel.exception.SystemException {
357 return _calEventLocalService.getEvents(groupId, cal, type);
358 }
359
360 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
361 long groupId, java.lang.String type, int start, int end)
362 throws com.liferay.portal.kernel.exception.SystemException {
363 return _calEventLocalService.getEvents(groupId, type, start, end);
364 }
365
366 public int getEventsCount(long groupId, java.lang.String type)
367 throws com.liferay.portal.kernel.exception.SystemException {
368 return _calEventLocalService.getEventsCount(groupId, type);
369 }
370
371 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getNoAssetEvents()
372 throws com.liferay.portal.kernel.exception.SystemException {
373 return _calEventLocalService.getNoAssetEvents();
374 }
375
376 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
377 long groupId)
378 throws com.liferay.portal.kernel.exception.SystemException {
379 return _calEventLocalService.getRepeatingEvents(groupId);
380 }
381
382 public boolean hasEvents(long groupId, java.util.Calendar cal)
383 throws com.liferay.portal.kernel.exception.SystemException {
384 return _calEventLocalService.hasEvents(groupId, cal);
385 }
386
387 public boolean hasEvents(long groupId, java.util.Calendar cal,
388 java.lang.String type)
389 throws com.liferay.portal.kernel.exception.SystemException {
390 return _calEventLocalService.hasEvents(groupId, cal, type);
391 }
392
393 public void importICal4j(long userId, long groupId, java.io.File file)
394 throws com.liferay.portal.kernel.exception.PortalException,
395 com.liferay.portal.kernel.exception.SystemException {
396 _calEventLocalService.importICal4j(userId, groupId, file);
397 }
398
399 public void updateAsset(long userId,
400 com.liferay.portlet.calendar.model.CalEvent event,
401 long[] assetCategoryIds, java.lang.String[] assetTagNames)
402 throws com.liferay.portal.kernel.exception.PortalException,
403 com.liferay.portal.kernel.exception.SystemException {
404 _calEventLocalService.updateAsset(userId, event, assetCategoryIds,
405 assetTagNames);
406 }
407
408 public com.liferay.portlet.calendar.model.CalEvent updateEvent(
409 long userId, long eventId, java.lang.String title,
410 java.lang.String description, int startDateMonth, int startDateDay,
411 int startDateYear, int startDateHour, int startDateMinute,
412 int endDateMonth, int endDateDay, int endDateYear, int durationHour,
413 int durationMinute, boolean allDay, boolean timeZoneSensitive,
414 java.lang.String type, boolean repeating,
415 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
416 int firstReminder, int secondReminder,
417 com.liferay.portal.service.ServiceContext serviceContext)
418 throws com.liferay.portal.kernel.exception.PortalException,
419 com.liferay.portal.kernel.exception.SystemException {
420 return _calEventLocalService.updateEvent(userId, eventId, title,
421 description, startDateMonth, startDateDay, startDateYear,
422 startDateHour, startDateMinute, endDateMonth, endDateDay,
423 endDateYear, durationHour, durationMinute, allDay,
424 timeZoneSensitive, type, repeating, recurrence, remindBy,
425 firstReminder, secondReminder, serviceContext);
426 }
427
428 public CalEventLocalService getWrappedCalEventLocalService() {
429 return _calEventLocalService;
430 }
431
432 private CalEventLocalService _calEventLocalService;
433 }