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