001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.calendar.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link CalEventService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       CalEventService
024     * @generated
025     */
026    public class CalEventServiceWrapper implements CalEventService {
027            public CalEventServiceWrapper(CalEventService calEventService) {
028                    _calEventService = calEventService;
029            }
030    
031            public com.liferay.portlet.calendar.model.CalEvent addEvent(
032                    java.lang.String title, java.lang.String description,
033                    int startDateMonth, int startDateDay, int startDateYear,
034                    int startDateHour, int startDateMinute, int endDateMonth,
035                    int endDateDay, int endDateYear, int durationHour, int durationMinute,
036                    boolean allDay, boolean timeZoneSensitive, java.lang.String type,
037                    boolean repeating,
038                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
039                    int firstReminder, int secondReminder,
040                    com.liferay.portal.service.ServiceContext serviceContext)
041                    throws com.liferay.portal.kernel.exception.PortalException,
042                            com.liferay.portal.kernel.exception.SystemException {
043                    return _calEventService.addEvent(title, description, startDateMonth,
044                            startDateDay, startDateYear, startDateHour, startDateMinute,
045                            endDateMonth, endDateDay, endDateYear, durationHour,
046                            durationMinute, allDay, timeZoneSensitive, type, repeating,
047                            recurrence, remindBy, firstReminder, secondReminder, serviceContext);
048            }
049    
050            public void deleteEvent(long eventId)
051                    throws com.liferay.portal.kernel.exception.PortalException,
052                            com.liferay.portal.kernel.exception.SystemException {
053                    _calEventService.deleteEvent(eventId);
054            }
055    
056            public java.io.File exportEvent(long eventId)
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException {
059                    return _calEventService.exportEvent(eventId);
060            }
061    
062            public java.io.File exportGroupEvents(long groupId,
063                    java.lang.String fileName)
064                    throws com.liferay.portal.kernel.exception.PortalException,
065                            com.liferay.portal.kernel.exception.SystemException {
066                    return _calEventService.exportGroupEvents(groupId, fileName);
067            }
068    
069            public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    return _calEventService.getEvent(eventId);
073            }
074    
075            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
076                    long groupId, java.util.Calendar cal, java.lang.String type)
077                    throws com.liferay.portal.kernel.exception.PortalException,
078                            com.liferay.portal.kernel.exception.SystemException {
079                    return _calEventService.getEvents(groupId, cal, type);
080            }
081    
082            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
083                    long groupId, java.lang.String type, int start, int end)
084                    throws com.liferay.portal.kernel.exception.SystemException {
085                    return _calEventService.getEvents(groupId, type, start, end);
086            }
087    
088            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
089                    long groupId, java.lang.String[] types, int start, int end)
090                    throws com.liferay.portal.kernel.exception.SystemException {
091                    return _calEventService.getEvents(groupId, types, start, end);
092            }
093    
094            public int getEventsCount(long groupId, java.lang.String type)
095                    throws com.liferay.portal.kernel.exception.SystemException {
096                    return _calEventService.getEventsCount(groupId, type);
097            }
098    
099            public int getEventsCount(long groupId, java.lang.String[] types)
100                    throws com.liferay.portal.kernel.exception.SystemException {
101                    return _calEventService.getEventsCount(groupId, types);
102            }
103    
104            public boolean hasEvents(long groupId, java.util.Calendar cal)
105                    throws com.liferay.portal.kernel.exception.PortalException,
106                            com.liferay.portal.kernel.exception.SystemException {
107                    return _calEventService.hasEvents(groupId, cal);
108            }
109    
110            public boolean hasEvents(long groupId, java.util.Calendar cal,
111                    java.lang.String type)
112                    throws com.liferay.portal.kernel.exception.PortalException,
113                            com.liferay.portal.kernel.exception.SystemException {
114                    return _calEventService.hasEvents(groupId, cal, type);
115            }
116    
117            public void importICal4j(long groupId, java.io.File file)
118                    throws com.liferay.portal.kernel.exception.PortalException,
119                            com.liferay.portal.kernel.exception.SystemException {
120                    _calEventService.importICal4j(groupId, file);
121            }
122    
123            public com.liferay.portlet.calendar.model.CalEvent updateEvent(
124                    long eventId, java.lang.String title, java.lang.String description,
125                    int startDateMonth, int startDateDay, int startDateYear,
126                    int startDateHour, int startDateMinute, int endDateMonth,
127                    int endDateDay, int endDateYear, int durationHour, int durationMinute,
128                    boolean allDay, boolean timeZoneSensitive, java.lang.String type,
129                    boolean repeating,
130                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
131                    int firstReminder, int secondReminder,
132                    com.liferay.portal.service.ServiceContext serviceContext)
133                    throws com.liferay.portal.kernel.exception.PortalException,
134                            com.liferay.portal.kernel.exception.SystemException {
135                    return _calEventService.updateEvent(eventId, title, description,
136                            startDateMonth, startDateDay, startDateYear, startDateHour,
137                            startDateMinute, endDateMonth, endDateDay, endDateYear,
138                            durationHour, durationMinute, allDay, timeZoneSensitive, type,
139                            repeating, recurrence, remindBy, firstReminder, secondReminder,
140                            serviceContext);
141            }
142    
143            public CalEventService getWrappedCalEventService() {
144                    return _calEventService;
145            }
146    
147            public void setWrappedCalEventService(CalEventService calEventService) {
148                    _calEventService = calEventService;
149            }
150    
151            private CalEventService _calEventService;
152    }