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="CalEventLocalServiceUtil.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 CalEventLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       CalEventLocalService
32   * @generated
33   */
34  public class CalEventLocalServiceWrapper implements CalEventLocalService {
35      public CalEventLocalServiceWrapper(
36          CalEventLocalService calEventLocalService) {
37          _calEventLocalService = calEventLocalService;
38      }
39  
40      public com.liferay.portlet.calendar.model.CalEvent addCalEvent(
41          com.liferay.portlet.calendar.model.CalEvent calEvent)
42          throws com.liferay.portal.SystemException {
43          return _calEventLocalService.addCalEvent(calEvent);
44      }
45  
46      public com.liferay.portlet.calendar.model.CalEvent createCalEvent(
47          long eventId) {
48          return _calEventLocalService.createCalEvent(eventId);
49      }
50  
51      public void deleteCalEvent(long eventId)
52          throws com.liferay.portal.PortalException,
53              com.liferay.portal.SystemException {
54          _calEventLocalService.deleteCalEvent(eventId);
55      }
56  
57      public void deleteCalEvent(
58          com.liferay.portlet.calendar.model.CalEvent calEvent)
59          throws com.liferay.portal.SystemException {
60          _calEventLocalService.deleteCalEvent(calEvent);
61      }
62  
63      public java.util.List<Object> dynamicQuery(
64          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65          throws com.liferay.portal.SystemException {
66          return _calEventLocalService.dynamicQuery(dynamicQuery);
67      }
68  
69      public java.util.List<Object> dynamicQuery(
70          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71          int end) throws com.liferay.portal.SystemException {
72          return _calEventLocalService.dynamicQuery(dynamicQuery, start, end);
73      }
74  
75      public com.liferay.portlet.calendar.model.CalEvent getCalEvent(long eventId)
76          throws com.liferay.portal.PortalException,
77              com.liferay.portal.SystemException {
78          return _calEventLocalService.getCalEvent(eventId);
79      }
80  
81      public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCalEvents(
82          int start, int end) throws com.liferay.portal.SystemException {
83          return _calEventLocalService.getCalEvents(start, end);
84      }
85  
86      public int getCalEventsCount() throws com.liferay.portal.SystemException {
87          return _calEventLocalService.getCalEventsCount();
88      }
89  
90      public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
91          com.liferay.portlet.calendar.model.CalEvent calEvent)
92          throws com.liferay.portal.SystemException {
93          return _calEventLocalService.updateCalEvent(calEvent);
94      }
95  
96      public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
97          com.liferay.portlet.calendar.model.CalEvent calEvent, boolean merge)
98          throws com.liferay.portal.SystemException {
99          return _calEventLocalService.updateCalEvent(calEvent, merge);
100     }
101 
102     public com.liferay.portlet.calendar.model.CalEvent addEvent(long userId,
103         long plid, java.lang.String title, java.lang.String description,
104         int startDateMonth, int startDateDay, int startDateYear,
105         int startDateHour, int startDateMinute, int endDateMonth,
106         int endDateDay, int endDateYear, int durationHour, int durationMinute,
107         boolean allDay, boolean timeZoneSensitive, java.lang.String type,
108         boolean repeating,
109         com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
110         int firstReminder, int secondReminder, boolean addCommunityPermissions,
111         boolean addGuestPermissions)
112         throws com.liferay.portal.PortalException,
113             com.liferay.portal.SystemException {
114         return _calEventLocalService.addEvent(userId, plid, title, description,
115             startDateMonth, startDateDay, startDateYear, startDateHour,
116             startDateMinute, endDateMonth, endDateDay, endDateYear,
117             durationHour, durationMinute, allDay, timeZoneSensitive, type,
118             repeating, recurrence, remindBy, firstReminder, secondReminder,
119             addCommunityPermissions, addGuestPermissions);
120     }
121 
122     public com.liferay.portlet.calendar.model.CalEvent addEvent(long userId,
123         long plid, java.lang.String title, java.lang.String description,
124         int startDateMonth, int startDateDay, int startDateYear,
125         int startDateHour, int startDateMinute, int endDateMonth,
126         int endDateDay, int endDateYear, int durationHour, int durationMinute,
127         boolean allDay, boolean timeZoneSensitive, java.lang.String type,
128         boolean repeating,
129         com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
130         int firstReminder, int secondReminder,
131         java.lang.String[] communityPermissions,
132         java.lang.String[] guestPermissions)
133         throws com.liferay.portal.PortalException,
134             com.liferay.portal.SystemException {
135         return _calEventLocalService.addEvent(userId, plid, title, description,
136             startDateMonth, startDateDay, startDateYear, startDateHour,
137             startDateMinute, endDateMonth, endDateDay, endDateYear,
138             durationHour, durationMinute, allDay, timeZoneSensitive, type,
139             repeating, recurrence, remindBy, firstReminder, secondReminder,
140             communityPermissions, guestPermissions);
141     }
142 
143     public com.liferay.portlet.calendar.model.CalEvent addEvent(
144         java.lang.String uuid, long userId, long plid, java.lang.String title,
145         java.lang.String description, int startDateMonth, int startDateDay,
146         int startDateYear, int startDateHour, int startDateMinute,
147         int endDateMonth, int endDateDay, int endDateYear, int durationHour,
148         int durationMinute, boolean allDay, boolean timeZoneSensitive,
149         java.lang.String type, boolean repeating,
150         com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
151         int firstReminder, int secondReminder, boolean addCommunityPermissions,
152         boolean addGuestPermissions)
153         throws com.liferay.portal.PortalException,
154             com.liferay.portal.SystemException {
155         return _calEventLocalService.addEvent(uuid, userId, plid, title,
156             description, startDateMonth, startDateDay, startDateYear,
157             startDateHour, startDateMinute, endDateMonth, endDateDay,
158             endDateYear, durationHour, durationMinute, allDay,
159             timeZoneSensitive, type, repeating, recurrence, remindBy,
160             firstReminder, secondReminder, addCommunityPermissions,
161             addGuestPermissions);
162     }
163 
164     public com.liferay.portlet.calendar.model.CalEvent addEvent(
165         java.lang.String uuid, long userId, long plid, java.lang.String title,
166         java.lang.String description, int startDateMonth, int startDateDay,
167         int startDateYear, int startDateHour, int startDateMinute,
168         int endDateMonth, int endDateDay, int endDateYear, int durationHour,
169         int durationMinute, boolean allDay, boolean timeZoneSensitive,
170         java.lang.String type, boolean repeating,
171         com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
172         int firstReminder, int secondReminder,
173         java.lang.Boolean addCommunityPermissions,
174         java.lang.Boolean addGuestPermissions,
175         java.lang.String[] communityPermissions,
176         java.lang.String[] guestPermissions)
177         throws com.liferay.portal.PortalException,
178             com.liferay.portal.SystemException {
179         return _calEventLocalService.addEvent(uuid, userId, plid, title,
180             description, startDateMonth, startDateDay, startDateYear,
181             startDateHour, startDateMinute, endDateMonth, endDateDay,
182             endDateYear, durationHour, durationMinute, allDay,
183             timeZoneSensitive, type, repeating, recurrence, remindBy,
184             firstReminder, secondReminder, addCommunityPermissions,
185             addGuestPermissions, communityPermissions, guestPermissions);
186     }
187 
188     public void addEventResources(
189         com.liferay.portlet.calendar.model.CalEvent event,
190         boolean addCommunityPermissions, boolean addGuestPermissions)
191         throws com.liferay.portal.PortalException,
192             com.liferay.portal.SystemException {
193         _calEventLocalService.addEventResources(event, addCommunityPermissions,
194             addGuestPermissions);
195     }
196 
197     public void addEventResources(
198         com.liferay.portlet.calendar.model.CalEvent event,
199         java.lang.String[] communityPermissions,
200         java.lang.String[] guestPermissions)
201         throws com.liferay.portal.PortalException,
202             com.liferay.portal.SystemException {
203         _calEventLocalService.addEventResources(event, communityPermissions,
204             guestPermissions);
205     }
206 
207     public void addEventResources(long eventId,
208         boolean addCommunityPermissions, boolean addGuestPermissions)
209         throws com.liferay.portal.PortalException,
210             com.liferay.portal.SystemException {
211         _calEventLocalService.addEventResources(eventId,
212             addCommunityPermissions, addGuestPermissions);
213     }
214 
215     public void addEventResources(long eventId,
216         java.lang.String[] communityPermissions,
217         java.lang.String[] guestPermissions)
218         throws com.liferay.portal.PortalException,
219             com.liferay.portal.SystemException {
220         _calEventLocalService.addEventResources(eventId, communityPermissions,
221             guestPermissions);
222     }
223 
224     public void checkEvents()
225         throws com.liferay.portal.PortalException,
226             com.liferay.portal.SystemException {
227         _calEventLocalService.checkEvents();
228     }
229 
230     public void deleteEvent(com.liferay.portlet.calendar.model.CalEvent event)
231         throws com.liferay.portal.PortalException,
232             com.liferay.portal.SystemException {
233         _calEventLocalService.deleteEvent(event);
234     }
235 
236     public void deleteEvent(long eventId)
237         throws com.liferay.portal.PortalException,
238             com.liferay.portal.SystemException {
239         _calEventLocalService.deleteEvent(eventId);
240     }
241 
242     public void deleteEvents(long groupId)
243         throws com.liferay.portal.PortalException,
244             com.liferay.portal.SystemException {
245         _calEventLocalService.deleteEvents(groupId);
246     }
247 
248     public java.io.File exportEvent(long userId, long eventId)
249         throws com.liferay.portal.PortalException,
250             com.liferay.portal.SystemException {
251         return _calEventLocalService.exportEvent(userId, eventId);
252     }
253 
254     public java.io.File exportGroupEvents(long userId, long plid,
255         java.lang.String fileName)
256         throws com.liferay.portal.PortalException,
257             com.liferay.portal.SystemException {
258         return _calEventLocalService.exportGroupEvents(userId, plid, fileName);
259     }
260 
261     public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
262         throws com.liferay.portal.PortalException,
263             com.liferay.portal.SystemException {
264         return _calEventLocalService.getEvent(eventId);
265     }
266 
267     public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
268         long groupId, java.util.Calendar cal)
269         throws com.liferay.portal.SystemException {
270         return _calEventLocalService.getEvents(groupId, cal);
271     }
272 
273     public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
274         long groupId, java.util.Calendar cal, java.lang.String type)
275         throws com.liferay.portal.SystemException {
276         return _calEventLocalService.getEvents(groupId, cal, type);
277     }
278 
279     public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
280         long groupId, java.lang.String type, int start, int end)
281         throws com.liferay.portal.SystemException {
282         return _calEventLocalService.getEvents(groupId, type, start, end);
283     }
284 
285     public int getEventsCount(long groupId, java.lang.String type)
286         throws com.liferay.portal.SystemException {
287         return _calEventLocalService.getEventsCount(groupId, type);
288     }
289 
290     public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
291         long groupId) throws com.liferay.portal.SystemException {
292         return _calEventLocalService.getRepeatingEvents(groupId);
293     }
294 
295     public boolean hasEvents(long groupId, java.util.Calendar cal)
296         throws com.liferay.portal.SystemException {
297         return _calEventLocalService.hasEvents(groupId, cal);
298     }
299 
300     public boolean hasEvents(long groupId, java.util.Calendar cal,
301         java.lang.String type) throws com.liferay.portal.SystemException {
302         return _calEventLocalService.hasEvents(groupId, cal, type);
303     }
304 
305     public void importICal4j(long userId, long plid, java.io.File file)
306         throws com.liferay.portal.PortalException,
307             com.liferay.portal.SystemException {
308         _calEventLocalService.importICal4j(userId, plid, file);
309     }
310 
311     public com.liferay.portlet.calendar.model.CalEvent updateEvent(
312         long userId, long eventId, java.lang.String title,
313         java.lang.String description, int startDateMonth, int startDateDay,
314         int startDateYear, int startDateHour, int startDateMinute,
315         int endDateMonth, int endDateDay, int endDateYear, int durationHour,
316         int durationMinute, boolean allDay, boolean timeZoneSensitive,
317         java.lang.String type, boolean repeating,
318         com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
319         int firstReminder, int secondReminder)
320         throws com.liferay.portal.PortalException,
321             com.liferay.portal.SystemException {
322         return _calEventLocalService.updateEvent(userId, eventId, title,
323             description, startDateMonth, startDateDay, startDateYear,
324             startDateHour, startDateMinute, endDateMonth, endDateDay,
325             endDateYear, durationHour, durationMinute, allDay,
326             timeZoneSensitive, type, repeating, recurrence, remindBy,
327             firstReminder, secondReminder);
328     }
329 
330     public CalEventLocalService getWrappedCalEventLocalService() {
331         return _calEventLocalService;
332     }
333 
334     private CalEventLocalService _calEventLocalService;
335 }