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.wiki.service;
16  
17  
18  /**
19   * <a href="WikiPageLocalServiceUtil.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 WikiPageLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       WikiPageLocalService
32   * @generated
33   */
34  public class WikiPageLocalServiceWrapper implements WikiPageLocalService {
35      public WikiPageLocalServiceWrapper(
36          WikiPageLocalService wikiPageLocalService) {
37          _wikiPageLocalService = wikiPageLocalService;
38      }
39  
40      public com.liferay.portlet.wiki.model.WikiPage addWikiPage(
41          com.liferay.portlet.wiki.model.WikiPage wikiPage)
42          throws com.liferay.portal.SystemException {
43          return _wikiPageLocalService.addWikiPage(wikiPage);
44      }
45  
46      public com.liferay.portlet.wiki.model.WikiPage createWikiPage(long pageId) {
47          return _wikiPageLocalService.createWikiPage(pageId);
48      }
49  
50      public void deleteWikiPage(long pageId)
51          throws com.liferay.portal.PortalException,
52              com.liferay.portal.SystemException {
53          _wikiPageLocalService.deleteWikiPage(pageId);
54      }
55  
56      public void deleteWikiPage(com.liferay.portlet.wiki.model.WikiPage wikiPage)
57          throws com.liferay.portal.SystemException {
58          _wikiPageLocalService.deleteWikiPage(wikiPage);
59      }
60  
61      public java.util.List<Object> dynamicQuery(
62          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
63          throws com.liferay.portal.SystemException {
64          return _wikiPageLocalService.dynamicQuery(dynamicQuery);
65      }
66  
67      public java.util.List<Object> dynamicQuery(
68          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
69          int end) throws com.liferay.portal.SystemException {
70          return _wikiPageLocalService.dynamicQuery(dynamicQuery, start, end);
71      }
72  
73      public java.util.List<Object> dynamicQuery(
74          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
75          int end,
76          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
77          throws com.liferay.portal.SystemException {
78          return _wikiPageLocalService.dynamicQuery(dynamicQuery, start, end,
79              orderByComparator);
80      }
81  
82      public int dynamicQueryCount(
83          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
84          throws com.liferay.portal.SystemException {
85          return _wikiPageLocalService.dynamicQueryCount(dynamicQuery);
86      }
87  
88      public com.liferay.portlet.wiki.model.WikiPage getWikiPage(long pageId)
89          throws com.liferay.portal.PortalException,
90              com.liferay.portal.SystemException {
91          return _wikiPageLocalService.getWikiPage(pageId);
92      }
93  
94      public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getWikiPages(
95          int start, int end) throws com.liferay.portal.SystemException {
96          return _wikiPageLocalService.getWikiPages(start, end);
97      }
98  
99      public int getWikiPagesCount() throws com.liferay.portal.SystemException {
100         return _wikiPageLocalService.getWikiPagesCount();
101     }
102 
103     public com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
104         com.liferay.portlet.wiki.model.WikiPage wikiPage)
105         throws com.liferay.portal.SystemException {
106         return _wikiPageLocalService.updateWikiPage(wikiPage);
107     }
108 
109     public com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
110         com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
111         throws com.liferay.portal.SystemException {
112         return _wikiPageLocalService.updateWikiPage(wikiPage, merge);
113     }
114 
115     public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
116         long nodeId, java.lang.String title, java.lang.String content,
117         java.lang.String summary, boolean minorEdit,
118         com.liferay.portal.service.ServiceContext serviceContext)
119         throws com.liferay.portal.PortalException,
120             com.liferay.portal.SystemException {
121         return _wikiPageLocalService.addPage(userId, nodeId, title, content,
122             summary, minorEdit, serviceContext);
123     }
124 
125     public com.liferay.portlet.wiki.model.WikiPage addPage(
126         java.lang.String uuid, long userId, long nodeId,
127         java.lang.String title, double version, java.lang.String content,
128         java.lang.String summary, boolean minorEdit, java.lang.String format,
129         boolean head, java.lang.String parentTitle,
130         java.lang.String redirectTitle,
131         com.liferay.portal.service.ServiceContext serviceContext)
132         throws com.liferay.portal.PortalException,
133             com.liferay.portal.SystemException {
134         return _wikiPageLocalService.addPage(uuid, userId, nodeId, title,
135             version, content, summary, minorEdit, format, head, parentTitle,
136             redirectTitle, serviceContext);
137     }
138 
139     public void addPageAttachments(long nodeId, java.lang.String title,
140         java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<String, byte[]>> files)
141         throws com.liferay.portal.PortalException,
142             com.liferay.portal.SystemException {
143         _wikiPageLocalService.addPageAttachments(nodeId, title, files);
144     }
145 
146     public void addPageResources(long nodeId, java.lang.String title,
147         boolean addCommunityPermissions, boolean addGuestPermissions)
148         throws com.liferay.portal.PortalException,
149             com.liferay.portal.SystemException {
150         _wikiPageLocalService.addPageResources(nodeId, title,
151             addCommunityPermissions, addGuestPermissions);
152     }
153 
154     public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
155         boolean addCommunityPermissions, boolean addGuestPermissions)
156         throws com.liferay.portal.PortalException,
157             com.liferay.portal.SystemException {
158         _wikiPageLocalService.addPageResources(page, addCommunityPermissions,
159             addGuestPermissions);
160     }
161 
162     public void addPageResources(long nodeId, java.lang.String title,
163         java.lang.String[] communityPermissions,
164         java.lang.String[] guestPermissions)
165         throws com.liferay.portal.PortalException,
166             com.liferay.portal.SystemException {
167         _wikiPageLocalService.addPageResources(nodeId, title,
168             communityPermissions, guestPermissions);
169     }
170 
171     public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
172         java.lang.String[] communityPermissions,
173         java.lang.String[] guestPermissions)
174         throws com.liferay.portal.PortalException,
175             com.liferay.portal.SystemException {
176         _wikiPageLocalService.addPageResources(page, communityPermissions,
177             guestPermissions);
178     }
179 
180     public void changeParent(long userId, long nodeId, java.lang.String title,
181         java.lang.String newParentTitle,
182         com.liferay.portal.service.ServiceContext serviceContext)
183         throws com.liferay.portal.PortalException,
184             com.liferay.portal.SystemException {
185         _wikiPageLocalService.changeParent(userId, nodeId, title,
186             newParentTitle, serviceContext);
187     }
188 
189     public void deletePage(long nodeId, java.lang.String title)
190         throws com.liferay.portal.PortalException,
191             com.liferay.portal.SystemException {
192         _wikiPageLocalService.deletePage(nodeId, title);
193     }
194 
195     public void deletePage(com.liferay.portlet.wiki.model.WikiPage page)
196         throws com.liferay.portal.PortalException,
197             com.liferay.portal.SystemException {
198         _wikiPageLocalService.deletePage(page);
199     }
200 
201     public void deletePageAttachment(long nodeId, java.lang.String title,
202         java.lang.String fileName)
203         throws com.liferay.portal.PortalException,
204             com.liferay.portal.SystemException {
205         _wikiPageLocalService.deletePageAttachment(nodeId, title, fileName);
206     }
207 
208     public void deletePages(long nodeId)
209         throws com.liferay.portal.PortalException,
210             com.liferay.portal.SystemException {
211         _wikiPageLocalService.deletePages(nodeId);
212     }
213 
214     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(
215         long nodeId, boolean head, java.lang.String parentTitle)
216         throws com.liferay.portal.SystemException {
217         return _wikiPageLocalService.getChildren(nodeId, head, parentTitle);
218     }
219 
220     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getIncomingLinks(
221         long nodeId, java.lang.String title)
222         throws com.liferay.portal.PortalException,
223             com.liferay.portal.SystemException {
224         return _wikiPageLocalService.getIncomingLinks(nodeId, title);
225     }
226 
227     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNoAssetPages()
228         throws com.liferay.portal.SystemException {
229         return _wikiPageLocalService.getNoAssetPages();
230     }
231 
232     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(
233         long nodeId)
234         throws com.liferay.portal.PortalException,
235             com.liferay.portal.SystemException {
236         return _wikiPageLocalService.getOrphans(nodeId);
237     }
238 
239     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOutgoingLinks(
240         long nodeId, java.lang.String title)
241         throws com.liferay.portal.PortalException,
242             com.liferay.portal.SystemException {
243         return _wikiPageLocalService.getOutgoingLinks(nodeId, title);
244     }
245 
246     public com.liferay.portlet.wiki.model.WikiPage getPage(long resourcePrimKey)
247         throws com.liferay.portal.PortalException,
248             com.liferay.portal.SystemException {
249         return _wikiPageLocalService.getPage(resourcePrimKey);
250     }
251 
252     public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
253         java.lang.String title)
254         throws com.liferay.portal.PortalException,
255             com.liferay.portal.SystemException {
256         return _wikiPageLocalService.getPage(nodeId, title);
257     }
258 
259     public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
260         java.lang.String title, double version)
261         throws com.liferay.portal.PortalException,
262             com.liferay.portal.SystemException {
263         return _wikiPageLocalService.getPage(nodeId, title, version);
264     }
265 
266     public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
267         long nodeId, java.lang.String title,
268         javax.portlet.PortletURL viewPageURL,
269         javax.portlet.PortletURL editPageURL,
270         java.lang.String attachmentURLPrefix)
271         throws com.liferay.portal.PortalException,
272             com.liferay.portal.SystemException {
273         return _wikiPageLocalService.getPageDisplay(nodeId, title, viewPageURL,
274             editPageURL, attachmentURLPrefix);
275     }
276 
277     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
278         long nodeId, int start, int end)
279         throws com.liferay.portal.SystemException {
280         return _wikiPageLocalService.getPages(nodeId, start, end);
281     }
282 
283     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
284         java.lang.String format) throws com.liferay.portal.SystemException {
285         return _wikiPageLocalService.getPages(format);
286     }
287 
288     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
289         long nodeId, java.lang.String title, int start, int end)
290         throws com.liferay.portal.SystemException {
291         return _wikiPageLocalService.getPages(nodeId, title, start, end);
292     }
293 
294     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
295         long nodeId, java.lang.String title, int start, int end,
296         com.liferay.portal.kernel.util.OrderByComparator obc)
297         throws com.liferay.portal.SystemException {
298         return _wikiPageLocalService.getPages(nodeId, title, start, end, obc);
299     }
300 
301     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
302         long nodeId, boolean head, int start, int end)
303         throws com.liferay.portal.SystemException {
304         return _wikiPageLocalService.getPages(nodeId, head, start, end);
305     }
306 
307     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
308         long nodeId, java.lang.String title, boolean head, int start, int end)
309         throws com.liferay.portal.SystemException {
310         return _wikiPageLocalService.getPages(nodeId, title, head, start, end);
311     }
312 
313     public int getPagesCount(long nodeId)
314         throws com.liferay.portal.SystemException {
315         return _wikiPageLocalService.getPagesCount(nodeId);
316     }
317 
318     public int getPagesCount(long nodeId, java.lang.String title)
319         throws com.liferay.portal.SystemException {
320         return _wikiPageLocalService.getPagesCount(nodeId, title);
321     }
322 
323     public int getPagesCount(long nodeId, boolean head)
324         throws com.liferay.portal.SystemException {
325         return _wikiPageLocalService.getPagesCount(nodeId, head);
326     }
327 
328     public int getPagesCount(long nodeId, java.lang.String title, boolean head)
329         throws com.liferay.portal.SystemException {
330         return _wikiPageLocalService.getPagesCount(nodeId, title, head);
331     }
332 
333     public int getPagesCount(java.lang.String format)
334         throws com.liferay.portal.SystemException {
335         return _wikiPageLocalService.getPagesCount(format);
336     }
337 
338     public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
339         long nodeId, int start, int end)
340         throws com.liferay.portal.SystemException {
341         return _wikiPageLocalService.getRecentChanges(nodeId, start, end);
342     }
343 
344     public int getRecentChangesCount(long nodeId)
345         throws com.liferay.portal.SystemException {
346         return _wikiPageLocalService.getRecentChangesCount(nodeId);
347     }
348 
349     public void movePage(long userId, long nodeId, java.lang.String title,
350         java.lang.String newTitle,
351         com.liferay.portal.service.ServiceContext serviceContext)
352         throws com.liferay.portal.PortalException,
353             com.liferay.portal.SystemException {
354         _wikiPageLocalService.movePage(userId, nodeId, title, newTitle,
355             serviceContext);
356     }
357 
358     public void movePage(long userId, long nodeId, java.lang.String title,
359         java.lang.String newTitle, boolean strict,
360         com.liferay.portal.service.ServiceContext serviceContext)
361         throws com.liferay.portal.PortalException,
362             com.liferay.portal.SystemException {
363         _wikiPageLocalService.movePage(userId, nodeId, title, newTitle, strict,
364             serviceContext);
365     }
366 
367     public void reIndex(long resourcePrimKey)
368         throws com.liferay.portal.SystemException {
369         _wikiPageLocalService.reIndex(resourcePrimKey);
370     }
371 
372     public void reIndex(com.liferay.portlet.wiki.model.WikiPage page)
373         throws com.liferay.portal.SystemException {
374         _wikiPageLocalService.reIndex(page);
375     }
376 
377     public com.liferay.portlet.wiki.model.WikiPage revertPage(long userId,
378         long nodeId, java.lang.String title, double version,
379         com.liferay.portal.service.ServiceContext serviceContext)
380         throws com.liferay.portal.PortalException,
381             com.liferay.portal.SystemException {
382         return _wikiPageLocalService.revertPage(userId, nodeId, title, version,
383             serviceContext);
384     }
385 
386     public void subscribePage(long userId, long nodeId, java.lang.String title)
387         throws com.liferay.portal.PortalException,
388             com.liferay.portal.SystemException {
389         _wikiPageLocalService.subscribePage(userId, nodeId, title);
390     }
391 
392     public void unsubscribePage(long userId, long nodeId, java.lang.String title)
393         throws com.liferay.portal.PortalException,
394             com.liferay.portal.SystemException {
395         _wikiPageLocalService.unsubscribePage(userId, nodeId, title);
396     }
397 
398     public com.liferay.portlet.wiki.model.WikiPage updatePage(long userId,
399         long nodeId, java.lang.String title, double version,
400         java.lang.String content, java.lang.String summary, boolean minorEdit,
401         java.lang.String format, java.lang.String parentTitle,
402         java.lang.String redirectTitle,
403         com.liferay.portal.service.ServiceContext serviceContext)
404         throws com.liferay.portal.PortalException,
405             com.liferay.portal.SystemException {
406         return _wikiPageLocalService.updatePage(userId, nodeId, title, version,
407             content, summary, minorEdit, format, parentTitle, redirectTitle,
408             serviceContext);
409     }
410 
411     public void updateTagsAsset(long userId,
412         com.liferay.portlet.wiki.model.WikiPage page,
413         java.lang.String[] tagsCategories, java.lang.String[] tagsEntries)
414         throws com.liferay.portal.PortalException,
415             com.liferay.portal.SystemException {
416         _wikiPageLocalService.updateTagsAsset(userId, page, tagsCategories,
417             tagsEntries);
418     }
419 
420     public void validateTitle(java.lang.String title)
421         throws com.liferay.portal.PortalException {
422         _wikiPageLocalService.validateTitle(title);
423     }
424 
425     public WikiPageLocalService getWrappedWikiPageLocalService() {
426         return _wikiPageLocalService;
427     }
428 
429     private WikiPageLocalService _wikiPageLocalService;
430 }