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      @SuppressWarnings("unchecked")
64      public java.util.List dynamicQuery(
65          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66          throws com.liferay.portal.kernel.exception.SystemException {
67          return _journalFeedLocalService.dynamicQuery(dynamicQuery);
68      }
69  
70      @SuppressWarnings("unchecked")
71      public java.util.List dynamicQuery(
72          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
73          int end) throws com.liferay.portal.kernel.exception.SystemException {
74          return _journalFeedLocalService.dynamicQuery(dynamicQuery, start, end);
75      }
76  
77      @SuppressWarnings("unchecked")
78      public java.util.List dynamicQuery(
79          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80          int end,
81          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
82          throws com.liferay.portal.kernel.exception.SystemException {
83          return _journalFeedLocalService.dynamicQuery(dynamicQuery, start, end,
84              orderByComparator);
85      }
86  
87      public long dynamicQueryCount(
88          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
89          throws com.liferay.portal.kernel.exception.SystemException {
90          return _journalFeedLocalService.dynamicQueryCount(dynamicQuery);
91      }
92  
93      public com.liferay.portlet.journal.model.JournalFeed getJournalFeed(long id)
94          throws com.liferay.portal.kernel.exception.PortalException,
95              com.liferay.portal.kernel.exception.SystemException {
96          return _journalFeedLocalService.getJournalFeed(id);
97      }
98  
99      public com.liferay.portlet.journal.model.JournalFeed getJournalFeedByUuidAndGroupId(
100         java.lang.String uuid, long groupId)
101         throws com.liferay.portal.kernel.exception.PortalException,
102             com.liferay.portal.kernel.exception.SystemException {
103         return _journalFeedLocalService.getJournalFeedByUuidAndGroupId(uuid,
104             groupId);
105     }
106 
107     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getJournalFeeds(
108         int start, int end)
109         throws com.liferay.portal.kernel.exception.SystemException {
110         return _journalFeedLocalService.getJournalFeeds(start, end);
111     }
112 
113     public int getJournalFeedsCount()
114         throws com.liferay.portal.kernel.exception.SystemException {
115         return _journalFeedLocalService.getJournalFeedsCount();
116     }
117 
118     public com.liferay.portlet.journal.model.JournalFeed updateJournalFeed(
119         com.liferay.portlet.journal.model.JournalFeed journalFeed)
120         throws com.liferay.portal.kernel.exception.SystemException {
121         return _journalFeedLocalService.updateJournalFeed(journalFeed);
122     }
123 
124     public com.liferay.portlet.journal.model.JournalFeed updateJournalFeed(
125         com.liferay.portlet.journal.model.JournalFeed journalFeed, boolean merge)
126         throws com.liferay.portal.kernel.exception.SystemException {
127         return _journalFeedLocalService.updateJournalFeed(journalFeed, merge);
128     }
129 
130     public com.liferay.portlet.journal.model.JournalFeed addFeed(long userId,
131         long groupId, java.lang.String feedId, boolean autoFeedId,
132         java.lang.String name, java.lang.String description,
133         java.lang.String type, java.lang.String structureId,
134         java.lang.String templateId, java.lang.String rendererTemplateId,
135         int delta, 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.kernel.exception.PortalException,
141             com.liferay.portal.kernel.exception.SystemException {
142         return _journalFeedLocalService.addFeed(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 com.liferay.portlet.journal.model.JournalFeed addFeed(
150         java.lang.String uuid, long userId, long groupId,
151         java.lang.String feedId, boolean autoFeedId, java.lang.String name,
152         java.lang.String description, java.lang.String type,
153         java.lang.String structureId, java.lang.String templateId,
154         java.lang.String rendererTemplateId, int delta,
155         java.lang.String orderByCol, java.lang.String orderByType,
156         java.lang.String targetLayoutFriendlyUrl,
157         java.lang.String targetPortletId, java.lang.String contentField,
158         java.lang.String feedType, double feedVersion,
159         com.liferay.portal.service.ServiceContext serviceContext)
160         throws com.liferay.portal.kernel.exception.PortalException,
161             com.liferay.portal.kernel.exception.SystemException {
162         return _journalFeedLocalService.addFeed(uuid, userId, groupId, feedId,
163             autoFeedId, name, description, type, structureId, templateId,
164             rendererTemplateId, delta, orderByCol, orderByType,
165             targetLayoutFriendlyUrl, targetPortletId, contentField, feedType,
166             feedVersion, serviceContext);
167     }
168 
169     public void addFeedResources(long feedId, boolean addCommunityPermissions,
170         boolean addGuestPermissions)
171         throws com.liferay.portal.kernel.exception.PortalException,
172             com.liferay.portal.kernel.exception.SystemException {
173         _journalFeedLocalService.addFeedResources(feedId,
174             addCommunityPermissions, addGuestPermissions);
175     }
176 
177     public void addFeedResources(
178         com.liferay.portlet.journal.model.JournalFeed feed,
179         boolean addCommunityPermissions, boolean addGuestPermissions)
180         throws com.liferay.portal.kernel.exception.PortalException,
181             com.liferay.portal.kernel.exception.SystemException {
182         _journalFeedLocalService.addFeedResources(feed,
183             addCommunityPermissions, addGuestPermissions);
184     }
185 
186     public void addFeedResources(long feedId,
187         java.lang.String[] communityPermissions,
188         java.lang.String[] guestPermissions)
189         throws com.liferay.portal.kernel.exception.PortalException,
190             com.liferay.portal.kernel.exception.SystemException {
191         _journalFeedLocalService.addFeedResources(feedId, communityPermissions,
192             guestPermissions);
193     }
194 
195     public void addFeedResources(
196         com.liferay.portlet.journal.model.JournalFeed feed,
197         java.lang.String[] communityPermissions,
198         java.lang.String[] guestPermissions)
199         throws com.liferay.portal.kernel.exception.PortalException,
200             com.liferay.portal.kernel.exception.SystemException {
201         _journalFeedLocalService.addFeedResources(feed, communityPermissions,
202             guestPermissions);
203     }
204 
205     public void deleteFeed(long feedId)
206         throws com.liferay.portal.kernel.exception.PortalException,
207             com.liferay.portal.kernel.exception.SystemException {
208         _journalFeedLocalService.deleteFeed(feedId);
209     }
210 
211     public void deleteFeed(long groupId, java.lang.String feedId)
212         throws com.liferay.portal.kernel.exception.PortalException,
213             com.liferay.portal.kernel.exception.SystemException {
214         _journalFeedLocalService.deleteFeed(groupId, feedId);
215     }
216 
217     public void deleteFeed(com.liferay.portlet.journal.model.JournalFeed feed)
218         throws com.liferay.portal.kernel.exception.PortalException,
219             com.liferay.portal.kernel.exception.SystemException {
220         _journalFeedLocalService.deleteFeed(feed);
221     }
222 
223     public com.liferay.portlet.journal.model.JournalFeed getFeed(long feedId)
224         throws com.liferay.portal.kernel.exception.PortalException,
225             com.liferay.portal.kernel.exception.SystemException {
226         return _journalFeedLocalService.getFeed(feedId);
227     }
228 
229     public com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId,
230         java.lang.String feedId)
231         throws com.liferay.portal.kernel.exception.PortalException,
232             com.liferay.portal.kernel.exception.SystemException {
233         return _journalFeedLocalService.getFeed(groupId, feedId);
234     }
235 
236     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getFeeds()
237         throws com.liferay.portal.kernel.exception.SystemException {
238         return _journalFeedLocalService.getFeeds();
239     }
240 
241     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getFeeds(
242         long groupId)
243         throws com.liferay.portal.kernel.exception.SystemException {
244         return _journalFeedLocalService.getFeeds(groupId);
245     }
246 
247     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getFeeds(
248         long groupId, int start, int end)
249         throws com.liferay.portal.kernel.exception.SystemException {
250         return _journalFeedLocalService.getFeeds(groupId, start, end);
251     }
252 
253     public int getFeedsCount(long groupId)
254         throws com.liferay.portal.kernel.exception.SystemException {
255         return _journalFeedLocalService.getFeedsCount(groupId);
256     }
257 
258     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> search(
259         long companyId, long groupId, java.lang.String keywords, int start,
260         int end, com.liferay.portal.kernel.util.OrderByComparator obc)
261         throws com.liferay.portal.kernel.exception.SystemException {
262         return _journalFeedLocalService.search(companyId, groupId, keywords,
263             start, end, obc);
264     }
265 
266     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> search(
267         long companyId, long groupId, java.lang.String feedId,
268         java.lang.String name, java.lang.String description,
269         boolean andOperator, int start, int end,
270         com.liferay.portal.kernel.util.OrderByComparator obc)
271         throws com.liferay.portal.kernel.exception.SystemException {
272         return _journalFeedLocalService.search(companyId, groupId, feedId,
273             name, description, andOperator, start, end, obc);
274     }
275 
276     public int searchCount(long companyId, long groupId,
277         java.lang.String keywords)
278         throws com.liferay.portal.kernel.exception.SystemException {
279         return _journalFeedLocalService.searchCount(companyId, groupId, keywords);
280     }
281 
282     public int searchCount(long companyId, long groupId,
283         java.lang.String feedId, java.lang.String name,
284         java.lang.String description, boolean andOperator)
285         throws com.liferay.portal.kernel.exception.SystemException {
286         return _journalFeedLocalService.searchCount(companyId, groupId, feedId,
287             name, description, andOperator);
288     }
289 
290     public com.liferay.portlet.journal.model.JournalFeed updateFeed(
291         long groupId, java.lang.String feedId, java.lang.String name,
292         java.lang.String description, java.lang.String type,
293         java.lang.String structureId, java.lang.String templateId,
294         java.lang.String rendererTemplateId, int delta,
295         java.lang.String orderByCol, java.lang.String orderByType,
296         java.lang.String targetLayoutFriendlyUrl,
297         java.lang.String targetPortletId, java.lang.String contentField,
298         java.lang.String feedType, double feedVersion,
299         com.liferay.portal.service.ServiceContext serviceContext)
300         throws com.liferay.portal.kernel.exception.PortalException,
301             com.liferay.portal.kernel.exception.SystemException {
302         return _journalFeedLocalService.updateFeed(groupId, feedId, name,
303             description, type, structureId, templateId, rendererTemplateId,
304             delta, orderByCol, orderByType, targetLayoutFriendlyUrl,
305             targetPortletId, contentField, feedType, feedVersion, serviceContext);
306     }
307 
308     public JournalFeedLocalService getWrappedJournalFeedLocalService() {
309         return _journalFeedLocalService;
310     }
311 
312     private JournalFeedLocalService _journalFeedLocalService;
313 }