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