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 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 void importICal4j(long groupId, java.io.File file)
076                    throws com.liferay.portal.kernel.exception.PortalException,
077                            com.liferay.portal.kernel.exception.SystemException {
078                    _calEventService.importICal4j(groupId, file);
079            }
080    
081            public com.liferay.portlet.calendar.model.CalEvent updateEvent(
082                    long eventId, java.lang.String title, java.lang.String description,
083                    int startDateMonth, int startDateDay, int startDateYear,
084                    int startDateHour, int startDateMinute, int endDateMonth,
085                    int endDateDay, int endDateYear, int durationHour, int durationMinute,
086                    boolean allDay, boolean timeZoneSensitive, java.lang.String type,
087                    boolean repeating,
088                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
089                    int firstReminder, int secondReminder,
090                    com.liferay.portal.service.ServiceContext serviceContext)
091                    throws com.liferay.portal.kernel.exception.PortalException,
092                            com.liferay.portal.kernel.exception.SystemException {
093                    return _calEventService.updateEvent(eventId, title, description,
094                            startDateMonth, startDateDay, startDateYear, startDateHour,
095                            startDateMinute, endDateMonth, endDateDay, endDateYear,
096                            durationHour, durationMinute, allDay, timeZoneSensitive, type,
097                            repeating, recurrence, remindBy, firstReminder, secondReminder,
098                            serviceContext);
099            }
100    
101            public CalEventService getWrappedCalEventService() {
102                    return _calEventService;
103            }
104    
105            private CalEventService _calEventService;
106    }