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