1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.journal.service;
16  
17  
18  /**
19   * <a href="JournalFeedServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link JournalFeedService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       JournalFeedService
32   * @generated
33   */
34  public class JournalFeedServiceWrapper implements JournalFeedService {
35      public JournalFeedServiceWrapper(JournalFeedService journalFeedService) {
36          _journalFeedService = journalFeedService;
37      }
38  
39      public com.liferay.portlet.journal.model.JournalFeed addFeed(long groupId,
40          java.lang.String feedId, boolean autoFeedId, java.lang.String name,
41          java.lang.String description, java.lang.String type,
42          java.lang.String structureId, java.lang.String templateId,
43          java.lang.String rendererTemplateId, int delta,
44          java.lang.String orderByCol, java.lang.String orderByType,
45          java.lang.String targetLayoutFriendlyUrl,
46          java.lang.String targetPortletId, java.lang.String contentField,
47          java.lang.String feedType, double feedVersion,
48          com.liferay.portal.service.ServiceContext serviceContext)
49          throws com.liferay.portal.kernel.exception.PortalException,
50              com.liferay.portal.kernel.exception.SystemException {
51          return _journalFeedService.addFeed(groupId, feedId, autoFeedId, name,
52              description, type, structureId, templateId, rendererTemplateId,
53              delta, orderByCol, orderByType, targetLayoutFriendlyUrl,
54              targetPortletId, contentField, feedType, feedVersion, serviceContext);
55      }
56  
57      public void deleteFeed(long groupId, long feedId)
58          throws com.liferay.portal.kernel.exception.PortalException,
59              com.liferay.portal.kernel.exception.SystemException {
60          _journalFeedService.deleteFeed(groupId, feedId);
61      }
62  
63      public void deleteFeed(long groupId, java.lang.String feedId)
64          throws com.liferay.portal.kernel.exception.PortalException,
65              com.liferay.portal.kernel.exception.SystemException {
66          _journalFeedService.deleteFeed(groupId, feedId);
67      }
68  
69      public com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId,
70          long feedId)
71          throws com.liferay.portal.kernel.exception.PortalException,
72              com.liferay.portal.kernel.exception.SystemException {
73          return _journalFeedService.getFeed(groupId, feedId);
74      }
75  
76      public com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId,
77          java.lang.String feedId)
78          throws com.liferay.portal.kernel.exception.PortalException,
79              com.liferay.portal.kernel.exception.SystemException {
80          return _journalFeedService.getFeed(groupId, feedId);
81      }
82  
83      public com.liferay.portlet.journal.model.JournalFeed updateFeed(
84          long groupId, java.lang.String feedId, java.lang.String name,
85          java.lang.String description, java.lang.String type,
86          java.lang.String structureId, java.lang.String templateId,
87          java.lang.String rendererTemplateId, int delta,
88          java.lang.String orderByCol, java.lang.String orderByType,
89          java.lang.String targetLayoutFriendlyUrl,
90          java.lang.String targetPortletId, java.lang.String contentField,
91          java.lang.String feedType, double feedVersion,
92          com.liferay.portal.service.ServiceContext serviceContext)
93          throws com.liferay.portal.kernel.exception.PortalException,
94              com.liferay.portal.kernel.exception.SystemException {
95          return _journalFeedService.updateFeed(groupId, feedId, name,
96              description, type, structureId, templateId, rendererTemplateId,
97              delta, orderByCol, orderByType, targetLayoutFriendlyUrl,
98              targetPortletId, contentField, feedType, feedVersion, serviceContext);
99      }
100 
101     public JournalFeedService getWrappedJournalFeedService() {
102         return _journalFeedService;
103     }
104 
105     private JournalFeedService _journalFeedService;
106 }