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