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