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 plid,
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          boolean addCommunityPermissions, boolean addGuestPermissions)
49          throws com.liferay.portal.PortalException,
50              com.liferay.portal.SystemException, java.rmi.RemoteException {
51          return _journalFeedService.addFeed(plid, feedId, autoFeedId, name,
52              description, type, structureId, templateId, rendererTemplateId,
53              delta, orderByCol, orderByType, targetLayoutFriendlyUrl,
54              targetPortletId, contentField, feedType, feedVersion,
55              addCommunityPermissions, addGuestPermissions);
56      }
57  
58      public com.liferay.portlet.journal.model.JournalFeed addFeed(long plid,
59          java.lang.String feedId, boolean autoFeedId, java.lang.String name,
60          java.lang.String description, java.lang.String type,
61          java.lang.String structureId, java.lang.String templateId,
62          java.lang.String rendererTemplateId, int delta,
63          java.lang.String orderByCol, java.lang.String orderByType,
64          java.lang.String targetLayoutFriendlyUrl,
65          java.lang.String targetPortletId, java.lang.String contentField,
66          java.lang.String feedType, double feedVersion,
67          java.lang.String[] communityPermissions,
68          java.lang.String[] guestPermissions)
69          throws com.liferay.portal.PortalException,
70              com.liferay.portal.SystemException, java.rmi.RemoteException {
71          return _journalFeedService.addFeed(plid, feedId, autoFeedId, name,
72              description, type, structureId, templateId, rendererTemplateId,
73              delta, orderByCol, orderByType, targetLayoutFriendlyUrl,
74              targetPortletId, contentField, feedType, feedVersion,
75              communityPermissions, guestPermissions);
76      }
77  
78      public void deleteFeed(long groupId, long feedId)
79          throws com.liferay.portal.PortalException,
80              com.liferay.portal.SystemException, java.rmi.RemoteException {
81          _journalFeedService.deleteFeed(groupId, feedId);
82      }
83  
84      public void deleteFeed(long groupId, java.lang.String feedId)
85          throws com.liferay.portal.PortalException,
86              com.liferay.portal.SystemException, java.rmi.RemoteException {
87          _journalFeedService.deleteFeed(groupId, feedId);
88      }
89  
90      public com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId,
91          long feedId)
92          throws com.liferay.portal.PortalException,
93              com.liferay.portal.SystemException, java.rmi.RemoteException {
94          return _journalFeedService.getFeed(groupId, feedId);
95      }
96  
97      public com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId,
98          java.lang.String feedId)
99          throws com.liferay.portal.PortalException,
100             com.liferay.portal.SystemException, java.rmi.RemoteException {
101         return _journalFeedService.getFeed(groupId, feedId);
102     }
103 
104     public com.liferay.portlet.journal.model.JournalFeed updateFeed(
105         long groupId, java.lang.String feedId, java.lang.String name,
106         java.lang.String description, java.lang.String type,
107         java.lang.String structureId, java.lang.String templateId,
108         java.lang.String rendererTemplateId, int delta,
109         java.lang.String orderByCol, java.lang.String orderByType,
110         java.lang.String targetLayoutFriendlyUrl,
111         java.lang.String targetPortletId, java.lang.String contentField,
112         java.lang.String feedType, double feedVersion)
113         throws com.liferay.portal.PortalException,
114             com.liferay.portal.SystemException, java.rmi.RemoteException {
115         return _journalFeedService.updateFeed(groupId, feedId, name,
116             description, type, structureId, templateId, rendererTemplateId,
117             delta, orderByCol, orderByType, targetLayoutFriendlyUrl,
118             targetPortletId, contentField, feedType, feedVersion);
119     }
120 
121     public JournalFeedService getWrappedJournalFeedService() {
122         return _journalFeedService;
123     }
124 
125     private JournalFeedService _journalFeedService;
126 }