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 {@link #addEvent(String, String, String, int, int, int, int,
072            int, int, int, boolean, boolean, String, boolean,
073            TZSRecurrence, int, int, int, ServiceContext)}
074            */
075            public com.liferay.portlet.calendar.model.CalEvent addEvent(
076                    java.lang.String title, java.lang.String description,
077                    java.lang.String location, int startDateMonth, int startDateDay,
078                    int startDateYear, int startDateHour, int startDateMinute,
079                    int endDateMonth, int endDateDay, int endDateYear, int durationHour,
080                    int durationMinute, boolean allDay, boolean timeZoneSensitive,
081                    java.lang.String type, boolean repeating,
082                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
083                    int firstReminder, int secondReminder,
084                    com.liferay.portal.service.ServiceContext serviceContext)
085                    throws com.liferay.portal.kernel.exception.PortalException,
086                            com.liferay.portal.kernel.exception.SystemException {
087                    return _calEventService.addEvent(title, description, location,
088                            startDateMonth, startDateDay, startDateYear, startDateHour,
089                            startDateMinute, endDateMonth, endDateDay, endDateYear,
090                            durationHour, durationMinute, allDay, timeZoneSensitive, type,
091                            repeating, recurrence, remindBy, firstReminder, secondReminder,
092                            serviceContext);
093            }
094    
095            public void deleteEvent(long eventId)
096                    throws com.liferay.portal.kernel.exception.PortalException,
097                            com.liferay.portal.kernel.exception.SystemException {
098                    _calEventService.deleteEvent(eventId);
099            }
100    
101            public java.io.File exportEvent(long eventId)
102                    throws com.liferay.portal.kernel.exception.PortalException,
103                            com.liferay.portal.kernel.exception.SystemException {
104                    return _calEventService.exportEvent(eventId);
105            }
106    
107            public java.io.File exportGroupEvents(long groupId,
108                    java.lang.String fileName)
109                    throws com.liferay.portal.kernel.exception.PortalException,
110                            com.liferay.portal.kernel.exception.SystemException {
111                    return _calEventService.exportGroupEvents(groupId, fileName);
112            }
113    
114            public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
115                    throws com.liferay.portal.kernel.exception.PortalException,
116                            com.liferay.portal.kernel.exception.SystemException {
117                    return _calEventService.getEvent(eventId);
118            }
119    
120            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
121                    long groupId, java.util.Calendar cal, java.lang.String type)
122                    throws com.liferay.portal.kernel.exception.PortalException,
123                            com.liferay.portal.kernel.exception.SystemException {
124                    return _calEventService.getEvents(groupId, cal, type);
125            }
126    
127            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
128                    long groupId, java.util.Calendar cal, java.lang.String[] types)
129                    throws com.liferay.portal.kernel.exception.PortalException,
130                            com.liferay.portal.kernel.exception.SystemException {
131                    return _calEventService.getEvents(groupId, cal, types);
132            }
133    
134            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
135                    long groupId, java.lang.String type, int start, int end)
136                    throws com.liferay.portal.kernel.exception.SystemException {
137                    return _calEventService.getEvents(groupId, type, start, end);
138            }
139    
140            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
141                    long groupId, java.lang.String[] types, int start, int end)
142                    throws com.liferay.portal.kernel.exception.SystemException {
143                    return _calEventService.getEvents(groupId, types, start, end);
144            }
145    
146            public int getEventsCount(long groupId, java.lang.String type)
147                    throws com.liferay.portal.kernel.exception.SystemException {
148                    return _calEventService.getEventsCount(groupId, type);
149            }
150    
151            public int getEventsCount(long groupId, java.lang.String[] types)
152                    throws com.liferay.portal.kernel.exception.SystemException {
153                    return _calEventService.getEventsCount(groupId, types);
154            }
155    
156            public boolean hasEvents(long groupId, java.util.Calendar cal)
157                    throws com.liferay.portal.kernel.exception.PortalException,
158                            com.liferay.portal.kernel.exception.SystemException {
159                    return _calEventService.hasEvents(groupId, cal);
160            }
161    
162            public boolean hasEvents(long groupId, java.util.Calendar cal,
163                    java.lang.String type)
164                    throws com.liferay.portal.kernel.exception.PortalException,
165                            com.liferay.portal.kernel.exception.SystemException {
166                    return _calEventService.hasEvents(groupId, cal, type);
167            }
168    
169            public boolean hasEvents(long groupId, java.util.Calendar cal,
170                    java.lang.String[] types)
171                    throws com.liferay.portal.kernel.exception.PortalException,
172                            com.liferay.portal.kernel.exception.SystemException {
173                    return _calEventService.hasEvents(groupId, cal, types);
174            }
175    
176            public void importICal4j(long groupId, java.io.InputStream inputStream)
177                    throws com.liferay.portal.kernel.exception.PortalException,
178                            com.liferay.portal.kernel.exception.SystemException {
179                    _calEventService.importICal4j(groupId, inputStream);
180            }
181    
182            public com.liferay.portlet.calendar.model.CalEvent updateEvent(
183                    long eventId, java.lang.String title, java.lang.String description,
184                    java.lang.String location, int startDateMonth, int startDateDay,
185                    int startDateYear, int startDateHour, int startDateMinute,
186                    int durationHour, int durationMinute, boolean allDay,
187                    boolean timeZoneSensitive, java.lang.String type, boolean repeating,
188                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
189                    int firstReminder, int secondReminder,
190                    com.liferay.portal.service.ServiceContext serviceContext)
191                    throws com.liferay.portal.kernel.exception.PortalException,
192                            com.liferay.portal.kernel.exception.SystemException {
193                    return _calEventService.updateEvent(eventId, title, description,
194                            location, startDateMonth, startDateDay, startDateYear,
195                            startDateHour, startDateMinute, durationHour, durationMinute,
196                            allDay, timeZoneSensitive, type, repeating, recurrence, remindBy,
197                            firstReminder, secondReminder, serviceContext);
198            }
199    
200            /**
201            * @deprecated {@link #updateEvent(long, String, String, String, int, int,
202            int, int, int, int, int, boolean, boolean, String, boolean,
203            TZSRecurrence, int, int, int, ServiceContext)}
204            */
205            public com.liferay.portlet.calendar.model.CalEvent updateEvent(
206                    long eventId, java.lang.String title, java.lang.String description,
207                    java.lang.String location, int startDateMonth, int startDateDay,
208                    int startDateYear, int startDateHour, int startDateMinute,
209                    int endDateMonth, int endDateDay, int endDateYear, int durationHour,
210                    int durationMinute, boolean allDay, boolean timeZoneSensitive,
211                    java.lang.String type, boolean repeating,
212                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
213                    int firstReminder, int secondReminder,
214                    com.liferay.portal.service.ServiceContext serviceContext)
215                    throws com.liferay.portal.kernel.exception.PortalException,
216                            com.liferay.portal.kernel.exception.SystemException {
217                    return _calEventService.updateEvent(eventId, title, description,
218                            location, startDateMonth, startDateDay, startDateYear,
219                            startDateHour, startDateMinute, endDateMonth, endDateDay,
220                            endDateYear, durationHour, durationMinute, allDay,
221                            timeZoneSensitive, type, repeating, recurrence, remindBy,
222                            firstReminder, secondReminder, serviceContext);
223            }
224    
225            /**
226             * @deprecated Renamed to {@link #getWrappedService}
227             */
228            public CalEventService getWrappedCalEventService() {
229                    return _calEventService;
230            }
231    
232            /**
233             * @deprecated Renamed to {@link #setWrappedService}
234             */
235            public void setWrappedCalEventService(CalEventService calEventService) {
236                    _calEventService = calEventService;
237            }
238    
239            public CalEventService getWrappedService() {
240                    return _calEventService;
241            }
242    
243            public void setWrappedService(CalEventService calEventService) {
244                    _calEventService = calEventService;
245            }
246    
247            private CalEventService _calEventService;
248    }