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