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