1   /**
2    * Copyright (c) 2000-2008 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 provides static methods for the
36   * <code>com.liferay.portlet.journal.service.JournalFeedLocalService</code>
37   * bean. The static methods of this class calls the same methods of the bean
38   * instance. It's convenient to be able to just write one line to call a method
39   * on a bean instead of writing a lookup call and a method call.
40   * </p>
41   *
42   * <p>
43   * <code>com.liferay.portlet.journal.service.JournalFeedLocalServiceFactory</code>
44   * is responsible for the lookup of the bean.
45   * </p>
46   *
47   * @author Brian Wing Shun Chan
48   *
49   * @see com.liferay.portlet.journal.service.JournalFeedLocalService
50   * @see com.liferay.portlet.journal.service.JournalFeedLocalServiceFactory
51   *
52   */
53  public class JournalFeedLocalServiceUtil {
54      public static com.liferay.portlet.journal.model.JournalFeed addJournalFeed(
55          com.liferay.portlet.journal.model.JournalFeed model)
56          throws com.liferay.portal.SystemException {
57          JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
58  
59          return journalFeedLocalService.addJournalFeed(model);
60      }
61  
62      public static java.util.List dynamicQuery(
63          com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
64          throws com.liferay.portal.SystemException {
65          JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
66  
67          return journalFeedLocalService.dynamicQuery(queryInitializer);
68      }
69  
70      public static java.util.List dynamicQuery(
71          com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
72          int begin, int end) throws com.liferay.portal.SystemException {
73          JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
74  
75          return journalFeedLocalService.dynamicQuery(queryInitializer, begin, end);
76      }
77  
78      public static com.liferay.portlet.journal.model.JournalFeed updateJournalFeed(
79          com.liferay.portlet.journal.model.JournalFeed model)
80          throws com.liferay.portal.SystemException {
81          JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
82  
83          return journalFeedLocalService.updateJournalFeed(model);
84      }
85  
86      public static com.liferay.portlet.journal.service.persistence.JournalArticlePersistence getJournalArticlePersistence() {
87          JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
88  
89          return journalFeedLocalService.getJournalArticlePersistence();
90      }
91  
92      public static void setJournalArticlePersistence(
93          com.liferay.portlet.journal.service.persistence.JournalArticlePersistence journalArticlePersistence) {
94          JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
95  
96          journalFeedLocalService.setJournalArticlePersistence(journalArticlePersistence);
97      }
98  
99      public static com.liferay.portlet.journal.service.persistence.JournalArticleFinder getJournalArticleFinder() {
100         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
101 
102         return journalFeedLocalService.getJournalArticleFinder();
103     }
104 
105     public static void setJournalArticleFinder(
106         com.liferay.portlet.journal.service.persistence.JournalArticleFinder journalArticleFinder) {
107         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
108 
109         journalFeedLocalService.setJournalArticleFinder(journalArticleFinder);
110     }
111 
112     public static com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence getJournalArticleImagePersistence() {
113         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
114 
115         return journalFeedLocalService.getJournalArticleImagePersistence();
116     }
117 
118     public static void setJournalArticleImagePersistence(
119         com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence journalArticleImagePersistence) {
120         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
121 
122         journalFeedLocalService.setJournalArticleImagePersistence(journalArticleImagePersistence);
123     }
124 
125     public static com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
126         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
127 
128         return journalFeedLocalService.getJournalArticleResourcePersistence();
129     }
130 
131     public static void setJournalArticleResourcePersistence(
132         com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence journalArticleResourcePersistence) {
133         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
134 
135         journalFeedLocalService.setJournalArticleResourcePersistence(journalArticleResourcePersistence);
136     }
137 
138     public static com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence getJournalContentSearchPersistence() {
139         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
140 
141         return journalFeedLocalService.getJournalContentSearchPersistence();
142     }
143 
144     public static void setJournalContentSearchPersistence(
145         com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence journalContentSearchPersistence) {
146         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
147 
148         journalFeedLocalService.setJournalContentSearchPersistence(journalContentSearchPersistence);
149     }
150 
151     public static com.liferay.portlet.journal.service.persistence.JournalFeedPersistence getJournalFeedPersistence() {
152         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
153 
154         return journalFeedLocalService.getJournalFeedPersistence();
155     }
156 
157     public static void setJournalFeedPersistence(
158         com.liferay.portlet.journal.service.persistence.JournalFeedPersistence journalFeedPersistence) {
159         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
160 
161         journalFeedLocalService.setJournalFeedPersistence(journalFeedPersistence);
162     }
163 
164     public static com.liferay.portlet.journal.service.persistence.JournalFeedFinder getJournalFeedFinder() {
165         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
166 
167         return journalFeedLocalService.getJournalFeedFinder();
168     }
169 
170     public static void setJournalFeedFinder(
171         com.liferay.portlet.journal.service.persistence.JournalFeedFinder journalFeedFinder) {
172         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
173 
174         journalFeedLocalService.setJournalFeedFinder(journalFeedFinder);
175     }
176 
177     public static com.liferay.portlet.journal.service.persistence.JournalStructurePersistence getJournalStructurePersistence() {
178         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
179 
180         return journalFeedLocalService.getJournalStructurePersistence();
181     }
182 
183     public static void setJournalStructurePersistence(
184         com.liferay.portlet.journal.service.persistence.JournalStructurePersistence journalStructurePersistence) {
185         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
186 
187         journalFeedLocalService.setJournalStructurePersistence(journalStructurePersistence);
188     }
189 
190     public static com.liferay.portlet.journal.service.persistence.JournalStructureFinder getJournalStructureFinder() {
191         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
192 
193         return journalFeedLocalService.getJournalStructureFinder();
194     }
195 
196     public static void setJournalStructureFinder(
197         com.liferay.portlet.journal.service.persistence.JournalStructureFinder journalStructureFinder) {
198         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
199 
200         journalFeedLocalService.setJournalStructureFinder(journalStructureFinder);
201     }
202 
203     public static com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence getJournalTemplatePersistence() {
204         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
205 
206         return journalFeedLocalService.getJournalTemplatePersistence();
207     }
208 
209     public static void setJournalTemplatePersistence(
210         com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence journalTemplatePersistence) {
211         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
212 
213         journalFeedLocalService.setJournalTemplatePersistence(journalTemplatePersistence);
214     }
215 
216     public static com.liferay.portlet.journal.service.persistence.JournalTemplateFinder getJournalTemplateFinder() {
217         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
218 
219         return journalFeedLocalService.getJournalTemplateFinder();
220     }
221 
222     public static void setJournalTemplateFinder(
223         com.liferay.portlet.journal.service.persistence.JournalTemplateFinder journalTemplateFinder) {
224         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
225 
226         journalFeedLocalService.setJournalTemplateFinder(journalTemplateFinder);
227     }
228 
229     public static com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence() {
230         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
231 
232         return journalFeedLocalService.getResourcePersistence();
233     }
234 
235     public static void setResourcePersistence(
236         com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence) {
237         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
238 
239         journalFeedLocalService.setResourcePersistence(resourcePersistence);
240     }
241 
242     public static com.liferay.portal.service.persistence.ResourceFinder getResourceFinder() {
243         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
244 
245         return journalFeedLocalService.getResourceFinder();
246     }
247 
248     public static void setResourceFinder(
249         com.liferay.portal.service.persistence.ResourceFinder resourceFinder) {
250         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
251 
252         journalFeedLocalService.setResourceFinder(resourceFinder);
253     }
254 
255     public static com.liferay.portal.service.persistence.UserPersistence getUserPersistence() {
256         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
257 
258         return journalFeedLocalService.getUserPersistence();
259     }
260 
261     public static void setUserPersistence(
262         com.liferay.portal.service.persistence.UserPersistence userPersistence) {
263         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
264 
265         journalFeedLocalService.setUserPersistence(userPersistence);
266     }
267 
268     public static com.liferay.portal.service.persistence.UserFinder getUserFinder() {
269         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
270 
271         return journalFeedLocalService.getUserFinder();
272     }
273 
274     public static void setUserFinder(
275         com.liferay.portal.service.persistence.UserFinder userFinder) {
276         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
277 
278         journalFeedLocalService.setUserFinder(userFinder);
279     }
280 
281     public static void afterPropertiesSet() {
282         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
283 
284         journalFeedLocalService.afterPropertiesSet();
285     }
286 
287     public static com.liferay.portlet.journal.model.JournalFeed addFeed(
288         long userId, long plid, java.lang.String feedId, boolean autoFeedId,
289         java.lang.String name, java.lang.String description,
290         java.lang.String type, java.lang.String structureId,
291         java.lang.String templateId, java.lang.String rendererTemplateId,
292         int delta, java.lang.String orderByCol, java.lang.String orderByType,
293         java.lang.String targetLayoutFriendlyUrl,
294         java.lang.String targetPortletId, java.lang.String contentField,
295         java.lang.String feedType, double feedVersion,
296         boolean addCommunityPermissions, boolean addGuestPermissions)
297         throws com.liferay.portal.PortalException, 
298             com.liferay.portal.SystemException {
299         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
300 
301         return journalFeedLocalService.addFeed(userId, plid, feedId,
302             autoFeedId, name, description, type, structureId, templateId,
303             rendererTemplateId, delta, orderByCol, orderByType,
304             targetLayoutFriendlyUrl, targetPortletId, contentField, feedType,
305             feedVersion, addCommunityPermissions, addGuestPermissions);
306     }
307 
308     public static com.liferay.portlet.journal.model.JournalFeed addFeed(
309         long userId, long plid, java.lang.String feedId, boolean autoFeedId,
310         java.lang.String name, java.lang.String description,
311         java.lang.String type, java.lang.String structureId,
312         java.lang.String templateId, java.lang.String rendererTemplateId,
313         int delta, java.lang.String orderByCol, java.lang.String orderByType,
314         java.lang.String targetLayoutFriendlyUrl,
315         java.lang.String targetPortletId, java.lang.String contentField,
316         java.lang.String feedType, double feedVersion,
317         java.lang.String[] communityPermissions,
318         java.lang.String[] guestPermissions)
319         throws com.liferay.portal.PortalException, 
320             com.liferay.portal.SystemException {
321         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
322 
323         return journalFeedLocalService.addFeed(userId, plid, feedId,
324             autoFeedId, name, description, type, structureId, templateId,
325             rendererTemplateId, delta, orderByCol, orderByType,
326             targetLayoutFriendlyUrl, targetPortletId, contentField, feedType,
327             feedVersion, communityPermissions, guestPermissions);
328     }
329 
330     public static com.liferay.portlet.journal.model.JournalFeed addFeed(
331         java.lang.String uuid, long userId, long plid, java.lang.String feedId,
332         boolean autoFeedId, java.lang.String name,
333         java.lang.String description, java.lang.String type,
334         java.lang.String structureId, java.lang.String templateId,
335         java.lang.String rendererTemplateId, int delta,
336         java.lang.String orderByCol, java.lang.String orderByType,
337         java.lang.String targetLayoutFriendlyUrl,
338         java.lang.String targetPortletId, java.lang.String contentField,
339         java.lang.String feedType, double feedVersion,
340         boolean addCommunityPermissions, boolean addGuestPermissions)
341         throws com.liferay.portal.PortalException, 
342             com.liferay.portal.SystemException {
343         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
344 
345         return journalFeedLocalService.addFeed(uuid, userId, plid, feedId,
346             autoFeedId, name, description, type, structureId, templateId,
347             rendererTemplateId, delta, orderByCol, orderByType,
348             targetLayoutFriendlyUrl, targetPortletId, contentField, feedType,
349             feedVersion, addCommunityPermissions, addGuestPermissions);
350     }
351 
352     public static com.liferay.portlet.journal.model.JournalFeed addFeed(
353         java.lang.String uuid, long userId, long plid, java.lang.String feedId,
354         boolean autoFeedId, java.lang.String name,
355         java.lang.String description, java.lang.String type,
356         java.lang.String structureId, java.lang.String templateId,
357         java.lang.String rendererTemplateId, int delta,
358         java.lang.String orderByCol, java.lang.String orderByType,
359         java.lang.String targetLayoutFriendlyUrl,
360         java.lang.String targetPortletId, java.lang.String contentField,
361         java.lang.String feedType, double feedVersion,
362         java.lang.String[] communityPermissions,
363         java.lang.String[] guestPermissions)
364         throws com.liferay.portal.PortalException, 
365             com.liferay.portal.SystemException {
366         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
367 
368         return journalFeedLocalService.addFeed(uuid, userId, plid, feedId,
369             autoFeedId, name, description, type, structureId, templateId,
370             rendererTemplateId, delta, orderByCol, orderByType,
371             targetLayoutFriendlyUrl, targetPortletId, contentField, feedType,
372             feedVersion, communityPermissions, guestPermissions);
373     }
374 
375     public static com.liferay.portlet.journal.model.JournalFeed addFeed(
376         java.lang.String uuid, long userId, long plid, java.lang.String feedId,
377         boolean autoFeedId, java.lang.String name,
378         java.lang.String description, java.lang.String type,
379         java.lang.String structureId, java.lang.String templateId,
380         java.lang.String rendererTemplateId, int delta,
381         java.lang.String orderByCol, java.lang.String orderByType,
382         java.lang.String targetLayoutFriendlyUrl,
383         java.lang.String targetPortletId, java.lang.String contentField,
384         java.lang.String feedType, double feedVersion,
385         java.lang.Boolean addCommunityPermissions,
386         java.lang.Boolean addGuestPermissions,
387         java.lang.String[] communityPermissions,
388         java.lang.String[] guestPermissions)
389         throws com.liferay.portal.PortalException, 
390             com.liferay.portal.SystemException {
391         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
392 
393         return journalFeedLocalService.addFeed(uuid, userId, plid, feedId,
394             autoFeedId, name, description, type, structureId, templateId,
395             rendererTemplateId, delta, orderByCol, orderByType,
396             targetLayoutFriendlyUrl, targetPortletId, contentField, feedType,
397             feedVersion, addCommunityPermissions, addGuestPermissions,
398             communityPermissions, guestPermissions);
399     }
400 
401     public static com.liferay.portlet.journal.model.JournalFeed addFeedToGroup(
402         java.lang.String uuid, long userId, long groupId,
403         java.lang.String feedId, boolean autoFeedId, java.lang.String name,
404         java.lang.String description, java.lang.String type,
405         java.lang.String structureId, java.lang.String templateId,
406         java.lang.String rendererTemplateId, int delta,
407         java.lang.String orderByCol, java.lang.String orderByType,
408         java.lang.String targetLayoutFriendlyUrl,
409         java.lang.String targetPortletId, java.lang.String contentField,
410         java.lang.String feedType, double feedVersion,
411         java.lang.Boolean addCommunityPermissions,
412         java.lang.Boolean addGuestPermissions,
413         java.lang.String[] communityPermissions,
414         java.lang.String[] guestPermissions)
415         throws com.liferay.portal.PortalException, 
416             com.liferay.portal.SystemException {
417         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
418 
419         return journalFeedLocalService.addFeedToGroup(uuid, userId, groupId,
420             feedId, autoFeedId, name, description, type, structureId,
421             templateId, rendererTemplateId, delta, orderByCol, orderByType,
422             targetLayoutFriendlyUrl, targetPortletId, contentField, feedType,
423             feedVersion, addCommunityPermissions, addGuestPermissions,
424             communityPermissions, guestPermissions);
425     }
426 
427     public static void addFeedResources(long feedId,
428         boolean addCommunityPermissions, boolean addGuestPermissions)
429         throws com.liferay.portal.PortalException, 
430             com.liferay.portal.SystemException {
431         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
432 
433         journalFeedLocalService.addFeedResources(feedId,
434             addCommunityPermissions, addGuestPermissions);
435     }
436 
437     public static void addFeedResources(
438         com.liferay.portlet.journal.model.JournalFeed feed,
439         boolean addCommunityPermissions, boolean addGuestPermissions)
440         throws com.liferay.portal.PortalException, 
441             com.liferay.portal.SystemException {
442         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
443 
444         journalFeedLocalService.addFeedResources(feed, addCommunityPermissions,
445             addGuestPermissions);
446     }
447 
448     public static void addFeedResources(long feedId,
449         java.lang.String[] communityPermissions,
450         java.lang.String[] guestPermissions)
451         throws com.liferay.portal.PortalException, 
452             com.liferay.portal.SystemException {
453         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
454 
455         journalFeedLocalService.addFeedResources(feedId, communityPermissions,
456             guestPermissions);
457     }
458 
459     public static void addFeedResources(
460         com.liferay.portlet.journal.model.JournalFeed feed,
461         java.lang.String[] communityPermissions,
462         java.lang.String[] guestPermissions)
463         throws com.liferay.portal.PortalException, 
464             com.liferay.portal.SystemException {
465         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
466 
467         journalFeedLocalService.addFeedResources(feed, communityPermissions,
468             guestPermissions);
469     }
470 
471     public static void deleteFeed(long feedId)
472         throws com.liferay.portal.PortalException, 
473             com.liferay.portal.SystemException {
474         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
475 
476         journalFeedLocalService.deleteFeed(feedId);
477     }
478 
479     public static void deleteFeed(long groupId, java.lang.String feedId)
480         throws com.liferay.portal.PortalException, 
481             com.liferay.portal.SystemException {
482         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
483 
484         journalFeedLocalService.deleteFeed(groupId, feedId);
485     }
486 
487     public static void deleteFeed(
488         com.liferay.portlet.journal.model.JournalFeed feed)
489         throws com.liferay.portal.PortalException, 
490             com.liferay.portal.SystemException {
491         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
492 
493         journalFeedLocalService.deleteFeed(feed);
494     }
495 
496     public static com.liferay.portlet.journal.model.JournalFeed getFeed(
497         long feedId)
498         throws com.liferay.portal.PortalException, 
499             com.liferay.portal.SystemException {
500         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
501 
502         return journalFeedLocalService.getFeed(feedId);
503     }
504 
505     public static com.liferay.portlet.journal.model.JournalFeed getFeed(
506         long groupId, java.lang.String feedId)
507         throws com.liferay.portal.PortalException, 
508             com.liferay.portal.SystemException {
509         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
510 
511         return journalFeedLocalService.getFeed(groupId, feedId);
512     }
513 
514     public static java.util.List getFeeds()
515         throws com.liferay.portal.SystemException {
516         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
517 
518         return journalFeedLocalService.getFeeds();
519     }
520 
521     public static java.util.List getFeeds(long groupId)
522         throws com.liferay.portal.SystemException {
523         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
524 
525         return journalFeedLocalService.getFeeds(groupId);
526     }
527 
528     public static java.util.List getFeeds(long groupId, int begin, int end)
529         throws com.liferay.portal.SystemException {
530         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
531 
532         return journalFeedLocalService.getFeeds(groupId, begin, end);
533     }
534 
535     public static int getFeedsCount(long groupId)
536         throws com.liferay.portal.SystemException {
537         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
538 
539         return journalFeedLocalService.getFeedsCount(groupId);
540     }
541 
542     public static java.util.List search(long companyId, long groupId,
543         java.lang.String keywords, int begin, int end,
544         com.liferay.portal.kernel.util.OrderByComparator obc)
545         throws com.liferay.portal.SystemException {
546         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
547 
548         return journalFeedLocalService.search(companyId, groupId, keywords,
549             begin, end, obc);
550     }
551 
552     public static java.util.List search(long companyId, long groupId,
553         java.lang.String feedId, java.lang.String name,
554         java.lang.String description, boolean andOperator, int begin, int end,
555         com.liferay.portal.kernel.util.OrderByComparator obc)
556         throws com.liferay.portal.SystemException {
557         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
558 
559         return journalFeedLocalService.search(companyId, groupId, feedId, name,
560             description, andOperator, begin, end, obc);
561     }
562 
563     public static int searchCount(long companyId, long groupId,
564         java.lang.String keywords) throws com.liferay.portal.SystemException {
565         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
566 
567         return journalFeedLocalService.searchCount(companyId, groupId, keywords);
568     }
569 
570     public static int searchCount(long companyId, long groupId,
571         java.lang.String feedId, java.lang.String name,
572         java.lang.String description, boolean andOperator)
573         throws com.liferay.portal.SystemException {
574         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
575 
576         return journalFeedLocalService.searchCount(companyId, groupId, feedId,
577             name, description, andOperator);
578     }
579 
580     public static com.liferay.portlet.journal.model.JournalFeed updateFeed(
581         long groupId, java.lang.String feedId, java.lang.String name,
582         java.lang.String description, java.lang.String type,
583         java.lang.String structureId, java.lang.String templateId,
584         java.lang.String rendererTemplateId, int delta,
585         java.lang.String orderByCol, java.lang.String orderByType,
586         java.lang.String targetLayoutFriendlyUrl,
587         java.lang.String targetPortletId, java.lang.String contentField,
588         java.lang.String feedType, double feedVersion)
589         throws com.liferay.portal.PortalException, 
590             com.liferay.portal.SystemException {
591         JournalFeedLocalService journalFeedLocalService = JournalFeedLocalServiceFactory.getService();
592 
593         return journalFeedLocalService.updateFeed(groupId, feedId, name,
594             description, type, structureId, templateId, rendererTemplateId,
595             delta, orderByCol, orderByType, targetLayoutFriendlyUrl,
596             targetPortletId, contentField, feedType, feedVersion);
597     }
598 }