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 java.util.List<Object> dynamicQuery(
76          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77          int end,
78          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79          throws com.liferay.portal.SystemException {
80          return _calEventLocalService.dynamicQuery(dynamicQuery, start, end,
81              orderByComparator);
82      }
83  
84      public int dynamicQueryCount(
85          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86          throws com.liferay.portal.SystemException {
87          return _calEventLocalService.dynamicQueryCount(dynamicQuery);
88      }
89  
90      public com.liferay.portlet.calendar.model.CalEvent getCalEvent(long eventId)
91          throws com.liferay.portal.PortalException,
92              com.liferay.portal.SystemException {
93          return _calEventLocalService.getCalEvent(eventId);
94      }
95  
96      public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCalEvents(
97          int start, int end) throws com.liferay.portal.SystemException {
98          return _calEventLocalService.getCalEvents(start, end);
99      }
100 
101     public int getCalEventsCount() throws com.liferay.portal.SystemException {
102         return _calEventLocalService.getCalEventsCount();
103     }
104 
105     public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
106         com.liferay.portlet.calendar.model.CalEvent calEvent)
107         throws com.liferay.portal.SystemException {
108         return _calEventLocalService.updateCalEvent(calEvent);
109     }
110 
111     public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
112         com.liferay.portlet.calendar.model.CalEvent calEvent, boolean merge)
113         throws com.liferay.portal.SystemException {
114         return _calEventLocalService.updateCalEvent(calEvent, merge);
115     }
116 
117     public com.liferay.portlet.calendar.model.CalEvent addEvent(long userId,
118         java.lang.String title, java.lang.String description,
119         int startDateMonth, int startDateDay, int startDateYear,
120         int startDateHour, int startDateMinute, int endDateMonth,
121         int endDateDay, int endDateYear, int durationHour, int durationMinute,
122         boolean allDay, boolean timeZoneSensitive, java.lang.String type,
123         boolean repeating,
124         com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
125         int firstReminder, int secondReminder,
126         com.liferay.portal.service.ServiceContext serviceContext)
127         throws com.liferay.portal.PortalException,
128             com.liferay.portal.SystemException {
129         return _calEventLocalService.addEvent(userId, title, description,
130             startDateMonth, startDateDay, startDateYear, startDateHour,
131             startDateMinute, endDateMonth, endDateDay, endDateYear,
132             durationHour, durationMinute, allDay, timeZoneSensitive, type,
133             repeating, recurrence, remindBy, firstReminder, secondReminder,
134             serviceContext);
135     }
136 
137     public com.liferay.portlet.calendar.model.CalEvent addEvent(
138         java.lang.String uuid, long userId, java.lang.String title,
139         java.lang.String description, int startDateMonth, int startDateDay,
140         int startDateYear, int startDateHour, int startDateMinute,
141         int endDateMonth, int endDateDay, int endDateYear, int durationHour,
142         int durationMinute, boolean allDay, boolean timeZoneSensitive,
143         java.lang.String type, boolean repeating,
144         com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
145         int firstReminder, int secondReminder,
146         com.liferay.portal.service.ServiceContext serviceContext)
147         throws com.liferay.portal.PortalException,
148             com.liferay.portal.SystemException {
149         return _calEventLocalService.addEvent(uuid, userId, title, description,
150             startDateMonth, startDateDay, startDateYear, startDateHour,
151             startDateMinute, endDateMonth, endDateDay, endDateYear,
152             durationHour, durationMinute, allDay, timeZoneSensitive, type,
153             repeating, recurrence, remindBy, firstReminder, secondReminder,
154             serviceContext);
155     }
156 
157     public void addEventResources(
158         com.liferay.portlet.calendar.model.CalEvent event,
159         boolean addCommunityPermissions, boolean addGuestPermissions)
160         throws com.liferay.portal.PortalException,
161             com.liferay.portal.SystemException {
162         _calEventLocalService.addEventResources(event, addCommunityPermissions,
163             addGuestPermissions);
164     }
165 
166     public void addEventResources(
167         com.liferay.portlet.calendar.model.CalEvent event,
168         java.lang.String[] communityPermissions,
169         java.lang.String[] guestPermissions)
170         throws com.liferay.portal.PortalException,
171             com.liferay.portal.SystemException {
172         _calEventLocalService.addEventResources(event, communityPermissions,
173             guestPermissions);
174     }
175 
176     public void addEventResources(long eventId,
177         boolean addCommunityPermissions, boolean addGuestPermissions)
178         throws com.liferay.portal.PortalException,
179             com.liferay.portal.SystemException {
180         _calEventLocalService.addEventResources(eventId,
181             addCommunityPermissions, addGuestPermissions);
182     }
183 
184     public void addEventResources(long eventId,
185         java.lang.String[] communityPermissions,
186         java.lang.String[] guestPermissions)
187         throws com.liferay.portal.PortalException,
188             com.liferay.portal.SystemException {
189         _calEventLocalService.addEventResources(eventId, communityPermissions,
190             guestPermissions);
191     }
192 
193     public void checkEvents()
194         throws com.liferay.portal.PortalException,
195             com.liferay.portal.SystemException {
196         _calEventLocalService.checkEvents();
197     }
198 
199     public void deleteEvent(com.liferay.portlet.calendar.model.CalEvent event)
200         throws com.liferay.portal.PortalException,
201             com.liferay.portal.SystemException {
202         _calEventLocalService.deleteEvent(event);
203     }
204 
205     public void deleteEvent(long eventId)
206         throws com.liferay.portal.PortalException,
207             com.liferay.portal.SystemException {
208         _calEventLocalService.deleteEvent(eventId);
209     }
210 
211     public void deleteEvents(long groupId)
212         throws com.liferay.portal.PortalException,
213             com.liferay.portal.SystemException {
214         _calEventLocalService.deleteEvents(groupId);
215     }
216 
217     public java.io.File exportEvent(long userId, long eventId)
218         throws com.liferay.portal.PortalException,
219             com.liferay.portal.SystemException {
220         return _calEventLocalService.exportEvent(userId, eventId);
221     }
222 
223     public java.io.File exportGroupEvents(long userId, long groupId,
224         java.lang.String fileName)
225         throws com.liferay.portal.PortalException,
226             com.liferay.portal.SystemException {
227         return _calEventLocalService.exportGroupEvents(userId, groupId, fileName);
228     }
229 
230     public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
231         throws com.liferay.portal.PortalException,
232             com.liferay.portal.SystemException {
233         return _calEventLocalService.getEvent(eventId);
234     }
235 
236     public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
237         long groupId, java.util.Calendar cal)
238         throws com.liferay.portal.SystemException {
239         return _calEventLocalService.getEvents(groupId, cal);
240     }
241 
242     public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
243         long groupId, java.util.Calendar cal, java.lang.String type)
244         throws com.liferay.portal.SystemException {
245         return _calEventLocalService.getEvents(groupId, cal, type);
246     }
247 
248     public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
249         long groupId, java.lang.String type, int start, int end)
250         throws com.liferay.portal.SystemException {
251         return _calEventLocalService.getEvents(groupId, type, start, end);
252     }
253 
254     public int getEventsCount(long groupId, java.lang.String type)
255         throws com.liferay.portal.SystemException {
256         return _calEventLocalService.getEventsCount(groupId, type);
257     }
258 
259     public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
260         long groupId) throws com.liferay.portal.SystemException {
261         return _calEventLocalService.getRepeatingEvents(groupId);
262     }
263 
264     public boolean hasEvents(long groupId, java.util.Calendar cal)
265         throws com.liferay.portal.SystemException {
266         return _calEventLocalService.hasEvents(groupId, cal);
267     }
268 
269     public boolean hasEvents(long groupId, java.util.Calendar cal,
270         java.lang.String type) throws com.liferay.portal.SystemException {
271         return _calEventLocalService.hasEvents(groupId, cal, type);
272     }
273 
274     public void importICal4j(long userId, long groupId, java.io.File file)
275         throws com.liferay.portal.PortalException,
276             com.liferay.portal.SystemException {
277         _calEventLocalService.importICal4j(userId, groupId, file);
278     }
279 
280     public void reIndex(com.liferay.portlet.calendar.model.CalEvent event)
281         throws com.liferay.portal.SystemException {
282         _calEventLocalService.reIndex(event);
283     }
284 
285     public void reIndex(long eventId) throws com.liferay.portal.SystemException {
286         _calEventLocalService.reIndex(eventId);
287     }
288 
289     public void reIndex(java.lang.String[] ids)
290         throws com.liferay.portal.SystemException {
291         _calEventLocalService.reIndex(ids);
292     }
293 
294     public com.liferay.portal.kernel.search.Hits search(long companyId,
295         long groupId, long userId, long ownerUserId, java.lang.String keywords,
296         int start, int end) throws com.liferay.portal.SystemException {
297         return _calEventLocalService.search(companyId, groupId, userId,
298             ownerUserId, keywords, start, end);
299     }
300 
301     public com.liferay.portlet.calendar.model.CalEvent updateEvent(
302         long userId, long eventId, java.lang.String title,
303         java.lang.String description, int startDateMonth, int startDateDay,
304         int startDateYear, int startDateHour, int startDateMinute,
305         int endDateMonth, int endDateDay, int endDateYear, int durationHour,
306         int durationMinute, boolean allDay, boolean timeZoneSensitive,
307         java.lang.String type, boolean repeating,
308         com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
309         int firstReminder, int secondReminder,
310         com.liferay.portal.service.ServiceContext serviceContext)
311         throws com.liferay.portal.PortalException,
312             com.liferay.portal.SystemException {
313         return _calEventLocalService.updateEvent(userId, eventId, title,
314             description, startDateMonth, startDateDay, startDateYear,
315             startDateHour, startDateMinute, endDateMonth, endDateDay,
316             endDateYear, durationHour, durationMinute, allDay,
317             timeZoneSensitive, type, repeating, recurrence, remindBy,
318             firstReminder, secondReminder, serviceContext);
319     }
320 
321     public CalEventLocalService getWrappedCalEventLocalService() {
322         return _calEventLocalService;
323     }
324 
325     private CalEventLocalService _calEventLocalService;
326 }