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