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.kernel.exception.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.kernel.exception.PortalException,
53              com.liferay.portal.kernel.exception.SystemException {
54          _journalFeedLocalService.deleteJournalFeed(id);
55      }
56  
57      public void deleteJournalFeed(
58          com.liferay.portlet.journal.model.JournalFeed journalFeed)
59          throws com.liferay.portal.kernel.exception.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.kernel.exception.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.kernel.exception.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.kernel.exception.PortalException,
77              com.liferay.portal.kernel.exception.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)
83          throws com.liferay.portal.kernel.exception.SystemException {
84          return _journalFeedLocalService.getJournalFeeds(start, end);
85      }
86  
87      public int getJournalFeedsCount()
88          throws com.liferay.portal.kernel.exception.SystemException {
89          return _journalFeedLocalService.getJournalFeedsCount();
90      }
91  
92      public com.liferay.portlet.journal.model.JournalFeed updateJournalFeed(
93          com.liferay.portlet.journal.model.JournalFeed journalFeed)
94          throws com.liferay.portal.kernel.exception.SystemException {
95          return _journalFeedLocalService.updateJournalFeed(journalFeed);
96      }
97  
98      public com.liferay.portlet.journal.model.JournalFeed updateJournalFeed(
99          com.liferay.portlet.journal.model.JournalFeed journalFeed, boolean merge)
100         throws com.liferay.portal.kernel.exception.SystemException {
101         return _journalFeedLocalService.updateJournalFeed(journalFeed, merge);
102     }
103 
104     public com.liferay.portlet.journal.model.JournalFeed addFeed(long userId,
105         long groupId, java.lang.String feedId, boolean autoFeedId,
106         java.lang.String name, java.lang.String description,
107         java.lang.String type, java.lang.String structureId,
108         java.lang.String templateId, java.lang.String rendererTemplateId,
109         int delta, 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         com.liferay.portal.service.ServiceContext serviceContext)
114         throws com.liferay.portal.kernel.exception.PortalException,
115             com.liferay.portal.kernel.exception.SystemException {
116         return _journalFeedLocalService.addFeed(userId, groupId, feedId,
117             autoFeedId, name, description, type, structureId, templateId,
118             rendererTemplateId, delta, orderByCol, orderByType,
119             targetLayoutFriendlyUrl, targetPortletId, contentField, feedType,
120             feedVersion, serviceContext);
121     }
122 
123     public com.liferay.portlet.journal.model.JournalFeed addFeed(
124         java.lang.String uuid, long userId, long groupId,
125         java.lang.String feedId, boolean autoFeedId, java.lang.String name,
126         java.lang.String description, java.lang.String type,
127         java.lang.String structureId, java.lang.String templateId,
128         java.lang.String rendererTemplateId, int delta,
129         java.lang.String orderByCol, java.lang.String orderByType,
130         java.lang.String targetLayoutFriendlyUrl,
131         java.lang.String targetPortletId, java.lang.String contentField,
132         java.lang.String feedType, double feedVersion,
133         com.liferay.portal.service.ServiceContext serviceContext)
134         throws com.liferay.portal.kernel.exception.PortalException,
135             com.liferay.portal.kernel.exception.SystemException {
136         return _journalFeedLocalService.addFeed(uuid, userId, groupId, feedId,
137             autoFeedId, name, description, type, structureId, templateId,
138             rendererTemplateId, delta, orderByCol, orderByType,
139             targetLayoutFriendlyUrl, targetPortletId, contentField, feedType,
140             feedVersion, serviceContext);
141     }
142 
143     public void addFeedResources(long feedId, boolean addCommunityPermissions,
144         boolean addGuestPermissions)
145         throws com.liferay.portal.kernel.exception.PortalException,
146             com.liferay.portal.kernel.exception.SystemException {
147         _journalFeedLocalService.addFeedResources(feedId,
148             addCommunityPermissions, addGuestPermissions);
149     }
150 
151     public void addFeedResources(
152         com.liferay.portlet.journal.model.JournalFeed feed,
153         boolean addCommunityPermissions, boolean addGuestPermissions)
154         throws com.liferay.portal.kernel.exception.PortalException,
155             com.liferay.portal.kernel.exception.SystemException {
156         _journalFeedLocalService.addFeedResources(feed,
157             addCommunityPermissions, addGuestPermissions);
158     }
159 
160     public void addFeedResources(long feedId,
161         java.lang.String[] communityPermissions,
162         java.lang.String[] guestPermissions)
163         throws com.liferay.portal.kernel.exception.PortalException,
164             com.liferay.portal.kernel.exception.SystemException {
165         _journalFeedLocalService.addFeedResources(feedId, communityPermissions,
166             guestPermissions);
167     }
168 
169     public void addFeedResources(
170         com.liferay.portlet.journal.model.JournalFeed feed,
171         java.lang.String[] communityPermissions,
172         java.lang.String[] guestPermissions)
173         throws com.liferay.portal.kernel.exception.PortalException,
174             com.liferay.portal.kernel.exception.SystemException {
175         _journalFeedLocalService.addFeedResources(feed, communityPermissions,
176             guestPermissions);
177     }
178 
179     public void deleteFeed(long feedId)
180         throws com.liferay.portal.kernel.exception.PortalException,
181             com.liferay.portal.kernel.exception.SystemException {
182         _journalFeedLocalService.deleteFeed(feedId);
183     }
184 
185     public void deleteFeed(long groupId, java.lang.String feedId)
186         throws com.liferay.portal.kernel.exception.PortalException,
187             com.liferay.portal.kernel.exception.SystemException {
188         _journalFeedLocalService.deleteFeed(groupId, feedId);
189     }
190 
191     public void deleteFeed(com.liferay.portlet.journal.model.JournalFeed feed)
192         throws com.liferay.portal.kernel.exception.PortalException,
193             com.liferay.portal.kernel.exception.SystemException {
194         _journalFeedLocalService.deleteFeed(feed);
195     }
196 
197     public com.liferay.portlet.journal.model.JournalFeed getFeed(long feedId)
198         throws com.liferay.portal.kernel.exception.PortalException,
199             com.liferay.portal.kernel.exception.SystemException {
200         return _journalFeedLocalService.getFeed(feedId);
201     }
202 
203     public com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId,
204         java.lang.String feedId)
205         throws com.liferay.portal.kernel.exception.PortalException,
206             com.liferay.portal.kernel.exception.SystemException {
207         return _journalFeedLocalService.getFeed(groupId, feedId);
208     }
209 
210     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getFeeds()
211         throws com.liferay.portal.kernel.exception.SystemException {
212         return _journalFeedLocalService.getFeeds();
213     }
214 
215     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getFeeds(
216         long groupId)
217         throws com.liferay.portal.kernel.exception.SystemException {
218         return _journalFeedLocalService.getFeeds(groupId);
219     }
220 
221     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getFeeds(
222         long groupId, int start, int end)
223         throws com.liferay.portal.kernel.exception.SystemException {
224         return _journalFeedLocalService.getFeeds(groupId, start, end);
225     }
226 
227     public int getFeedsCount(long groupId)
228         throws com.liferay.portal.kernel.exception.SystemException {
229         return _journalFeedLocalService.getFeedsCount(groupId);
230     }
231 
232     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> search(
233         long companyId, long groupId, java.lang.String keywords, int start,
234         int end, com.liferay.portal.kernel.util.OrderByComparator obc)
235         throws com.liferay.portal.kernel.exception.SystemException {
236         return _journalFeedLocalService.search(companyId, groupId, keywords,
237             start, end, obc);
238     }
239 
240     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> search(
241         long companyId, long groupId, java.lang.String feedId,
242         java.lang.String name, java.lang.String description,
243         boolean andOperator, int start, int end,
244         com.liferay.portal.kernel.util.OrderByComparator obc)
245         throws com.liferay.portal.kernel.exception.SystemException {
246         return _journalFeedLocalService.search(companyId, groupId, feedId,
247             name, description, andOperator, start, end, obc);
248     }
249 
250     public int searchCount(long companyId, long groupId,
251         java.lang.String keywords)
252         throws com.liferay.portal.kernel.exception.SystemException {
253         return _journalFeedLocalService.searchCount(companyId, groupId, keywords);
254     }
255 
256     public int searchCount(long companyId, long groupId,
257         java.lang.String feedId, java.lang.String name,
258         java.lang.String description, boolean andOperator)
259         throws com.liferay.portal.kernel.exception.SystemException {
260         return _journalFeedLocalService.searchCount(companyId, groupId, feedId,
261             name, description, andOperator);
262     }
263 
264     public com.liferay.portlet.journal.model.JournalFeed updateFeed(
265         long groupId, java.lang.String feedId, java.lang.String name,
266         java.lang.String description, java.lang.String type,
267         java.lang.String structureId, java.lang.String templateId,
268         java.lang.String rendererTemplateId, int delta,
269         java.lang.String orderByCol, java.lang.String orderByType,
270         java.lang.String targetLayoutFriendlyUrl,
271         java.lang.String targetPortletId, java.lang.String contentField,
272         java.lang.String feedType, double feedVersion,
273         com.liferay.portal.service.ServiceContext serviceContext)
274         throws com.liferay.portal.kernel.exception.PortalException,
275             com.liferay.portal.kernel.exception.SystemException {
276         return _journalFeedLocalService.updateFeed(groupId, feedId, name,
277             description, type, structureId, templateId, rendererTemplateId,
278             delta, orderByCol, orderByType, targetLayoutFriendlyUrl,
279             targetPortletId, contentField, feedType, feedVersion, serviceContext);
280     }
281 
282     public JournalFeedLocalService getWrappedJournalFeedLocalService() {
283         return _journalFeedLocalService;
284     }
285 
286     private JournalFeedLocalService _journalFeedLocalService;
287 }