001    /**
002     * Copyright (c) 2000-2010 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    
018    /**
019     * <p>
020     * This class is a wrapper for {@link JournalFeedService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       JournalFeedService
025     * @generated
026     */
027    public class JournalFeedServiceWrapper implements JournalFeedService {
028            public JournalFeedServiceWrapper(JournalFeedService journalFeedService) {
029                    _journalFeedService = journalFeedService;
030            }
031    
032            public com.liferay.portlet.journal.model.JournalFeed addFeed(long groupId,
033                    java.lang.String feedId, boolean autoFeedId, java.lang.String name,
034                    java.lang.String description, java.lang.String type,
035                    java.lang.String structureId, java.lang.String templateId,
036                    java.lang.String rendererTemplateId, int delta,
037                    java.lang.String orderByCol, java.lang.String orderByType,
038                    java.lang.String targetLayoutFriendlyUrl,
039                    java.lang.String targetPortletId, java.lang.String contentField,
040                    java.lang.String feedType, double feedVersion,
041                    com.liferay.portal.service.ServiceContext serviceContext)
042                    throws com.liferay.portal.kernel.exception.PortalException,
043                            com.liferay.portal.kernel.exception.SystemException {
044                    return _journalFeedService.addFeed(groupId, feedId, autoFeedId, name,
045                            description, type, structureId, templateId, rendererTemplateId,
046                            delta, orderByCol, orderByType, targetLayoutFriendlyUrl,
047                            targetPortletId, contentField, feedType, feedVersion, serviceContext);
048            }
049    
050            public void deleteFeed(long groupId, long feedId)
051                    throws com.liferay.portal.kernel.exception.PortalException,
052                            com.liferay.portal.kernel.exception.SystemException {
053                    _journalFeedService.deleteFeed(groupId, feedId);
054            }
055    
056            public void deleteFeed(long groupId, java.lang.String feedId)
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException {
059                    _journalFeedService.deleteFeed(groupId, feedId);
060            }
061    
062            public com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId,
063                    long feedId)
064                    throws com.liferay.portal.kernel.exception.PortalException,
065                            com.liferay.portal.kernel.exception.SystemException {
066                    return _journalFeedService.getFeed(groupId, feedId);
067            }
068    
069            public com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId,
070                    java.lang.String feedId)
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException {
073                    return _journalFeedService.getFeed(groupId, feedId);
074            }
075    
076            public com.liferay.portlet.journal.model.JournalFeed updateFeed(
077                    long groupId, java.lang.String feedId, java.lang.String name,
078                    java.lang.String description, java.lang.String type,
079                    java.lang.String structureId, java.lang.String templateId,
080                    java.lang.String rendererTemplateId, int delta,
081                    java.lang.String orderByCol, java.lang.String orderByType,
082                    java.lang.String targetLayoutFriendlyUrl,
083                    java.lang.String targetPortletId, java.lang.String contentField,
084                    java.lang.String feedType, double feedVersion,
085                    com.liferay.portal.service.ServiceContext serviceContext)
086                    throws com.liferay.portal.kernel.exception.PortalException,
087                            com.liferay.portal.kernel.exception.SystemException {
088                    return _journalFeedService.updateFeed(groupId, feedId, name,
089                            description, type, structureId, templateId, rendererTemplateId,
090                            delta, orderByCol, orderByType, targetLayoutFriendlyUrl,
091                            targetPortletId, contentField, feedType, feedVersion, serviceContext);
092            }
093    
094            public JournalFeedService getWrappedJournalFeedService() {
095                    return _journalFeedService;
096            }
097    
098            private JournalFeedService _journalFeedService;
099    }