1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.journal.service;
16  
17  /**
18   * <a href="JournalFeedServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link JournalFeedService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       JournalFeedService
31   * @generated
32   */
33  public class JournalFeedServiceWrapper implements JournalFeedService {
34      public JournalFeedServiceWrapper(JournalFeedService journalFeedService) {
35          _journalFeedService = journalFeedService;
36      }
37  
38      public com.liferay.portlet.journal.model.JournalFeed addFeed(long groupId,
39          java.lang.String feedId, boolean autoFeedId, java.lang.String name,
40          java.lang.String description, java.lang.String type,
41          java.lang.String structureId, java.lang.String templateId,
42          java.lang.String rendererTemplateId, int delta,
43          java.lang.String orderByCol, java.lang.String orderByType,
44          java.lang.String targetLayoutFriendlyUrl,
45          java.lang.String targetPortletId, java.lang.String contentField,
46          java.lang.String feedType, double feedVersion,
47          com.liferay.portal.service.ServiceContext serviceContext)
48          throws com.liferay.portal.PortalException,
49              com.liferay.portal.SystemException {
50          return _journalFeedService.addFeed(groupId, feedId, autoFeedId, name,
51              description, type, structureId, templateId, rendererTemplateId,
52              delta, orderByCol, orderByType, targetLayoutFriendlyUrl,
53              targetPortletId, contentField, feedType, feedVersion, serviceContext);
54      }
55  
56      public void deleteFeed(long groupId, long feedId)
57          throws com.liferay.portal.PortalException,
58              com.liferay.portal.SystemException {
59          _journalFeedService.deleteFeed(groupId, feedId);
60      }
61  
62      public void deleteFeed(long groupId, java.lang.String feedId)
63          throws com.liferay.portal.PortalException,
64              com.liferay.portal.SystemException {
65          _journalFeedService.deleteFeed(groupId, feedId);
66      }
67  
68      public com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId,
69          long feedId)
70          throws com.liferay.portal.PortalException,
71              com.liferay.portal.SystemException {
72          return _journalFeedService.getFeed(groupId, feedId);
73      }
74  
75      public com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId,
76          java.lang.String feedId)
77          throws com.liferay.portal.PortalException,
78              com.liferay.portal.SystemException {
79          return _journalFeedService.getFeed(groupId, feedId);
80      }
81  
82      public com.liferay.portlet.journal.model.JournalFeed updateFeed(
83          long groupId, java.lang.String feedId, java.lang.String name,
84          java.lang.String description, java.lang.String type,
85          java.lang.String structureId, java.lang.String templateId,
86          java.lang.String rendererTemplateId, int delta,
87          java.lang.String orderByCol, java.lang.String orderByType,
88          java.lang.String targetLayoutFriendlyUrl,
89          java.lang.String targetPortletId, java.lang.String contentField,
90          java.lang.String feedType, double feedVersion,
91          com.liferay.portal.service.ServiceContext serviceContext)
92          throws com.liferay.portal.PortalException,
93              com.liferay.portal.SystemException {
94          return _journalFeedService.updateFeed(groupId, feedId, name,
95              description, type, structureId, templateId, rendererTemplateId,
96              delta, orderByCol, orderByType, targetLayoutFriendlyUrl,
97              targetPortletId, contentField, feedType, feedVersion, serviceContext);
98      }
99  
100     public JournalFeedService getWrappedJournalFeedService() {
101         return _journalFeedService;
102     }
103 
104     private JournalFeedService _journalFeedService;
105 }