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="JournalFeedLocalServiceUtil.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 JournalFeedLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       JournalFeedLocalService
32   * @generated
33   */
34  public class JournalFeedLocalServiceWrapper implements JournalFeedLocalService {
35      public JournalFeedLocalServiceWrapper(
36          JournalFeedLocalService journalFeedLocalService) {
37          _journalFeedLocalService = journalFeedLocalService;
38      }
39  
40      public com.liferay.portlet.journal.model.JournalFeed addJournalFeed(
41          com.liferay.portlet.journal.model.JournalFeed journalFeed)
42          throws com.liferay.portal.SystemException {
43          return _journalFeedLocalService.addJournalFeed(journalFeed);
44      }
45  
46      public com.liferay.portlet.journal.model.JournalFeed createJournalFeed(
47          long id) {
48          return _journalFeedLocalService.createJournalFeed(id);
49      }
50  
51      public void deleteJournalFeed(long id)
52          throws com.liferay.portal.PortalException,
53              com.liferay.portal.SystemException {
54          _journalFeedLocalService.deleteJournalFeed(id);
55      }
56  
57      public void deleteJournalFeed(
58          com.liferay.portlet.journal.model.JournalFeed journalFeed)
59          throws com.liferay.portal.SystemException {
60          _journalFeedLocalService.deleteJournalFeed(journalFeed);
61      }
62  
63      public java.util.List<Object> dynamicQuery(
64          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65          throws com.liferay.portal.SystemException {
66          return _journalFeedLocalService.dynamicQuery(dynamicQuery);
67      }
68  
69      public java.util.List<Object> dynamicQuery(
70          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71          int end) throws com.liferay.portal.SystemException {
72          return _journalFeedLocalService.dynamicQuery(dynamicQuery, start, end);
73      }
74  
75      public com.liferay.portlet.journal.model.JournalFeed getJournalFeed(long id)
76          throws com.liferay.portal.PortalException,
77              com.liferay.portal.SystemException {
78          return _journalFeedLocalService.getJournalFeed(id);
79      }
80  
81      public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getJournalFeeds(
82          int start, int end) throws com.liferay.portal.SystemException {
83          return _journalFeedLocalService.getJournalFeeds(start, end);
84      }
85  
86      public int getJournalFeedsCount() throws com.liferay.portal.SystemException {
87          return _journalFeedLocalService.getJournalFeedsCount();
88      }
89  
90      public com.liferay.portlet.journal.model.JournalFeed updateJournalFeed(
91          com.liferay.portlet.journal.model.JournalFeed journalFeed)
92          throws com.liferay.portal.SystemException {
93          return _journalFeedLocalService.updateJournalFeed(journalFeed);
94      }
95  
96      public com.liferay.portlet.journal.model.JournalFeed updateJournalFeed(
97          com.liferay.portlet.journal.model.JournalFeed journalFeed, boolean merge)
98          throws com.liferay.portal.SystemException {
99          return _journalFeedLocalService.updateJournalFeed(journalFeed, merge);
100     }
101 
102     public com.liferay.portlet.journal.model.JournalFeed addFeed(long userId,
103         long plid, java.lang.String feedId, boolean autoFeedId,
104         java.lang.String name, java.lang.String description,
105         java.lang.String type, java.lang.String structureId,
106         java.lang.String templateId, java.lang.String rendererTemplateId,
107         int delta, java.lang.String orderByCol, java.lang.String orderByType,
108         java.lang.String targetLayoutFriendlyUrl,
109         java.lang.String targetPortletId, java.lang.String contentField,
110         java.lang.String feedType, double feedVersion,
111         boolean addCommunityPermissions, boolean addGuestPermissions)
112         throws com.liferay.portal.PortalException,
113             com.liferay.portal.SystemException {
114         return _journalFeedLocalService.addFeed(userId, plid, feedId,
115             autoFeedId, name, description, type, structureId, templateId,
116             rendererTemplateId, delta, orderByCol, orderByType,
117             targetLayoutFriendlyUrl, targetPortletId, contentField, feedType,
118             feedVersion, addCommunityPermissions, addGuestPermissions);
119     }
120 
121     public com.liferay.portlet.journal.model.JournalFeed addFeed(long userId,
122         long plid, java.lang.String feedId, boolean autoFeedId,
123         java.lang.String name, java.lang.String description,
124         java.lang.String type, java.lang.String structureId,
125         java.lang.String templateId, java.lang.String rendererTemplateId,
126         int delta, java.lang.String orderByCol, java.lang.String orderByType,
127         java.lang.String targetLayoutFriendlyUrl,
128         java.lang.String targetPortletId, java.lang.String contentField,
129         java.lang.String feedType, double feedVersion,
130         java.lang.String[] communityPermissions,
131         java.lang.String[] guestPermissions)
132         throws com.liferay.portal.PortalException,
133             com.liferay.portal.SystemException {
134         return _journalFeedLocalService.addFeed(userId, plid, feedId,
135             autoFeedId, name, description, type, structureId, templateId,
136             rendererTemplateId, delta, orderByCol, orderByType,
137             targetLayoutFriendlyUrl, targetPortletId, contentField, feedType,
138             feedVersion, communityPermissions, guestPermissions);
139     }
140 
141     public com.liferay.portlet.journal.model.JournalFeed addFeed(
142         java.lang.String uuid, long userId, long plid, java.lang.String feedId,
143         boolean autoFeedId, java.lang.String name,
144         java.lang.String description, java.lang.String type,
145         java.lang.String structureId, java.lang.String templateId,
146         java.lang.String rendererTemplateId, int delta,
147         java.lang.String orderByCol, java.lang.String orderByType,
148         java.lang.String targetLayoutFriendlyUrl,
149         java.lang.String targetPortletId, java.lang.String contentField,
150         java.lang.String feedType, double feedVersion,
151         boolean addCommunityPermissions, boolean addGuestPermissions)
152         throws com.liferay.portal.PortalException,
153             com.liferay.portal.SystemException {
154         return _journalFeedLocalService.addFeed(uuid, userId, plid, feedId,
155             autoFeedId, name, description, type, structureId, templateId,
156             rendererTemplateId, delta, orderByCol, orderByType,
157             targetLayoutFriendlyUrl, targetPortletId, contentField, feedType,
158             feedVersion, addCommunityPermissions, addGuestPermissions);
159     }
160 
161     public com.liferay.portlet.journal.model.JournalFeed addFeed(
162         java.lang.String uuid, long userId, long plid, java.lang.String feedId,
163         boolean autoFeedId, java.lang.String name,
164         java.lang.String description, java.lang.String type,
165         java.lang.String structureId, java.lang.String templateId,
166         java.lang.String rendererTemplateId, int delta,
167         java.lang.String orderByCol, java.lang.String orderByType,
168         java.lang.String targetLayoutFriendlyUrl,
169         java.lang.String targetPortletId, java.lang.String contentField,
170         java.lang.String feedType, double feedVersion,
171         java.lang.String[] communityPermissions,
172         java.lang.String[] guestPermissions)
173         throws com.liferay.portal.PortalException,
174             com.liferay.portal.SystemException {
175         return _journalFeedLocalService.addFeed(uuid, userId, plid, feedId,
176             autoFeedId, name, description, type, structureId, templateId,
177             rendererTemplateId, delta, orderByCol, orderByType,
178             targetLayoutFriendlyUrl, targetPortletId, contentField, feedType,
179             feedVersion, communityPermissions, guestPermissions);
180     }
181 
182     public com.liferay.portlet.journal.model.JournalFeed addFeed(
183         java.lang.String uuid, long userId, long plid, java.lang.String feedId,
184         boolean autoFeedId, java.lang.String name,
185         java.lang.String description, java.lang.String type,
186         java.lang.String structureId, java.lang.String templateId,
187         java.lang.String rendererTemplateId, int delta,
188         java.lang.String orderByCol, java.lang.String orderByType,
189         java.lang.String targetLayoutFriendlyUrl,
190         java.lang.String targetPortletId, java.lang.String contentField,
191         java.lang.String feedType, double feedVersion,
192         java.lang.Boolean addCommunityPermissions,
193         java.lang.Boolean addGuestPermissions,
194         java.lang.String[] communityPermissions,
195         java.lang.String[] guestPermissions)
196         throws com.liferay.portal.PortalException,
197             com.liferay.portal.SystemException {
198         return _journalFeedLocalService.addFeed(uuid, userId, plid, feedId,
199             autoFeedId, name, description, type, structureId, templateId,
200             rendererTemplateId, delta, orderByCol, orderByType,
201             targetLayoutFriendlyUrl, targetPortletId, contentField, feedType,
202             feedVersion, addCommunityPermissions, addGuestPermissions,
203             communityPermissions, guestPermissions);
204     }
205 
206     public com.liferay.portlet.journal.model.JournalFeed addFeedToGroup(
207         java.lang.String uuid, long userId, long groupId,
208         java.lang.String feedId, boolean autoFeedId, java.lang.String name,
209         java.lang.String description, java.lang.String type,
210         java.lang.String structureId, java.lang.String templateId,
211         java.lang.String rendererTemplateId, int delta,
212         java.lang.String orderByCol, java.lang.String orderByType,
213         java.lang.String targetLayoutFriendlyUrl,
214         java.lang.String targetPortletId, java.lang.String contentField,
215         java.lang.String feedType, double feedVersion,
216         java.lang.Boolean addCommunityPermissions,
217         java.lang.Boolean addGuestPermissions,
218         java.lang.String[] communityPermissions,
219         java.lang.String[] guestPermissions)
220         throws com.liferay.portal.PortalException,
221             com.liferay.portal.SystemException {
222         return _journalFeedLocalService.addFeedToGroup(uuid, userId, groupId,
223             feedId, autoFeedId, name, description, type, structureId,
224             templateId, rendererTemplateId, delta, orderByCol, orderByType,
225             targetLayoutFriendlyUrl, targetPortletId, contentField, feedType,
226             feedVersion, addCommunityPermissions, addGuestPermissions,
227             communityPermissions, guestPermissions);
228     }
229 
230     public void addFeedResources(long feedId, boolean addCommunityPermissions,
231         boolean addGuestPermissions)
232         throws com.liferay.portal.PortalException,
233             com.liferay.portal.SystemException {
234         _journalFeedLocalService.addFeedResources(feedId,
235             addCommunityPermissions, addGuestPermissions);
236     }
237 
238     public void addFeedResources(
239         com.liferay.portlet.journal.model.JournalFeed feed,
240         boolean addCommunityPermissions, boolean addGuestPermissions)
241         throws com.liferay.portal.PortalException,
242             com.liferay.portal.SystemException {
243         _journalFeedLocalService.addFeedResources(feed,
244             addCommunityPermissions, addGuestPermissions);
245     }
246 
247     public void addFeedResources(long feedId,
248         java.lang.String[] communityPermissions,
249         java.lang.String[] guestPermissions)
250         throws com.liferay.portal.PortalException,
251             com.liferay.portal.SystemException {
252         _journalFeedLocalService.addFeedResources(feedId, communityPermissions,
253             guestPermissions);
254     }
255 
256     public void addFeedResources(
257         com.liferay.portlet.journal.model.JournalFeed feed,
258         java.lang.String[] communityPermissions,
259         java.lang.String[] guestPermissions)
260         throws com.liferay.portal.PortalException,
261             com.liferay.portal.SystemException {
262         _journalFeedLocalService.addFeedResources(feed, communityPermissions,
263             guestPermissions);
264     }
265 
266     public void deleteFeed(long feedId)
267         throws com.liferay.portal.PortalException,
268             com.liferay.portal.SystemException {
269         _journalFeedLocalService.deleteFeed(feedId);
270     }
271 
272     public void deleteFeed(long groupId, java.lang.String feedId)
273         throws com.liferay.portal.PortalException,
274             com.liferay.portal.SystemException {
275         _journalFeedLocalService.deleteFeed(groupId, feedId);
276     }
277 
278     public void deleteFeed(com.liferay.portlet.journal.model.JournalFeed feed)
279         throws com.liferay.portal.PortalException,
280             com.liferay.portal.SystemException {
281         _journalFeedLocalService.deleteFeed(feed);
282     }
283 
284     public com.liferay.portlet.journal.model.JournalFeed getFeed(long feedId)
285         throws com.liferay.portal.PortalException,
286             com.liferay.portal.SystemException {
287         return _journalFeedLocalService.getFeed(feedId);
288     }
289 
290     public com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId,
291         java.lang.String feedId)
292         throws com.liferay.portal.PortalException,
293             com.liferay.portal.SystemException {
294         return _journalFeedLocalService.getFeed(groupId, feedId);
295     }
296 
297     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getFeeds()
298         throws com.liferay.portal.SystemException {
299         return _journalFeedLocalService.getFeeds();
300     }
301 
302     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getFeeds(
303         long groupId) throws com.liferay.portal.SystemException {
304         return _journalFeedLocalService.getFeeds(groupId);
305     }
306 
307     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getFeeds(
308         long groupId, int start, int end)
309         throws com.liferay.portal.SystemException {
310         return _journalFeedLocalService.getFeeds(groupId, start, end);
311     }
312 
313     public int getFeedsCount(long groupId)
314         throws com.liferay.portal.SystemException {
315         return _journalFeedLocalService.getFeedsCount(groupId);
316     }
317 
318     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> search(
319         long companyId, long groupId, java.lang.String keywords, int start,
320         int end, com.liferay.portal.kernel.util.OrderByComparator obc)
321         throws com.liferay.portal.SystemException {
322         return _journalFeedLocalService.search(companyId, groupId, keywords,
323             start, end, obc);
324     }
325 
326     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> search(
327         long companyId, long groupId, java.lang.String feedId,
328         java.lang.String name, java.lang.String description,
329         boolean andOperator, int start, int end,
330         com.liferay.portal.kernel.util.OrderByComparator obc)
331         throws com.liferay.portal.SystemException {
332         return _journalFeedLocalService.search(companyId, groupId, feedId,
333             name, description, andOperator, start, end, obc);
334     }
335 
336     public int searchCount(long companyId, long groupId,
337         java.lang.String keywords) throws com.liferay.portal.SystemException {
338         return _journalFeedLocalService.searchCount(companyId, groupId, keywords);
339     }
340 
341     public int searchCount(long companyId, long groupId,
342         java.lang.String feedId, java.lang.String name,
343         java.lang.String description, boolean andOperator)
344         throws com.liferay.portal.SystemException {
345         return _journalFeedLocalService.searchCount(companyId, groupId, feedId,
346             name, description, andOperator);
347     }
348 
349     public com.liferay.portlet.journal.model.JournalFeed updateFeed(
350         long groupId, java.lang.String feedId, java.lang.String name,
351         java.lang.String description, java.lang.String type,
352         java.lang.String structureId, java.lang.String templateId,
353         java.lang.String rendererTemplateId, int delta,
354         java.lang.String orderByCol, java.lang.String orderByType,
355         java.lang.String targetLayoutFriendlyUrl,
356         java.lang.String targetPortletId, java.lang.String contentField,
357         java.lang.String feedType, double feedVersion)
358         throws com.liferay.portal.PortalException,
359             com.liferay.portal.SystemException {
360         return _journalFeedLocalService.updateFeed(groupId, feedId, name,
361             description, type, structureId, templateId, rendererTemplateId,
362             delta, orderByCol, orderByType, targetLayoutFriendlyUrl,
363             targetPortletId, contentField, feedType, feedVersion);
364     }
365 
366     public JournalFeedLocalService getWrappedJournalFeedLocalService() {
367         return _journalFeedLocalService;
368     }
369 
370     private JournalFeedLocalService _journalFeedLocalService;
371 }