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 ddmStructureKey,
039                    java.lang.String ddmTemplateKey,
040                    java.lang.String ddmRendererTemplateKey, 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, ddmStructureKey, ddmTemplateKey,
049                            ddmRendererTemplateKey, delta, orderByCol, orderByType,
050                            targetLayoutFriendlyUrl, targetPortletId, contentField, feedType,
051                            feedVersion, serviceContext);
052            }
053    
054            @Override
055            public void deleteFeed(long feedId)
056                    throws com.liferay.portal.kernel.exception.PortalException {
057                    _journalFeedService.deleteFeed(feedId);
058            }
059    
060            /**
061            * @deprecated As of 6.2.0, replaced by {@link #deleteFeed(long, String)}
062            */
063            @Deprecated
064            @Override
065            public void deleteFeed(long groupId, long feedId)
066                    throws com.liferay.portal.kernel.exception.PortalException {
067                    _journalFeedService.deleteFeed(groupId, feedId);
068            }
069    
070            @Override
071            public void deleteFeed(long groupId, java.lang.String feedId)
072                    throws com.liferay.portal.kernel.exception.PortalException {
073                    _journalFeedService.deleteFeed(groupId, feedId);
074            }
075    
076            /**
077            * Returns the Spring bean ID for this bean.
078            *
079            * @return the Spring bean ID for this bean
080            */
081            @Override
082            public java.lang.String getBeanIdentifier() {
083                    return _journalFeedService.getBeanIdentifier();
084            }
085    
086            @Override
087            public com.liferay.portlet.journal.model.JournalFeed getFeed(long feedId)
088                    throws com.liferay.portal.kernel.exception.PortalException {
089                    return _journalFeedService.getFeed(feedId);
090            }
091    
092            /**
093            * @deprecated As of 6.2.0, replaced by {@link #getFeed(long, String)}
094            */
095            @Deprecated
096            @Override
097            public com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId,
098                    long feedId) throws com.liferay.portal.kernel.exception.PortalException {
099                    return _journalFeedService.getFeed(groupId, feedId);
100            }
101    
102            @Override
103            public com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId,
104                    java.lang.String feedId)
105                    throws com.liferay.portal.kernel.exception.PortalException {
106                    return _journalFeedService.getFeed(groupId, feedId);
107            }
108    
109            /**
110            * Sets the Spring bean ID for this bean.
111            *
112            * @param beanIdentifier the Spring bean ID for this bean
113            */
114            @Override
115            public void setBeanIdentifier(java.lang.String beanIdentifier) {
116                    _journalFeedService.setBeanIdentifier(beanIdentifier);
117            }
118    
119            @Override
120            public com.liferay.portlet.journal.model.JournalFeed updateFeed(
121                    long groupId, java.lang.String feedId, java.lang.String name,
122                    java.lang.String description, java.lang.String ddmStructureKey,
123                    java.lang.String ddmTemplateKey,
124                    java.lang.String ddmRendererTemplateKey, int delta,
125                    java.lang.String orderByCol, java.lang.String orderByType,
126                    java.lang.String targetLayoutFriendlyUrl,
127                    java.lang.String targetPortletId, java.lang.String contentField,
128                    java.lang.String feedType, double feedVersion,
129                    com.liferay.portal.service.ServiceContext serviceContext)
130                    throws com.liferay.portal.kernel.exception.PortalException {
131                    return _journalFeedService.updateFeed(groupId, feedId, name,
132                            description, ddmStructureKey, ddmTemplateKey,
133                            ddmRendererTemplateKey, delta, orderByCol, orderByType,
134                            targetLayoutFriendlyUrl, targetPortletId, contentField, feedType,
135                            feedVersion, serviceContext);
136            }
137    
138            /**
139             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
140             */
141            @Deprecated
142            public JournalFeedService getWrappedJournalFeedService() {
143                    return _journalFeedService;
144            }
145    
146            /**
147             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
148             */
149            @Deprecated
150            public void setWrappedJournalFeedService(
151                    JournalFeedService journalFeedService) {
152                    _journalFeedService = journalFeedService;
153            }
154    
155            @Override
156            public JournalFeedService getWrappedService() {
157                    return _journalFeedService;
158            }
159    
160            @Override
161            public void setWrappedService(JournalFeedService journalFeedService) {
162                    _journalFeedService = journalFeedService;
163            }
164    
165            private JournalFeedService _journalFeedService;
166    }