001    /**
002     * Copyright (c) 2000-2013 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    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link CalEventService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       CalEventService
026     * @generated
027     */
028    public class CalEventServiceWrapper implements CalEventService,
029            ServiceWrapper<CalEventService> {
030            public CalEventServiceWrapper(CalEventService calEventService) {
031                    _calEventService = calEventService;
032            }
033    
034            /**
035            * Returns the Spring bean ID for this bean.
036            *
037            * @return the Spring bean ID for this bean
038            */
039            public java.lang.String getBeanIdentifier() {
040                    return _calEventService.getBeanIdentifier();
041            }
042    
043            /**
044            * Sets the Spring bean ID for this bean.
045            *
046            * @param beanIdentifier the Spring bean ID for this bean
047            */
048            public void setBeanIdentifier(java.lang.String beanIdentifier) {
049                    _calEventService.setBeanIdentifier(beanIdentifier);
050            }
051    
052            public com.liferay.portlet.calendar.model.CalEvent addEvent(
053                    java.lang.String title, java.lang.String description,
054                    java.lang.String location, int startDateMonth, int startDateDay,
055                    int startDateYear, int startDateHour, int startDateMinute,
056                    int durationHour, int durationMinute, boolean allDay,
057                    boolean timeZoneSensitive, java.lang.String type, boolean repeating,
058                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
059                    int firstReminder, int secondReminder,
060                    com.liferay.portal.service.ServiceContext serviceContext)
061                    throws com.liferay.portal.kernel.exception.PortalException,
062                            com.liferay.portal.kernel.exception.SystemException {
063                    return _calEventService.addEvent(title, description, location,
064                            startDateMonth, startDateDay, startDateYear, startDateHour,
065                            startDateMinute, durationHour, durationMinute, allDay,
066                            timeZoneSensitive, type, repeating, recurrence, remindBy,
067                            firstReminder, secondReminder, serviceContext);
068            }
069    
070            /**
071            * @deprecated As of 6.2.0, replaced by {@link #addEvent(String, String,
072            String, int, int, int, int, int, int, int, boolean, boolean,
073            String, boolean, TZSRecurrence, int, int, int,
074            ServiceContext)}
075            */
076            public com.liferay.portlet.calendar.model.CalEvent addEvent(
077                    java.lang.String title, java.lang.String description,
078                    java.lang.String location, int startDateMonth, int startDateDay,
079                    int startDateYear, int startDateHour, int startDateMinute,
080                    int endDateMonth, int endDateDay, int endDateYear, int durationHour,
081                    int durationMinute, boolean allDay, boolean timeZoneSensitive,
082                    java.lang.String type, boolean repeating,
083                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
084                    int firstReminder, int secondReminder,
085                    com.liferay.portal.service.ServiceContext serviceContext)
086                    throws com.liferay.portal.kernel.exception.PortalException,
087                            com.liferay.portal.kernel.exception.SystemException {
088                    return _calEventService.addEvent(title, description, location,
089                            startDateMonth, startDateDay, startDateYear, startDateHour,
090                            startDateMinute, endDateMonth, endDateDay, endDateYear,
091                            durationHour, durationMinute, allDay, timeZoneSensitive, type,
092                            repeating, recurrence, remindBy, firstReminder, secondReminder,
093                            serviceContext);
094            }
095    
096            public void deleteEvent(long eventId)
097                    throws com.liferay.portal.kernel.exception.PortalException,
098                            com.liferay.portal.kernel.exception.SystemException {
099                    _calEventService.deleteEvent(eventId);
100            }
101    
102            public java.io.File exportEvent(long eventId)
103                    throws com.liferay.portal.kernel.exception.PortalException,
104                            com.liferay.portal.kernel.exception.SystemException {
105                    return _calEventService.exportEvent(eventId);
106            }
107    
108            public java.io.File exportEvents(
109                    java.util.List<com.liferay.portlet.calendar.model.CalEvent> events,
110                    java.lang.String fileName)
111                    throws com.liferay.portal.kernel.exception.PortalException,
112                            com.liferay.portal.kernel.exception.SystemException {
113                    return _calEventService.exportEvents(events, fileName);
114            }
115    
116            public java.io.File exportGroupEvents(long groupId,
117                    java.lang.String fileName)
118                    throws com.liferay.portal.kernel.exception.PortalException,
119                            com.liferay.portal.kernel.exception.SystemException {
120                    return _calEventService.exportGroupEvents(groupId, fileName);
121            }
122    
123            public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
124                    throws com.liferay.portal.kernel.exception.PortalException,
125                            com.liferay.portal.kernel.exception.SystemException {
126                    return _calEventService.getEvent(eventId);
127            }
128    
129            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
130                    long groupId, java.util.Calendar cal, java.lang.String type)
131                    throws com.liferay.portal.kernel.exception.PortalException,
132                            com.liferay.portal.kernel.exception.SystemException {
133                    return _calEventService.getEvents(groupId, cal, type);
134            }
135    
136            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
137                    long groupId, java.util.Calendar cal, java.lang.String[] types)
138                    throws com.liferay.portal.kernel.exception.PortalException,
139                            com.liferay.portal.kernel.exception.SystemException {
140                    return _calEventService.getEvents(groupId, cal, types);
141            }
142    
143            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
144                    long groupId, java.lang.String type, int start, int end)
145                    throws com.liferay.portal.kernel.exception.SystemException {
146                    return _calEventService.getEvents(groupId, type, start, end);
147            }
148    
149            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
150                    long groupId, java.lang.String[] types, int start, int end)
151                    throws com.liferay.portal.kernel.exception.SystemException {
152                    return _calEventService.getEvents(groupId, types, start, end);
153            }
154    
155            public int getEventsCount(long groupId, java.lang.String type)
156                    throws com.liferay.portal.kernel.exception.SystemException {
157                    return _calEventService.getEventsCount(groupId, type);
158            }
159    
160            public int getEventsCount(long groupId, java.lang.String[] types)
161                    throws com.liferay.portal.kernel.exception.SystemException {
162                    return _calEventService.getEventsCount(groupId, types);
163            }
164    
165            public boolean hasEvents(long groupId, java.util.Calendar cal)
166                    throws com.liferay.portal.kernel.exception.PortalException,
167                            com.liferay.portal.kernel.exception.SystemException {
168                    return _calEventService.hasEvents(groupId, cal);
169            }
170    
171            public boolean hasEvents(long groupId, java.util.Calendar cal,
172                    java.lang.String type)
173                    throws com.liferay.portal.kernel.exception.PortalException,
174                            com.liferay.portal.kernel.exception.SystemException {
175                    return _calEventService.hasEvents(groupId, cal, type);
176            }
177    
178            public boolean hasEvents(long groupId, java.util.Calendar cal,
179                    java.lang.String[] types)
180                    throws com.liferay.portal.kernel.exception.PortalException,
181                            com.liferay.portal.kernel.exception.SystemException {
182                    return _calEventService.hasEvents(groupId, cal, types);
183            }
184    
185            public void importICal4j(long groupId, java.io.InputStream inputStream)
186                    throws com.liferay.portal.kernel.exception.PortalException,
187                            com.liferay.portal.kernel.exception.SystemException {
188                    _calEventService.importICal4j(groupId, inputStream);
189            }
190    
191            public com.liferay.portlet.calendar.model.CalEvent updateEvent(
192                    long eventId, java.lang.String title, java.lang.String description,
193                    java.lang.String location, int startDateMonth, int startDateDay,
194                    int startDateYear, int startDateHour, int startDateMinute,
195                    int durationHour, int durationMinute, boolean allDay,
196                    boolean timeZoneSensitive, java.lang.String type, boolean repeating,
197                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
198                    int firstReminder, int secondReminder,
199                    com.liferay.portal.service.ServiceContext serviceContext)
200                    throws com.liferay.portal.kernel.exception.PortalException,
201                            com.liferay.portal.kernel.exception.SystemException {
202                    return _calEventService.updateEvent(eventId, title, description,
203                            location, startDateMonth, startDateDay, startDateYear,
204                            startDateHour, startDateMinute, durationHour, durationMinute,
205                            allDay, timeZoneSensitive, type, repeating, recurrence, remindBy,
206                            firstReminder, secondReminder, serviceContext);
207            }
208    
209            /**
210            * @deprecated As of 6.2.0, replaced by {@link #updateEvent(long, String,
211            String, String, int, int, int, int, int, int, int, boolean,
212            boolean, String, boolean, TZSRecurrence, int, int, int,
213            ServiceContext)}
214            */
215            public com.liferay.portlet.calendar.model.CalEvent updateEvent(
216                    long eventId, java.lang.String title, java.lang.String description,
217                    java.lang.String location, int startDateMonth, int startDateDay,
218                    int startDateYear, int startDateHour, int startDateMinute,
219                    int endDateMonth, int endDateDay, int endDateYear, int durationHour,
220                    int durationMinute, boolean allDay, boolean timeZoneSensitive,
221                    java.lang.String type, boolean repeating,
222                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
223                    int firstReminder, int secondReminder,
224                    com.liferay.portal.service.ServiceContext serviceContext)
225                    throws com.liferay.portal.kernel.exception.PortalException,
226                            com.liferay.portal.kernel.exception.SystemException {
227                    return _calEventService.updateEvent(eventId, title, description,
228                            location, startDateMonth, startDateDay, startDateYear,
229                            startDateHour, startDateMinute, endDateMonth, endDateDay,
230                            endDateYear, durationHour, durationMinute, allDay,
231                            timeZoneSensitive, type, repeating, recurrence, remindBy,
232                            firstReminder, secondReminder, serviceContext);
233            }
234    
235            /**
236             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
237             */
238            public CalEventService getWrappedCalEventService() {
239                    return _calEventService;
240            }
241    
242            /**
243             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
244             */
245            public void setWrappedCalEventService(CalEventService calEventService) {
246                    _calEventService = calEventService;
247            }
248    
249            public CalEventService getWrappedService() {
250                    return _calEventService;
251            }
252    
253            public void setWrappedService(CalEventService calEventService) {
254                    _calEventService = calEventService;
255            }
256    
257            private CalEventService _calEventService;
258    }