1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.journal.service;
24  
25  
26  /**
27   * <a href="JournalFeedLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link JournalFeedLocalService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       JournalFeedLocalService
40   * @generated
41   */
42  public class JournalFeedLocalServiceWrapper implements JournalFeedLocalService {
43      public JournalFeedLocalServiceWrapper(
44          JournalFeedLocalService journalFeedLocalService) {
45          _journalFeedLocalService = journalFeedLocalService;
46      }
47  
48      public com.liferay.portlet.journal.model.JournalFeed addJournalFeed(
49          com.liferay.portlet.journal.model.JournalFeed journalFeed)
50          throws com.liferay.portal.SystemException {
51          return _journalFeedLocalService.addJournalFeed(journalFeed);
52      }
53  
54      public com.liferay.portlet.journal.model.JournalFeed createJournalFeed(
55          long id) {
56          return _journalFeedLocalService.createJournalFeed(id);
57      }
58  
59      public void deleteJournalFeed(long id)
60          throws com.liferay.portal.PortalException,
61              com.liferay.portal.SystemException {
62          _journalFeedLocalService.deleteJournalFeed(id);
63      }
64  
65      public void deleteJournalFeed(
66          com.liferay.portlet.journal.model.JournalFeed journalFeed)
67          throws com.liferay.portal.SystemException {
68          _journalFeedLocalService.deleteJournalFeed(journalFeed);
69      }
70  
71      public java.util.List<Object> dynamicQuery(
72          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
73          throws com.liferay.portal.SystemException {
74          return _journalFeedLocalService.dynamicQuery(dynamicQuery);
75      }
76  
77      public java.util.List<Object> dynamicQuery(
78          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79          int end) throws com.liferay.portal.SystemException {
80          return _journalFeedLocalService.dynamicQuery(dynamicQuery, start, end);
81      }
82  
83      public com.liferay.portlet.journal.model.JournalFeed getJournalFeed(long id)
84          throws com.liferay.portal.PortalException,
85              com.liferay.portal.SystemException {
86          return _journalFeedLocalService.getJournalFeed(id);
87      }
88  
89      public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getJournalFeeds(
90          int start, int end) throws com.liferay.portal.SystemException {
91          return _journalFeedLocalService.getJournalFeeds(start, end);
92      }
93  
94      public int getJournalFeedsCount() throws com.liferay.portal.SystemException {
95          return _journalFeedLocalService.getJournalFeedsCount();
96      }
97  
98      public com.liferay.portlet.journal.model.JournalFeed updateJournalFeed(
99          com.liferay.portlet.journal.model.JournalFeed journalFeed)
100         throws com.liferay.portal.SystemException {
101         return _journalFeedLocalService.updateJournalFeed(journalFeed);
102     }
103 
104     public com.liferay.portlet.journal.model.JournalFeed updateJournalFeed(
105         com.liferay.portlet.journal.model.JournalFeed journalFeed, boolean merge)
106         throws com.liferay.portal.SystemException {
107         return _journalFeedLocalService.updateJournalFeed(journalFeed, merge);
108     }
109 
110     public com.liferay.portlet.journal.model.JournalFeed addFeed(long userId,
111         long groupId, java.lang.String feedId, boolean autoFeedId,
112         java.lang.String name, java.lang.String description,
113         java.lang.String type, java.lang.String structureId,
114         java.lang.String templateId, java.lang.String rendererTemplateId,
115         int delta, java.lang.String orderByCol, java.lang.String orderByType,
116         java.lang.String targetLayoutFriendlyUrl,
117         java.lang.String targetPortletId, java.lang.String contentField,
118         java.lang.String feedType, double feedVersion,
119         com.liferay.portal.service.ServiceContext serviceContext)
120         throws com.liferay.portal.PortalException,
121             com.liferay.portal.SystemException {
122         return _journalFeedLocalService.addFeed(userId, groupId, feedId,
123             autoFeedId, name, description, type, structureId, templateId,
124             rendererTemplateId, delta, orderByCol, orderByType,
125             targetLayoutFriendlyUrl, targetPortletId, contentField, feedType,
126             feedVersion, serviceContext);
127     }
128 
129     public com.liferay.portlet.journal.model.JournalFeed addFeed(
130         java.lang.String uuid, long userId, long groupId,
131         java.lang.String feedId, boolean autoFeedId, java.lang.String name,
132         java.lang.String description, java.lang.String type,
133         java.lang.String structureId, java.lang.String templateId,
134         java.lang.String rendererTemplateId, int delta,
135         java.lang.String orderByCol, java.lang.String orderByType,
136         java.lang.String targetLayoutFriendlyUrl,
137         java.lang.String targetPortletId, java.lang.String contentField,
138         java.lang.String feedType, double feedVersion,
139         com.liferay.portal.service.ServiceContext serviceContext)
140         throws com.liferay.portal.PortalException,
141             com.liferay.portal.SystemException {
142         return _journalFeedLocalService.addFeed(uuid, userId, groupId, feedId,
143             autoFeedId, name, description, type, structureId, templateId,
144             rendererTemplateId, delta, orderByCol, orderByType,
145             targetLayoutFriendlyUrl, targetPortletId, contentField, feedType,
146             feedVersion, serviceContext);
147     }
148 
149     public void addFeedResources(long feedId, boolean addCommunityPermissions,
150         boolean addGuestPermissions)
151         throws com.liferay.portal.PortalException,
152             com.liferay.portal.SystemException {
153         _journalFeedLocalService.addFeedResources(feedId,
154             addCommunityPermissions, addGuestPermissions);
155     }
156 
157     public void addFeedResources(
158         com.liferay.portlet.journal.model.JournalFeed feed,
159         boolean addCommunityPermissions, boolean addGuestPermissions)
160         throws com.liferay.portal.PortalException,
161             com.liferay.portal.SystemException {
162         _journalFeedLocalService.addFeedResources(feed,
163             addCommunityPermissions, addGuestPermissions);
164     }
165 
166     public void addFeedResources(long feedId,
167         java.lang.String[] communityPermissions,
168         java.lang.String[] guestPermissions)
169         throws com.liferay.portal.PortalException,
170             com.liferay.portal.SystemException {
171         _journalFeedLocalService.addFeedResources(feedId, communityPermissions,
172             guestPermissions);
173     }
174 
175     public void addFeedResources(
176         com.liferay.portlet.journal.model.JournalFeed feed,
177         java.lang.String[] communityPermissions,
178         java.lang.String[] guestPermissions)
179         throws com.liferay.portal.PortalException,
180             com.liferay.portal.SystemException {
181         _journalFeedLocalService.addFeedResources(feed, communityPermissions,
182             guestPermissions);
183     }
184 
185     public void deleteFeed(long feedId)
186         throws com.liferay.portal.PortalException,
187             com.liferay.portal.SystemException {
188         _journalFeedLocalService.deleteFeed(feedId);
189     }
190 
191     public void deleteFeed(long groupId, java.lang.String feedId)
192         throws com.liferay.portal.PortalException,
193             com.liferay.portal.SystemException {
194         _journalFeedLocalService.deleteFeed(groupId, feedId);
195     }
196 
197     public void deleteFeed(com.liferay.portlet.journal.model.JournalFeed feed)
198         throws com.liferay.portal.PortalException,
199             com.liferay.portal.SystemException {
200         _journalFeedLocalService.deleteFeed(feed);
201     }
202 
203     public com.liferay.portlet.journal.model.JournalFeed getFeed(long feedId)
204         throws com.liferay.portal.PortalException,
205             com.liferay.portal.SystemException {
206         return _journalFeedLocalService.getFeed(feedId);
207     }
208 
209     public com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId,
210         java.lang.String feedId)
211         throws com.liferay.portal.PortalException,
212             com.liferay.portal.SystemException {
213         return _journalFeedLocalService.getFeed(groupId, feedId);
214     }
215 
216     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getFeeds()
217         throws com.liferay.portal.SystemException {
218         return _journalFeedLocalService.getFeeds();
219     }
220 
221     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getFeeds(
222         long groupId) throws com.liferay.portal.SystemException {
223         return _journalFeedLocalService.getFeeds(groupId);
224     }
225 
226     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getFeeds(
227         long groupId, int start, int end)
228         throws com.liferay.portal.SystemException {
229         return _journalFeedLocalService.getFeeds(groupId, start, end);
230     }
231 
232     public int getFeedsCount(long groupId)
233         throws com.liferay.portal.SystemException {
234         return _journalFeedLocalService.getFeedsCount(groupId);
235     }
236 
237     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> search(
238         long companyId, long groupId, java.lang.String keywords, int start,
239         int end, com.liferay.portal.kernel.util.OrderByComparator obc)
240         throws com.liferay.portal.SystemException {
241         return _journalFeedLocalService.search(companyId, groupId, keywords,
242             start, end, obc);
243     }
244 
245     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> search(
246         long companyId, long groupId, java.lang.String feedId,
247         java.lang.String name, java.lang.String description,
248         boolean andOperator, int start, int end,
249         com.liferay.portal.kernel.util.OrderByComparator obc)
250         throws com.liferay.portal.SystemException {
251         return _journalFeedLocalService.search(companyId, groupId, feedId,
252             name, description, andOperator, start, end, obc);
253     }
254 
255     public int searchCount(long companyId, long groupId,
256         java.lang.String keywords) throws com.liferay.portal.SystemException {
257         return _journalFeedLocalService.searchCount(companyId, groupId, keywords);
258     }
259 
260     public int searchCount(long companyId, long groupId,
261         java.lang.String feedId, java.lang.String name,
262         java.lang.String description, boolean andOperator)
263         throws com.liferay.portal.SystemException {
264         return _journalFeedLocalService.searchCount(companyId, groupId, feedId,
265             name, description, andOperator);
266     }
267 
268     public com.liferay.portlet.journal.model.JournalFeed updateFeed(
269         long groupId, java.lang.String feedId, java.lang.String name,
270         java.lang.String description, java.lang.String type,
271         java.lang.String structureId, java.lang.String templateId,
272         java.lang.String rendererTemplateId, int delta,
273         java.lang.String orderByCol, java.lang.String orderByType,
274         java.lang.String targetLayoutFriendlyUrl,
275         java.lang.String targetPortletId, java.lang.String contentField,
276         java.lang.String feedType, double feedVersion,
277         com.liferay.portal.service.ServiceContext serviceContext)
278         throws com.liferay.portal.PortalException,
279             com.liferay.portal.SystemException {
280         return _journalFeedLocalService.updateFeed(groupId, feedId, name,
281             description, type, structureId, templateId, rendererTemplateId,
282             delta, orderByCol, orderByType, targetLayoutFriendlyUrl,
283             targetPortletId, contentField, feedType, feedVersion, serviceContext);
284     }
285 
286     public JournalFeedLocalService getWrappedJournalFeedLocalService() {
287         return _journalFeedLocalService;
288     }
289 
290     private JournalFeedLocalService _journalFeedLocalService;
291 }