1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.journal.service;
16  
17  /**
18   * <a href="JournalFeedLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link JournalFeedLocalService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       JournalFeedLocalService
31   * @generated
32   */
33  public class JournalFeedLocalServiceWrapper implements JournalFeedLocalService {
34      public JournalFeedLocalServiceWrapper(
35          JournalFeedLocalService journalFeedLocalService) {
36          _journalFeedLocalService = journalFeedLocalService;
37      }
38  
39      public com.liferay.portlet.journal.model.JournalFeed addJournalFeed(
40          com.liferay.portlet.journal.model.JournalFeed journalFeed)
41          throws com.liferay.portal.SystemException {
42          return _journalFeedLocalService.addJournalFeed(journalFeed);
43      }
44  
45      public com.liferay.portlet.journal.model.JournalFeed createJournalFeed(
46          long id) {
47          return _journalFeedLocalService.createJournalFeed(id);
48      }
49  
50      public void deleteJournalFeed(long id)
51          throws com.liferay.portal.PortalException,
52              com.liferay.portal.SystemException {
53          _journalFeedLocalService.deleteJournalFeed(id);
54      }
55  
56      public void deleteJournalFeed(
57          com.liferay.portlet.journal.model.JournalFeed journalFeed)
58          throws com.liferay.portal.SystemException {
59          _journalFeedLocalService.deleteJournalFeed(journalFeed);
60      }
61  
62      @SuppressWarnings("rawtypes")
63      public java.util.List dynamicQuery(
64          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65          throws com.liferay.portal.SystemException {
66          return _journalFeedLocalService.dynamicQuery(dynamicQuery);
67      }
68  
69      @SuppressWarnings("rawtypes")
70      public java.util.List dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72          int end) throws com.liferay.portal.SystemException {
73          return _journalFeedLocalService.dynamicQuery(dynamicQuery, start, end);
74      }
75  
76      @SuppressWarnings("rawtypes")
77      public java.util.List dynamicQuery(
78          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79          int end,
80          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
81          throws com.liferay.portal.SystemException {
82          return _journalFeedLocalService.dynamicQuery(dynamicQuery, start, end,
83              orderByComparator);
84      }
85  
86      public int dynamicQueryCount(
87          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
88          throws com.liferay.portal.SystemException {
89          return _journalFeedLocalService.dynamicQueryCount(dynamicQuery);
90      }
91  
92      public com.liferay.portlet.journal.model.JournalFeed getJournalFeed(long id)
93          throws com.liferay.portal.PortalException,
94              com.liferay.portal.SystemException {
95          return _journalFeedLocalService.getJournalFeed(id);
96      }
97  
98      public com.liferay.portlet.journal.model.JournalFeed getJournalFeedByUuidAndGroupId(
99          java.lang.String uuid, long groupId)
100         throws com.liferay.portal.PortalException,
101             com.liferay.portal.SystemException {
102         return _journalFeedLocalService.getJournalFeedByUuidAndGroupId(uuid,
103             groupId);
104     }
105 
106     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getJournalFeeds(
107         int start, int end) throws com.liferay.portal.SystemException {
108         return _journalFeedLocalService.getJournalFeeds(start, end);
109     }
110 
111     public int getJournalFeedsCount() throws com.liferay.portal.SystemException {
112         return _journalFeedLocalService.getJournalFeedsCount();
113     }
114 
115     public com.liferay.portlet.journal.model.JournalFeed updateJournalFeed(
116         com.liferay.portlet.journal.model.JournalFeed journalFeed)
117         throws com.liferay.portal.SystemException {
118         return _journalFeedLocalService.updateJournalFeed(journalFeed);
119     }
120 
121     public com.liferay.portlet.journal.model.JournalFeed updateJournalFeed(
122         com.liferay.portlet.journal.model.JournalFeed journalFeed, boolean merge)
123         throws com.liferay.portal.SystemException {
124         return _journalFeedLocalService.updateJournalFeed(journalFeed, merge);
125     }
126 
127     public com.liferay.portlet.journal.model.JournalFeed addFeed(long userId,
128         long groupId, java.lang.String feedId, boolean autoFeedId,
129         java.lang.String name, java.lang.String description,
130         java.lang.String type, java.lang.String structureId,
131         java.lang.String templateId, java.lang.String rendererTemplateId,
132         int delta, java.lang.String orderByCol, java.lang.String orderByType,
133         java.lang.String targetLayoutFriendlyUrl,
134         java.lang.String targetPortletId, java.lang.String contentField,
135         java.lang.String feedType, double feedVersion,
136         com.liferay.portal.service.ServiceContext serviceContext)
137         throws com.liferay.portal.PortalException,
138             com.liferay.portal.SystemException {
139         return _journalFeedLocalService.addFeed(userId, groupId, feedId,
140             autoFeedId, name, description, type, structureId, templateId,
141             rendererTemplateId, delta, orderByCol, orderByType,
142             targetLayoutFriendlyUrl, targetPortletId, contentField, feedType,
143             feedVersion, serviceContext);
144     }
145 
146     public com.liferay.portlet.journal.model.JournalFeed addFeed(
147         java.lang.String uuid, long userId, long groupId,
148         java.lang.String feedId, boolean autoFeedId, java.lang.String name,
149         java.lang.String description, java.lang.String type,
150         java.lang.String structureId, java.lang.String templateId,
151         java.lang.String rendererTemplateId, int delta,
152         java.lang.String orderByCol, java.lang.String orderByType,
153         java.lang.String targetLayoutFriendlyUrl,
154         java.lang.String targetPortletId, java.lang.String contentField,
155         java.lang.String feedType, double feedVersion,
156         com.liferay.portal.service.ServiceContext serviceContext)
157         throws com.liferay.portal.PortalException,
158             com.liferay.portal.SystemException {
159         return _journalFeedLocalService.addFeed(uuid, userId, groupId, feedId,
160             autoFeedId, name, description, type, structureId, templateId,
161             rendererTemplateId, delta, orderByCol, orderByType,
162             targetLayoutFriendlyUrl, targetPortletId, contentField, feedType,
163             feedVersion, serviceContext);
164     }
165 
166     public void addFeedResources(long feedId, boolean addCommunityPermissions,
167         boolean addGuestPermissions)
168         throws com.liferay.portal.PortalException,
169             com.liferay.portal.SystemException {
170         _journalFeedLocalService.addFeedResources(feedId,
171             addCommunityPermissions, addGuestPermissions);
172     }
173 
174     public void addFeedResources(
175         com.liferay.portlet.journal.model.JournalFeed feed,
176         boolean addCommunityPermissions, boolean addGuestPermissions)
177         throws com.liferay.portal.PortalException,
178             com.liferay.portal.SystemException {
179         _journalFeedLocalService.addFeedResources(feed,
180             addCommunityPermissions, addGuestPermissions);
181     }
182 
183     public void addFeedResources(long feedId,
184         java.lang.String[] communityPermissions,
185         java.lang.String[] guestPermissions)
186         throws com.liferay.portal.PortalException,
187             com.liferay.portal.SystemException {
188         _journalFeedLocalService.addFeedResources(feedId, communityPermissions,
189             guestPermissions);
190     }
191 
192     public void addFeedResources(
193         com.liferay.portlet.journal.model.JournalFeed feed,
194         java.lang.String[] communityPermissions,
195         java.lang.String[] guestPermissions)
196         throws com.liferay.portal.PortalException,
197             com.liferay.portal.SystemException {
198         _journalFeedLocalService.addFeedResources(feed, communityPermissions,
199             guestPermissions);
200     }
201 
202     public void deleteFeed(long feedId)
203         throws com.liferay.portal.PortalException,
204             com.liferay.portal.SystemException {
205         _journalFeedLocalService.deleteFeed(feedId);
206     }
207 
208     public void deleteFeed(long groupId, java.lang.String feedId)
209         throws com.liferay.portal.PortalException,
210             com.liferay.portal.SystemException {
211         _journalFeedLocalService.deleteFeed(groupId, feedId);
212     }
213 
214     public void deleteFeed(com.liferay.portlet.journal.model.JournalFeed feed)
215         throws com.liferay.portal.PortalException,
216             com.liferay.portal.SystemException {
217         _journalFeedLocalService.deleteFeed(feed);
218     }
219 
220     public com.liferay.portlet.journal.model.JournalFeed getFeed(long feedId)
221         throws com.liferay.portal.PortalException,
222             com.liferay.portal.SystemException {
223         return _journalFeedLocalService.getFeed(feedId);
224     }
225 
226     public com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId,
227         java.lang.String feedId)
228         throws com.liferay.portal.PortalException,
229             com.liferay.portal.SystemException {
230         return _journalFeedLocalService.getFeed(groupId, feedId);
231     }
232 
233     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getFeeds()
234         throws com.liferay.portal.SystemException {
235         return _journalFeedLocalService.getFeeds();
236     }
237 
238     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getFeeds(
239         long groupId) throws com.liferay.portal.SystemException {
240         return _journalFeedLocalService.getFeeds(groupId);
241     }
242 
243     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getFeeds(
244         long groupId, int start, int end)
245         throws com.liferay.portal.SystemException {
246         return _journalFeedLocalService.getFeeds(groupId, start, end);
247     }
248 
249     public int getFeedsCount(long groupId)
250         throws com.liferay.portal.SystemException {
251         return _journalFeedLocalService.getFeedsCount(groupId);
252     }
253 
254     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> search(
255         long companyId, long groupId, java.lang.String keywords, int start,
256         int end, com.liferay.portal.kernel.util.OrderByComparator obc)
257         throws com.liferay.portal.SystemException {
258         return _journalFeedLocalService.search(companyId, groupId, keywords,
259             start, end, obc);
260     }
261 
262     public java.util.List<com.liferay.portlet.journal.model.JournalFeed> search(
263         long companyId, long groupId, java.lang.String feedId,
264         java.lang.String name, java.lang.String description,
265         boolean andOperator, int start, int end,
266         com.liferay.portal.kernel.util.OrderByComparator obc)
267         throws com.liferay.portal.SystemException {
268         return _journalFeedLocalService.search(companyId, groupId, feedId,
269             name, description, andOperator, start, end, obc);
270     }
271 
272     public int searchCount(long companyId, long groupId,
273         java.lang.String keywords) throws com.liferay.portal.SystemException {
274         return _journalFeedLocalService.searchCount(companyId, groupId, keywords);
275     }
276 
277     public int searchCount(long companyId, long groupId,
278         java.lang.String feedId, java.lang.String name,
279         java.lang.String description, boolean andOperator)
280         throws com.liferay.portal.SystemException {
281         return _journalFeedLocalService.searchCount(companyId, groupId, feedId,
282             name, description, andOperator);
283     }
284 
285     public com.liferay.portlet.journal.model.JournalFeed updateFeed(
286         long groupId, java.lang.String feedId, java.lang.String name,
287         java.lang.String description, java.lang.String type,
288         java.lang.String structureId, java.lang.String templateId,
289         java.lang.String rendererTemplateId, int delta,
290         java.lang.String orderByCol, java.lang.String orderByType,
291         java.lang.String targetLayoutFriendlyUrl,
292         java.lang.String targetPortletId, java.lang.String contentField,
293         java.lang.String feedType, double feedVersion,
294         com.liferay.portal.service.ServiceContext serviceContext)
295         throws com.liferay.portal.PortalException,
296             com.liferay.portal.SystemException {
297         return _journalFeedLocalService.updateFeed(groupId, feedId, name,
298             description, type, structureId, templateId, rendererTemplateId,
299             delta, orderByCol, orderByType, targetLayoutFriendlyUrl,
300             targetPortletId, contentField, feedType, feedVersion, serviceContext);
301     }
302 
303     public JournalFeedLocalService getWrappedJournalFeedLocalService() {
304         return _journalFeedLocalService;
305     }
306 
307     private JournalFeedLocalService _journalFeedLocalService;
308 }