001    /**
002     * Copyright (c) 2000-present 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    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link AnnouncementsEntryService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see AnnouncementsEntryService
026     * @generated
027     */
028    @ProviderType
029    public class AnnouncementsEntryServiceWrapper
030            implements AnnouncementsEntryService,
031                    ServiceWrapper<AnnouncementsEntryService> {
032            public AnnouncementsEntryServiceWrapper(
033                    AnnouncementsEntryService announcementsEntryService) {
034                    _announcementsEntryService = announcementsEntryService;
035            }
036    
037            @Override
038            public com.liferay.portlet.announcements.model.AnnouncementsEntry addEntry(
039                    long plid, long classNameId, long classPK, java.lang.String title,
040                    java.lang.String content, java.lang.String url, java.lang.String type,
041                    int displayDateMonth, int displayDateDay, int displayDateYear,
042                    int displayDateHour, int displayDateMinute, boolean displayImmediately,
043                    int expirationDateMonth, int expirationDateDay, int expirationDateYear,
044                    int expirationDateHour, int expirationDateMinute, int priority,
045                    boolean alert)
046                    throws com.liferay.portal.kernel.exception.PortalException {
047                    return _announcementsEntryService.addEntry(plid, classNameId, classPK,
048                            title, content, url, type, displayDateMonth, displayDateDay,
049                            displayDateYear, displayDateHour, displayDateMinute,
050                            displayImmediately, expirationDateMonth, expirationDateDay,
051                            expirationDateYear, expirationDateHour, expirationDateMinute,
052                            priority, alert);
053            }
054    
055            /**
056            * @deprecated As of 6.2.0, replaced by {@link #addEntry(long, long, long,
057            String, String, String, String, int, int, int, int, int,
058            boolean, int, int, int, int, int, int, boolean)}
059            */
060            @Deprecated
061            @Override
062            public com.liferay.portlet.announcements.model.AnnouncementsEntry addEntry(
063                    long plid, long classNameId, long classPK, java.lang.String title,
064                    java.lang.String content, java.lang.String url, java.lang.String type,
065                    int displayDateMonth, int displayDateDay, int displayDateYear,
066                    int displayDateHour, int displayDateMinute, int expirationDateMonth,
067                    int expirationDateDay, int expirationDateYear, int expirationDateHour,
068                    int expirationDateMinute, int priority, boolean alert)
069                    throws com.liferay.portal.kernel.exception.PortalException {
070                    return _announcementsEntryService.addEntry(plid, classNameId, classPK,
071                            title, content, url, type, displayDateMonth, displayDateDay,
072                            displayDateYear, displayDateHour, displayDateMinute,
073                            expirationDateMonth, expirationDateDay, expirationDateYear,
074                            expirationDateHour, expirationDateMinute, priority, alert);
075            }
076    
077            @Override
078            public void deleteEntry(long entryId)
079                    throws com.liferay.portal.kernel.exception.PortalException {
080                    _announcementsEntryService.deleteEntry(entryId);
081            }
082    
083            /**
084            * Returns the Spring bean ID for this bean.
085            *
086            * @return the Spring bean ID for this bean
087            */
088            @Override
089            public java.lang.String getBeanIdentifier() {
090                    return _announcementsEntryService.getBeanIdentifier();
091            }
092    
093            @Override
094            public com.liferay.portlet.announcements.model.AnnouncementsEntry getEntry(
095                    long entryId)
096                    throws com.liferay.portal.kernel.exception.PortalException {
097                    return _announcementsEntryService.getEntry(entryId);
098            }
099    
100            /**
101            * Sets the Spring bean ID for this bean.
102            *
103            * @param beanIdentifier the Spring bean ID for this bean
104            */
105            @Override
106            public void setBeanIdentifier(java.lang.String beanIdentifier) {
107                    _announcementsEntryService.setBeanIdentifier(beanIdentifier);
108            }
109    
110            @Override
111            public com.liferay.portlet.announcements.model.AnnouncementsEntry updateEntry(
112                    long entryId, java.lang.String title, java.lang.String content,
113                    java.lang.String url, java.lang.String type, int displayDateMonth,
114                    int displayDateDay, int displayDateYear, int displayDateHour,
115                    int displayDateMinute, boolean displayImmediately,
116                    int expirationDateMonth, int expirationDateDay, int expirationDateYear,
117                    int expirationDateHour, int expirationDateMinute, int priority)
118                    throws com.liferay.portal.kernel.exception.PortalException {
119                    return _announcementsEntryService.updateEntry(entryId, title, content,
120                            url, type, displayDateMonth, displayDateDay, displayDateYear,
121                            displayDateHour, displayDateMinute, displayImmediately,
122                            expirationDateMonth, expirationDateDay, expirationDateYear,
123                            expirationDateHour, expirationDateMinute, priority);
124            }
125    
126            /**
127             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
128             */
129            @Deprecated
130            public AnnouncementsEntryService getWrappedAnnouncementsEntryService() {
131                    return _announcementsEntryService;
132            }
133    
134            /**
135             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
136             */
137            @Deprecated
138            public void setWrappedAnnouncementsEntryService(
139                    AnnouncementsEntryService announcementsEntryService) {
140                    _announcementsEntryService = announcementsEntryService;
141            }
142    
143            @Override
144            public AnnouncementsEntryService getWrappedService() {
145                    return _announcementsEntryService;
146            }
147    
148            @Override
149            public void setWrappedService(
150                    AnnouncementsEntryService announcementsEntryService) {
151                    _announcementsEntryService = announcementsEntryService;
152            }
153    
154            private AnnouncementsEntryService _announcementsEntryService;
155    }