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.journal.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link JournalFeedService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see JournalFeedService
026     * @generated
027     */
028    @ProviderType
029    public class JournalFeedServiceWrapper implements JournalFeedService,
030            ServiceWrapper<JournalFeedService> {
031            public JournalFeedServiceWrapper(JournalFeedService journalFeedService) {
032                    _journalFeedService = journalFeedService;
033            }
034    
035            @Override
036            public com.liferay.portlet.journal.model.JournalFeed addFeed(long groupId,
037                    java.lang.String feedId, boolean autoFeedId, java.lang.String name,
038                    java.lang.String description, java.lang.String type,
039                    java.lang.String structureId, java.lang.String templateId,
040                    java.lang.String rendererTemplateId, int delta,
041                    java.lang.String orderByCol, java.lang.String orderByType,
042                    java.lang.String targetLayoutFriendlyUrl,
043                    java.lang.String targetPortletId, java.lang.String contentField,
044                    java.lang.String feedType, double feedVersion,
045                    com.liferay.portal.service.ServiceContext serviceContext)
046                    throws com.liferay.portal.kernel.exception.PortalException {
047                    return _journalFeedService.addFeed(groupId, feedId, autoFeedId, name,
048                            description, type, structureId, templateId, rendererTemplateId,
049                            delta, orderByCol, orderByType, targetLayoutFriendlyUrl,
050                            targetPortletId, contentField, feedType, feedVersion, serviceContext);
051            }
052    
053            @Override
054            public void deleteFeed(long feedId)
055                    throws com.liferay.portal.kernel.exception.PortalException {
056                    _journalFeedService.deleteFeed(feedId);
057            }
058    
059            /**
060            * @deprecated As of 6.2.0, replaced by {@link #deleteFeed(long, String)}
061            */
062            @Deprecated
063            @Override
064            public void deleteFeed(long groupId, long feedId)
065                    throws com.liferay.portal.kernel.exception.PortalException {
066                    _journalFeedService.deleteFeed(groupId, feedId);
067            }
068    
069            @Override
070            public void deleteFeed(long groupId, java.lang.String feedId)
071                    throws com.liferay.portal.kernel.exception.PortalException {
072                    _journalFeedService.deleteFeed(groupId, feedId);
073            }
074    
075            /**
076            * Returns the Spring bean ID for this bean.
077            *
078            * @return the Spring bean ID for this bean
079            */
080            @Override
081            public java.lang.String getBeanIdentifier() {
082                    return _journalFeedService.getBeanIdentifier();
083            }
084    
085            @Override
086            public com.liferay.portlet.journal.model.JournalFeed getFeed(long feedId)
087                    throws com.liferay.portal.kernel.exception.PortalException {
088                    return _journalFeedService.getFeed(feedId);
089            }
090    
091            /**
092            * @deprecated As of 6.2.0, replaced by {@link #getFeed(long, String)}
093            */
094            @Deprecated
095            @Override
096            public com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId,
097                    long feedId) throws com.liferay.portal.kernel.exception.PortalException {
098                    return _journalFeedService.getFeed(groupId, feedId);
099            }
100    
101            @Override
102            public com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId,
103                    java.lang.String feedId)
104                    throws com.liferay.portal.kernel.exception.PortalException {
105                    return _journalFeedService.getFeed(groupId, feedId);
106            }
107    
108            /**
109            * Sets the Spring bean ID for this bean.
110            *
111            * @param beanIdentifier the Spring bean ID for this bean
112            */
113            @Override
114            public void setBeanIdentifier(java.lang.String beanIdentifier) {
115                    _journalFeedService.setBeanIdentifier(beanIdentifier);
116            }
117    
118            @Override
119            public com.liferay.portlet.journal.model.JournalFeed updateFeed(
120                    long groupId, java.lang.String feedId, java.lang.String name,
121                    java.lang.String description, java.lang.String type,
122                    java.lang.String structureId, java.lang.String templateId,
123                    java.lang.String rendererTemplateId, int delta,
124                    java.lang.String orderByCol, java.lang.String orderByType,
125                    java.lang.String targetLayoutFriendlyUrl,
126                    java.lang.String targetPortletId, java.lang.String contentField,
127                    java.lang.String feedType, double feedVersion,
128                    com.liferay.portal.service.ServiceContext serviceContext)
129                    throws com.liferay.portal.kernel.exception.PortalException {
130                    return _journalFeedService.updateFeed(groupId, feedId, name,
131                            description, type, structureId, templateId, rendererTemplateId,
132                            delta, orderByCol, orderByType, targetLayoutFriendlyUrl,
133                            targetPortletId, contentField, feedType, feedVersion, serviceContext);
134            }
135    
136            /**
137             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
138             */
139            @Deprecated
140            public JournalFeedService getWrappedJournalFeedService() {
141                    return _journalFeedService;
142            }
143    
144            /**
145             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
146             */
147            @Deprecated
148            public void setWrappedJournalFeedService(
149                    JournalFeedService journalFeedService) {
150                    _journalFeedService = journalFeedService;
151            }
152    
153            @Override
154            public JournalFeedService getWrappedService() {
155                    return _journalFeedService;
156            }
157    
158            @Override
159            public void setWrappedService(JournalFeedService journalFeedService) {
160                    _journalFeedService = journalFeedService;
161            }
162    
163            private JournalFeedService _journalFeedService;
164    }