001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.calendar.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link CalEventLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       CalEventLocalService
024     * @generated
025     */
026    public class CalEventLocalServiceWrapper implements CalEventLocalService {
027            public CalEventLocalServiceWrapper(
028                    CalEventLocalService calEventLocalService) {
029                    _calEventLocalService = calEventLocalService;
030            }
031    
032            public com.liferay.portlet.calendar.model.CalEvent addCalEvent(
033                    com.liferay.portlet.calendar.model.CalEvent calEvent)
034                    throws com.liferay.portal.kernel.exception.SystemException {
035                    return _calEventLocalService.addCalEvent(calEvent);
036            }
037    
038            public com.liferay.portlet.calendar.model.CalEvent createCalEvent(
039                    long eventId) {
040                    return _calEventLocalService.createCalEvent(eventId);
041            }
042    
043            public void deleteCalEvent(long eventId)
044                    throws com.liferay.portal.kernel.exception.PortalException,
045                            com.liferay.portal.kernel.exception.SystemException {
046                    _calEventLocalService.deleteCalEvent(eventId);
047            }
048    
049            public void deleteCalEvent(
050                    com.liferay.portlet.calendar.model.CalEvent calEvent)
051                    throws com.liferay.portal.kernel.exception.SystemException {
052                    _calEventLocalService.deleteCalEvent(calEvent);
053            }
054    
055            @SuppressWarnings("unchecked")
056            public java.util.List dynamicQuery(
057                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
058                    throws com.liferay.portal.kernel.exception.SystemException {
059                    return _calEventLocalService.dynamicQuery(dynamicQuery);
060            }
061    
062            @SuppressWarnings("unchecked")
063            public java.util.List dynamicQuery(
064                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
065                    int end) throws com.liferay.portal.kernel.exception.SystemException {
066                    return _calEventLocalService.dynamicQuery(dynamicQuery, start, end);
067            }
068    
069            @SuppressWarnings("unchecked")
070            public java.util.List dynamicQuery(
071                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
072                    int end,
073                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
074                    throws com.liferay.portal.kernel.exception.SystemException {
075                    return _calEventLocalService.dynamicQuery(dynamicQuery, start, end,
076                            orderByComparator);
077            }
078    
079            public long dynamicQueryCount(
080                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
081                    throws com.liferay.portal.kernel.exception.SystemException {
082                    return _calEventLocalService.dynamicQueryCount(dynamicQuery);
083            }
084    
085            public com.liferay.portlet.calendar.model.CalEvent getCalEvent(long eventId)
086                    throws com.liferay.portal.kernel.exception.PortalException,
087                            com.liferay.portal.kernel.exception.SystemException {
088                    return _calEventLocalService.getCalEvent(eventId);
089            }
090    
091            public com.liferay.portlet.calendar.model.CalEvent getCalEventByUuidAndGroupId(
092                    java.lang.String uuid, long groupId)
093                    throws com.liferay.portal.kernel.exception.PortalException,
094                            com.liferay.portal.kernel.exception.SystemException {
095                    return _calEventLocalService.getCalEventByUuidAndGroupId(uuid, groupId);
096            }
097    
098            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCalEvents(
099                    int start, int end)
100                    throws com.liferay.portal.kernel.exception.SystemException {
101                    return _calEventLocalService.getCalEvents(start, end);
102            }
103    
104            public int getCalEventsCount()
105                    throws com.liferay.portal.kernel.exception.SystemException {
106                    return _calEventLocalService.getCalEventsCount();
107            }
108    
109            public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
110                    com.liferay.portlet.calendar.model.CalEvent calEvent)
111                    throws com.liferay.portal.kernel.exception.SystemException {
112                    return _calEventLocalService.updateCalEvent(calEvent);
113            }
114    
115            public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
116                    com.liferay.portlet.calendar.model.CalEvent calEvent, boolean merge)
117                    throws com.liferay.portal.kernel.exception.SystemException {
118                    return _calEventLocalService.updateCalEvent(calEvent, merge);
119            }
120    
121            public com.liferay.portlet.calendar.model.CalEvent addEvent(long userId,
122                    java.lang.String title, java.lang.String description,
123                    int startDateMonth, int startDateDay, int startDateYear,
124                    int startDateHour, int startDateMinute, int endDateMonth,
125                    int endDateDay, int endDateYear, int durationHour, int durationMinute,
126                    boolean allDay, boolean timeZoneSensitive, java.lang.String type,
127                    boolean repeating,
128                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
129                    int firstReminder, int secondReminder,
130                    com.liferay.portal.service.ServiceContext serviceContext)
131                    throws com.liferay.portal.kernel.exception.PortalException,
132                            com.liferay.portal.kernel.exception.SystemException {
133                    return _calEventLocalService.addEvent(userId, title, description,
134                            startDateMonth, startDateDay, startDateYear, startDateHour,
135                            startDateMinute, endDateMonth, endDateDay, endDateYear,
136                            durationHour, durationMinute, allDay, timeZoneSensitive, type,
137                            repeating, recurrence, remindBy, firstReminder, secondReminder,
138                            serviceContext);
139            }
140    
141            public void addEventResources(
142                    com.liferay.portlet.calendar.model.CalEvent event,
143                    boolean addCommunityPermissions, boolean addGuestPermissions)
144                    throws com.liferay.portal.kernel.exception.PortalException,
145                            com.liferay.portal.kernel.exception.SystemException {
146                    _calEventLocalService.addEventResources(event, addCommunityPermissions,
147                            addGuestPermissions);
148            }
149    
150            public void addEventResources(
151                    com.liferay.portlet.calendar.model.CalEvent event,
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(event, communityPermissions,
157                            guestPermissions);
158            }
159    
160            public void addEventResources(long eventId,
161                    boolean addCommunityPermissions, boolean addGuestPermissions)
162                    throws com.liferay.portal.kernel.exception.PortalException,
163                            com.liferay.portal.kernel.exception.SystemException {
164                    _calEventLocalService.addEventResources(eventId,
165                            addCommunityPermissions, addGuestPermissions);
166            }
167    
168            public void addEventResources(long eventId,
169                    java.lang.String[] communityPermissions,
170                    java.lang.String[] guestPermissions)
171                    throws com.liferay.portal.kernel.exception.PortalException,
172                            com.liferay.portal.kernel.exception.SystemException {
173                    _calEventLocalService.addEventResources(eventId, communityPermissions,
174                            guestPermissions);
175            }
176    
177            public void checkEvents()
178                    throws com.liferay.portal.kernel.exception.PortalException,
179                            com.liferay.portal.kernel.exception.SystemException {
180                    _calEventLocalService.checkEvents();
181            }
182    
183            public void deleteEvent(com.liferay.portlet.calendar.model.CalEvent event)
184                    throws com.liferay.portal.kernel.exception.PortalException,
185                            com.liferay.portal.kernel.exception.SystemException {
186                    _calEventLocalService.deleteEvent(event);
187            }
188    
189            public void deleteEvent(long eventId)
190                    throws com.liferay.portal.kernel.exception.PortalException,
191                            com.liferay.portal.kernel.exception.SystemException {
192                    _calEventLocalService.deleteEvent(eventId);
193            }
194    
195            public void deleteEvents(long groupId)
196                    throws com.liferay.portal.kernel.exception.PortalException,
197                            com.liferay.portal.kernel.exception.SystemException {
198                    _calEventLocalService.deleteEvents(groupId);
199            }
200    
201            public java.io.File exportEvent(long userId, long eventId)
202                    throws com.liferay.portal.kernel.exception.PortalException,
203                            com.liferay.portal.kernel.exception.SystemException {
204                    return _calEventLocalService.exportEvent(userId, eventId);
205            }
206    
207            public java.io.File exportGroupEvents(long userId, long groupId,
208                    java.lang.String fileName)
209                    throws com.liferay.portal.kernel.exception.PortalException,
210                            com.liferay.portal.kernel.exception.SystemException {
211                    return _calEventLocalService.exportGroupEvents(userId, groupId, fileName);
212            }
213    
214            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCompanyEvents(
215                    long companyId, int start, int end)
216                    throws com.liferay.portal.kernel.exception.SystemException {
217                    return _calEventLocalService.getCompanyEvents(companyId, start, end);
218            }
219    
220            public int getCompanyEventsCount(long companyId)
221                    throws com.liferay.portal.kernel.exception.SystemException {
222                    return _calEventLocalService.getCompanyEventsCount(companyId);
223            }
224    
225            public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
226                    throws com.liferay.portal.kernel.exception.PortalException,
227                            com.liferay.portal.kernel.exception.SystemException {
228                    return _calEventLocalService.getEvent(eventId);
229            }
230    
231            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
232                    long groupId, java.util.Calendar cal)
233                    throws com.liferay.portal.kernel.exception.SystemException {
234                    return _calEventLocalService.getEvents(groupId, cal);
235            }
236    
237            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
238                    long groupId, java.util.Calendar cal, java.lang.String type)
239                    throws com.liferay.portal.kernel.exception.SystemException {
240                    return _calEventLocalService.getEvents(groupId, cal, type);
241            }
242    
243            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
244                    long groupId, java.lang.String type, int start, int end)
245                    throws com.liferay.portal.kernel.exception.SystemException {
246                    return _calEventLocalService.getEvents(groupId, type, start, end);
247            }
248    
249            public int getEventsCount(long groupId, java.lang.String type)
250                    throws com.liferay.portal.kernel.exception.SystemException {
251                    return _calEventLocalService.getEventsCount(groupId, type);
252            }
253    
254            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getNoAssetEvents()
255                    throws com.liferay.portal.kernel.exception.SystemException {
256                    return _calEventLocalService.getNoAssetEvents();
257            }
258    
259            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
260                    long groupId)
261                    throws com.liferay.portal.kernel.exception.SystemException {
262                    return _calEventLocalService.getRepeatingEvents(groupId);
263            }
264    
265            public boolean hasEvents(long groupId, java.util.Calendar cal)
266                    throws com.liferay.portal.kernel.exception.SystemException {
267                    return _calEventLocalService.hasEvents(groupId, cal);
268            }
269    
270            public boolean hasEvents(long groupId, java.util.Calendar cal,
271                    java.lang.String type)
272                    throws com.liferay.portal.kernel.exception.SystemException {
273                    return _calEventLocalService.hasEvents(groupId, cal, type);
274            }
275    
276            public void importICal4j(long userId, long groupId, java.io.File file)
277                    throws com.liferay.portal.kernel.exception.PortalException,
278                            com.liferay.portal.kernel.exception.SystemException {
279                    _calEventLocalService.importICal4j(userId, groupId, file);
280            }
281    
282            public void updateAsset(long userId,
283                    com.liferay.portlet.calendar.model.CalEvent event,
284                    long[] assetCategoryIds, java.lang.String[] assetTagNames)
285                    throws com.liferay.portal.kernel.exception.PortalException,
286                            com.liferay.portal.kernel.exception.SystemException {
287                    _calEventLocalService.updateAsset(userId, event, assetCategoryIds,
288                            assetTagNames);
289            }
290    
291            public com.liferay.portlet.calendar.model.CalEvent updateEvent(
292                    long userId, long eventId, java.lang.String title,
293                    java.lang.String description, int startDateMonth, int startDateDay,
294                    int startDateYear, int startDateHour, int startDateMinute,
295                    int endDateMonth, int endDateDay, int endDateYear, int durationHour,
296                    int durationMinute, boolean allDay, boolean timeZoneSensitive,
297                    java.lang.String type, boolean repeating,
298                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
299                    int firstReminder, int secondReminder,
300                    com.liferay.portal.service.ServiceContext serviceContext)
301                    throws com.liferay.portal.kernel.exception.PortalException,
302                            com.liferay.portal.kernel.exception.SystemException {
303                    return _calEventLocalService.updateEvent(userId, eventId, title,
304                            description, startDateMonth, startDateDay, startDateYear,
305                            startDateHour, startDateMinute, endDateMonth, endDateDay,
306                            endDateYear, durationHour, durationMinute, allDay,
307                            timeZoneSensitive, type, repeating, recurrence, remindBy,
308                            firstReminder, secondReminder, serviceContext);
309            }
310    
311            public CalEventLocalService getWrappedCalEventLocalService() {
312                    return _calEventLocalService;
313            }
314    
315            private CalEventLocalService _calEventLocalService;
316    }