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.announcements.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link AnnouncementsEntryService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       AnnouncementsEntryService
024     * @generated
025     */
026    public class AnnouncementsEntryServiceWrapper
027            implements AnnouncementsEntryService {
028            public AnnouncementsEntryServiceWrapper(
029                    AnnouncementsEntryService announcementsEntryService) {
030                    _announcementsEntryService = announcementsEntryService;
031            }
032    
033            public com.liferay.portlet.announcements.model.AnnouncementsEntry addEntry(
034                    long plid, long classNameId, long classPK, java.lang.String title,
035                    java.lang.String content, java.lang.String url, java.lang.String type,
036                    int displayDateMonth, int displayDateDay, int displayDateYear,
037                    int displayDateHour, int displayDateMinute, int expirationDateMonth,
038                    int expirationDateDay, int expirationDateYear, int expirationDateHour,
039                    int expirationDateMinute, int priority, boolean alert)
040                    throws com.liferay.portal.kernel.exception.PortalException,
041                            com.liferay.portal.kernel.exception.SystemException {
042                    return _announcementsEntryService.addEntry(plid, classNameId, classPK,
043                            title, content, url, type, displayDateMonth, displayDateDay,
044                            displayDateYear, displayDateHour, displayDateMinute,
045                            expirationDateMonth, expirationDateDay, expirationDateYear,
046                            expirationDateHour, expirationDateMinute, priority, alert);
047            }
048    
049            public void deleteEntry(long entryId)
050                    throws com.liferay.portal.kernel.exception.PortalException,
051                            com.liferay.portal.kernel.exception.SystemException {
052                    _announcementsEntryService.deleteEntry(entryId);
053            }
054    
055            public com.liferay.portlet.announcements.model.AnnouncementsEntry updateEntry(
056                    long entryId, java.lang.String title, java.lang.String content,
057                    java.lang.String url, java.lang.String type, int displayDateMonth,
058                    int displayDateDay, int displayDateYear, int displayDateHour,
059                    int displayDateMinute, int expirationDateMonth, int expirationDateDay,
060                    int expirationDateYear, int expirationDateHour,
061                    int expirationDateMinute, int priority)
062                    throws com.liferay.portal.kernel.exception.PortalException,
063                            com.liferay.portal.kernel.exception.SystemException {
064                    return _announcementsEntryService.updateEntry(entryId, title, content,
065                            url, type, displayDateMonth, displayDateDay, displayDateYear,
066                            displayDateHour, displayDateMinute, expirationDateMonth,
067                            expirationDateDay, expirationDateYear, expirationDateHour,
068                            expirationDateMinute, priority);
069            }
070    
071            public AnnouncementsEntryService getWrappedAnnouncementsEntryService() {
072                    return _announcementsEntryService;
073            }
074    
075            private AnnouncementsEntryService _announcementsEntryService;
076    }