1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.calendar.service;
16  
17  /**
18   * <a href="CalEventServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link CalEventService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       CalEventService
31   * @generated
32   */
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 }