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