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