1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.calendar.service;
16  
17  
18  /**
19   * <a href="CalEventServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link CalEventService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       CalEventService
32   * @generated
33   */
34  public class CalEventServiceWrapper implements CalEventService {
35      public CalEventServiceWrapper(CalEventService calEventService) {
36          _calEventService = calEventService;
37      }
38  
39      public com.liferay.portlet.calendar.model.CalEvent addEvent(
40          java.lang.String title, java.lang.String description,
41          int startDateMonth, int startDateDay, int startDateYear,
42          int startDateHour, int startDateMinute, int endDateMonth,
43          int endDateDay, int endDateYear, int durationHour, int durationMinute,
44          boolean allDay, boolean timeZoneSensitive, java.lang.String type,
45          boolean repeating,
46          com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
47          int firstReminder, int secondReminder,
48          com.liferay.portal.service.ServiceContext serviceContext)
49          throws com.liferay.portal.kernel.exception.PortalException,
50              com.liferay.portal.kernel.exception.SystemException {
51          return _calEventService.addEvent(title, description, startDateMonth,
52              startDateDay, startDateYear, startDateHour, startDateMinute,
53              endDateMonth, endDateDay, endDateYear, durationHour,
54              durationMinute, allDay, timeZoneSensitive, type, repeating,
55              recurrence, remindBy, firstReminder, secondReminder, serviceContext);
56      }
57  
58      public void deleteEvent(long eventId)
59          throws com.liferay.portal.kernel.exception.PortalException,
60              com.liferay.portal.kernel.exception.SystemException {
61          _calEventService.deleteEvent(eventId);
62      }
63  
64      public java.io.File exportEvent(long eventId)
65          throws com.liferay.portal.kernel.exception.PortalException,
66              com.liferay.portal.kernel.exception.SystemException {
67          return _calEventService.exportEvent(eventId);
68      }
69  
70      public java.io.File exportGroupEvents(long groupId,
71          java.lang.String fileName)
72          throws com.liferay.portal.kernel.exception.PortalException,
73              com.liferay.portal.kernel.exception.SystemException {
74          return _calEventService.exportGroupEvents(groupId, fileName);
75      }
76  
77      public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
78          throws com.liferay.portal.kernel.exception.PortalException,
79              com.liferay.portal.kernel.exception.SystemException {
80          return _calEventService.getEvent(eventId);
81      }
82  
83      public void importICal4j(long groupId, java.io.File file)
84          throws com.liferay.portal.kernel.exception.PortalException,
85              com.liferay.portal.kernel.exception.SystemException {
86          _calEventService.importICal4j(groupId, file);
87      }
88  
89      public com.liferay.portlet.calendar.model.CalEvent updateEvent(
90          long eventId, java.lang.String title, java.lang.String description,
91          int startDateMonth, int startDateDay, int startDateYear,
92          int startDateHour, int startDateMinute, int endDateMonth,
93          int endDateDay, int endDateYear, int durationHour, int durationMinute,
94          boolean allDay, boolean timeZoneSensitive, java.lang.String type,
95          boolean repeating,
96          com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
97          int firstReminder, int secondReminder,
98          com.liferay.portal.service.ServiceContext serviceContext)
99          throws com.liferay.portal.kernel.exception.PortalException,
100             com.liferay.portal.kernel.exception.SystemException {
101         return _calEventService.updateEvent(eventId, title, description,
102             startDateMonth, startDateDay, startDateYear, startDateHour,
103             startDateMinute, endDateMonth, endDateDay, endDateYear,
104             durationHour, durationMinute, allDay, timeZoneSensitive, type,
105             repeating, recurrence, remindBy, firstReminder, secondReminder,
106             serviceContext);
107     }
108 
109     public CalEventService getWrappedCalEventService() {
110         return _calEventService;
111     }
112 
113     private CalEventService _calEventService;
114 }