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 CalEventService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       CalEventService
025     * @generated
026     */
027    public class CalEventServiceWrapper implements CalEventService {
028            public CalEventServiceWrapper(CalEventService calEventService) {
029                    _calEventService = calEventService;
030            }
031    
032            public com.liferay.portlet.calendar.model.CalEvent addEvent(
033                    java.lang.String title, java.lang.String description,
034                    int startDateMonth, int startDateDay, int startDateYear,
035                    int startDateHour, int startDateMinute, int endDateMonth,
036                    int endDateDay, int endDateYear, int durationHour, int durationMinute,
037                    boolean allDay, boolean timeZoneSensitive, java.lang.String type,
038                    boolean repeating,
039                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
040                    int firstReminder, int secondReminder,
041                    com.liferay.portal.service.ServiceContext serviceContext)
042                    throws com.liferay.portal.kernel.exception.PortalException,
043                            com.liferay.portal.kernel.exception.SystemException {
044                    return _calEventService.addEvent(title, description, startDateMonth,
045                            startDateDay, startDateYear, startDateHour, startDateMinute,
046                            endDateMonth, endDateDay, endDateYear, durationHour,
047                            durationMinute, allDay, timeZoneSensitive, type, repeating,
048                            recurrence, remindBy, firstReminder, secondReminder, serviceContext);
049            }
050    
051            public void deleteEvent(long eventId)
052                    throws com.liferay.portal.kernel.exception.PortalException,
053                            com.liferay.portal.kernel.exception.SystemException {
054                    _calEventService.deleteEvent(eventId);
055            }
056    
057            public java.io.File exportEvent(long eventId)
058                    throws com.liferay.portal.kernel.exception.PortalException,
059                            com.liferay.portal.kernel.exception.SystemException {
060                    return _calEventService.exportEvent(eventId);
061            }
062    
063            public java.io.File exportGroupEvents(long groupId,
064                    java.lang.String fileName)
065                    throws com.liferay.portal.kernel.exception.PortalException,
066                            com.liferay.portal.kernel.exception.SystemException {
067                    return _calEventService.exportGroupEvents(groupId, fileName);
068            }
069    
070            public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException {
073                    return _calEventService.getEvent(eventId);
074            }
075    
076            public void importICal4j(long groupId, java.io.File file)
077                    throws com.liferay.portal.kernel.exception.PortalException,
078                            com.liferay.portal.kernel.exception.SystemException {
079                    _calEventService.importICal4j(groupId, file);
080            }
081    
082            public com.liferay.portlet.calendar.model.CalEvent updateEvent(
083                    long eventId, java.lang.String title, java.lang.String description,
084                    int startDateMonth, int startDateDay, int startDateYear,
085                    int startDateHour, int startDateMinute, int endDateMonth,
086                    int endDateDay, int endDateYear, int durationHour, int durationMinute,
087                    boolean allDay, boolean timeZoneSensitive, java.lang.String type,
088                    boolean repeating,
089                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
090                    int firstReminder, int secondReminder,
091                    com.liferay.portal.service.ServiceContext serviceContext)
092                    throws com.liferay.portal.kernel.exception.PortalException,
093                            com.liferay.portal.kernel.exception.SystemException {
094                    return _calEventService.updateEvent(eventId, title, description,
095                            startDateMonth, startDateDay, startDateYear, startDateHour,
096                            startDateMinute, endDateMonth, endDateDay, endDateYear,
097                            durationHour, durationMinute, allDay, timeZoneSensitive, type,
098                            repeating, recurrence, remindBy, firstReminder, secondReminder,
099                            serviceContext);
100            }
101    
102            public CalEventService getWrappedCalEventService() {
103                    return _calEventService;
104            }
105    
106            private CalEventService _calEventService;
107    }