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