001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.wiki.service;
016    
017    
018    /**
019     * <p>
020     * This class is a wrapper for {@link WikiPageLocalService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       WikiPageLocalService
025     * @generated
026     */
027    public class WikiPageLocalServiceWrapper implements WikiPageLocalService {
028            public WikiPageLocalServiceWrapper(
029                    WikiPageLocalService wikiPageLocalService) {
030                    _wikiPageLocalService = wikiPageLocalService;
031            }
032    
033            public com.liferay.portlet.wiki.model.WikiPage addWikiPage(
034                    com.liferay.portlet.wiki.model.WikiPage wikiPage)
035                    throws com.liferay.portal.kernel.exception.SystemException {
036                    return _wikiPageLocalService.addWikiPage(wikiPage);
037            }
038    
039            public com.liferay.portlet.wiki.model.WikiPage createWikiPage(long pageId) {
040                    return _wikiPageLocalService.createWikiPage(pageId);
041            }
042    
043            public void deleteWikiPage(long pageId)
044                    throws com.liferay.portal.kernel.exception.PortalException,
045                            com.liferay.portal.kernel.exception.SystemException {
046                    _wikiPageLocalService.deleteWikiPage(pageId);
047            }
048    
049            public void deleteWikiPage(com.liferay.portlet.wiki.model.WikiPage wikiPage)
050                    throws com.liferay.portal.kernel.exception.SystemException {
051                    _wikiPageLocalService.deleteWikiPage(wikiPage);
052            }
053    
054            @SuppressWarnings("unchecked")
055            public java.util.List dynamicQuery(
056                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
057                    throws com.liferay.portal.kernel.exception.SystemException {
058                    return _wikiPageLocalService.dynamicQuery(dynamicQuery);
059            }
060    
061            @SuppressWarnings("unchecked")
062            public java.util.List dynamicQuery(
063                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
064                    int end) throws com.liferay.portal.kernel.exception.SystemException {
065                    return _wikiPageLocalService.dynamicQuery(dynamicQuery, start, end);
066            }
067    
068            @SuppressWarnings("unchecked")
069            public java.util.List dynamicQuery(
070                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
071                    int end,
072                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
073                    throws com.liferay.portal.kernel.exception.SystemException {
074                    return _wikiPageLocalService.dynamicQuery(dynamicQuery, start, end,
075                            orderByComparator);
076            }
077    
078            public long dynamicQueryCount(
079                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
080                    throws com.liferay.portal.kernel.exception.SystemException {
081                    return _wikiPageLocalService.dynamicQueryCount(dynamicQuery);
082            }
083    
084            public com.liferay.portlet.wiki.model.WikiPage getWikiPage(long pageId)
085                    throws com.liferay.portal.kernel.exception.PortalException,
086                            com.liferay.portal.kernel.exception.SystemException {
087                    return _wikiPageLocalService.getWikiPage(pageId);
088            }
089    
090            public com.liferay.portlet.wiki.model.WikiPage getWikiPageByUuidAndGroupId(
091                    java.lang.String uuid, long groupId)
092                    throws com.liferay.portal.kernel.exception.PortalException,
093                            com.liferay.portal.kernel.exception.SystemException {
094                    return _wikiPageLocalService.getWikiPageByUuidAndGroupId(uuid, groupId);
095            }
096    
097            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getWikiPages(
098                    int start, int end)
099                    throws com.liferay.portal.kernel.exception.SystemException {
100                    return _wikiPageLocalService.getWikiPages(start, end);
101            }
102    
103            public int getWikiPagesCount()
104                    throws com.liferay.portal.kernel.exception.SystemException {
105                    return _wikiPageLocalService.getWikiPagesCount();
106            }
107    
108            public com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
109                    com.liferay.portlet.wiki.model.WikiPage wikiPage)
110                    throws com.liferay.portal.kernel.exception.SystemException {
111                    return _wikiPageLocalService.updateWikiPage(wikiPage);
112            }
113    
114            public com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
115                    com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
116                    throws com.liferay.portal.kernel.exception.SystemException {
117                    return _wikiPageLocalService.updateWikiPage(wikiPage, merge);
118            }
119    
120            public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
121                    long nodeId, java.lang.String title, double version,
122                    java.lang.String content, java.lang.String summary, boolean minorEdit,
123                    java.lang.String format, boolean head, java.lang.String parentTitle,
124                    java.lang.String redirectTitle,
125                    com.liferay.portal.service.ServiceContext serviceContext)
126                    throws com.liferay.portal.kernel.exception.PortalException,
127                            com.liferay.portal.kernel.exception.SystemException {
128                    return _wikiPageLocalService.addPage(userId, nodeId, title, version,
129                            content, summary, minorEdit, format, head, parentTitle,
130                            redirectTitle, serviceContext);
131            }
132    
133            public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
134                    long nodeId, java.lang.String title, java.lang.String content,
135                    java.lang.String summary, boolean minorEdit,
136                    com.liferay.portal.service.ServiceContext serviceContext)
137                    throws com.liferay.portal.kernel.exception.PortalException,
138                            com.liferay.portal.kernel.exception.SystemException {
139                    return _wikiPageLocalService.addPage(userId, nodeId, title, content,
140                            summary, minorEdit, serviceContext);
141            }
142    
143            public void addPageAttachment(long companyId, java.lang.String dirName,
144                    java.util.Date modifiedDate, java.lang.String fileName,
145                    java.io.InputStream inputStream)
146                    throws com.liferay.portal.kernel.exception.PortalException,
147                            com.liferay.portal.kernel.exception.SystemException {
148                    _wikiPageLocalService.addPageAttachment(companyId, dirName,
149                            modifiedDate, fileName, inputStream);
150            }
151    
152            public void addPageAttachments(long nodeId, java.lang.String title,
153                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, byte[]>> files)
154                    throws com.liferay.portal.kernel.exception.PortalException,
155                            com.liferay.portal.kernel.exception.SystemException {
156                    _wikiPageLocalService.addPageAttachments(nodeId, title, files);
157            }
158    
159            public void addPageResources(long nodeId, java.lang.String title,
160                    boolean addCommunityPermissions, boolean addGuestPermissions)
161                    throws com.liferay.portal.kernel.exception.PortalException,
162                            com.liferay.portal.kernel.exception.SystemException {
163                    _wikiPageLocalService.addPageResources(nodeId, title,
164                            addCommunityPermissions, addGuestPermissions);
165            }
166    
167            public void addPageResources(long nodeId, java.lang.String title,
168                    java.lang.String[] communityPermissions,
169                    java.lang.String[] guestPermissions)
170                    throws com.liferay.portal.kernel.exception.PortalException,
171                            com.liferay.portal.kernel.exception.SystemException {
172                    _wikiPageLocalService.addPageResources(nodeId, title,
173                            communityPermissions, guestPermissions);
174            }
175    
176            public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
177                    boolean addCommunityPermissions, boolean addGuestPermissions)
178                    throws com.liferay.portal.kernel.exception.PortalException,
179                            com.liferay.portal.kernel.exception.SystemException {
180                    _wikiPageLocalService.addPageResources(page, addCommunityPermissions,
181                            addGuestPermissions);
182            }
183    
184            public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
185                    java.lang.String[] communityPermissions,
186                    java.lang.String[] guestPermissions)
187                    throws com.liferay.portal.kernel.exception.PortalException,
188                            com.liferay.portal.kernel.exception.SystemException {
189                    _wikiPageLocalService.addPageResources(page, communityPermissions,
190                            guestPermissions);
191            }
192    
193            public void changeParent(long userId, long nodeId, java.lang.String title,
194                    java.lang.String newParentTitle,
195                    com.liferay.portal.service.ServiceContext serviceContext)
196                    throws com.liferay.portal.kernel.exception.PortalException,
197                            com.liferay.portal.kernel.exception.SystemException {
198                    _wikiPageLocalService.changeParent(userId, nodeId, title,
199                            newParentTitle, serviceContext);
200            }
201    
202            public void deletePage(long nodeId, java.lang.String title)
203                    throws com.liferay.portal.kernel.exception.PortalException,
204                            com.liferay.portal.kernel.exception.SystemException {
205                    _wikiPageLocalService.deletePage(nodeId, title);
206            }
207    
208            public void deletePage(long nodeId, java.lang.String title, double version)
209                    throws com.liferay.portal.kernel.exception.PortalException,
210                            com.liferay.portal.kernel.exception.SystemException {
211                    _wikiPageLocalService.deletePage(nodeId, title, version);
212            }
213    
214            public void deletePage(com.liferay.portlet.wiki.model.WikiPage page)
215                    throws com.liferay.portal.kernel.exception.PortalException,
216                            com.liferay.portal.kernel.exception.SystemException {
217                    _wikiPageLocalService.deletePage(page);
218            }
219    
220            public void deletePageAttachment(long nodeId, java.lang.String title,
221                    java.lang.String fileName)
222                    throws com.liferay.portal.kernel.exception.PortalException,
223                            com.liferay.portal.kernel.exception.SystemException {
224                    _wikiPageLocalService.deletePageAttachment(nodeId, title, fileName);
225            }
226    
227            public void deletePages(long nodeId)
228                    throws com.liferay.portal.kernel.exception.PortalException,
229                            com.liferay.portal.kernel.exception.SystemException {
230                    _wikiPageLocalService.deletePages(nodeId);
231            }
232    
233            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(
234                    long nodeId, boolean head, java.lang.String parentTitle)
235                    throws com.liferay.portal.kernel.exception.SystemException {
236                    return _wikiPageLocalService.getChildren(nodeId, head, parentTitle);
237            }
238    
239            public com.liferay.portlet.wiki.model.WikiPage getDraftPage(long nodeId,
240                    java.lang.String title)
241                    throws com.liferay.portal.kernel.exception.PortalException,
242                            com.liferay.portal.kernel.exception.SystemException {
243                    return _wikiPageLocalService.getDraftPage(nodeId, title);
244            }
245    
246            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getIncomingLinks(
247                    long nodeId, java.lang.String title)
248                    throws com.liferay.portal.kernel.exception.PortalException,
249                            com.liferay.portal.kernel.exception.SystemException {
250                    return _wikiPageLocalService.getIncomingLinks(nodeId, title);
251            }
252    
253            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNoAssetPages()
254                    throws com.liferay.portal.kernel.exception.SystemException {
255                    return _wikiPageLocalService.getNoAssetPages();
256            }
257    
258            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(
259                    long nodeId)
260                    throws com.liferay.portal.kernel.exception.PortalException,
261                            com.liferay.portal.kernel.exception.SystemException {
262                    return _wikiPageLocalService.getOrphans(nodeId);
263            }
264    
265            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOutgoingLinks(
266                    long nodeId, java.lang.String title)
267                    throws com.liferay.portal.kernel.exception.PortalException,
268                            com.liferay.portal.kernel.exception.SystemException {
269                    return _wikiPageLocalService.getOutgoingLinks(nodeId, title);
270            }
271    
272            public com.liferay.portlet.wiki.model.WikiPage getPage(long resourcePrimKey)
273                    throws com.liferay.portal.kernel.exception.PortalException,
274                            com.liferay.portal.kernel.exception.SystemException {
275                    return _wikiPageLocalService.getPage(resourcePrimKey);
276            }
277    
278            public com.liferay.portlet.wiki.model.WikiPage getPage(
279                    long resourcePrimKey, java.lang.Boolean head)
280                    throws com.liferay.portal.kernel.exception.PortalException,
281                            com.liferay.portal.kernel.exception.SystemException {
282                    return _wikiPageLocalService.getPage(resourcePrimKey, head);
283            }
284    
285            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
286                    java.lang.String title)
287                    throws com.liferay.portal.kernel.exception.PortalException,
288                            com.liferay.portal.kernel.exception.SystemException {
289                    return _wikiPageLocalService.getPage(nodeId, title);
290            }
291    
292            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
293                    java.lang.String title, java.lang.Boolean head)
294                    throws com.liferay.portal.kernel.exception.PortalException,
295                            com.liferay.portal.kernel.exception.SystemException {
296                    return _wikiPageLocalService.getPage(nodeId, title, head);
297            }
298    
299            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
300                    java.lang.String title, double version)
301                    throws com.liferay.portal.kernel.exception.PortalException,
302                            com.liferay.portal.kernel.exception.SystemException {
303                    return _wikiPageLocalService.getPage(nodeId, title, version);
304            }
305    
306            public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
307                    long nodeId, java.lang.String title,
308                    javax.portlet.PortletURL viewPageURL,
309                    javax.portlet.PortletURL editPageURL,
310                    java.lang.String attachmentURLPrefix)
311                    throws com.liferay.portal.kernel.exception.PortalException,
312                            com.liferay.portal.kernel.exception.SystemException {
313                    return _wikiPageLocalService.getPageDisplay(nodeId, title, viewPageURL,
314                            editPageURL, attachmentURLPrefix);
315            }
316    
317            public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
318                    com.liferay.portlet.wiki.model.WikiPage page,
319                    javax.portlet.PortletURL viewPageURL,
320                    javax.portlet.PortletURL editPageURL,
321                    java.lang.String attachmentURLPrefix)
322                    throws com.liferay.portal.kernel.exception.PortalException,
323                            com.liferay.portal.kernel.exception.SystemException {
324                    return _wikiPageLocalService.getPageDisplay(page, viewPageURL,
325                            editPageURL, attachmentURLPrefix);
326            }
327    
328            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
329                    long nodeId, boolean head, int start, int end)
330                    throws com.liferay.portal.kernel.exception.SystemException {
331                    return _wikiPageLocalService.getPages(nodeId, head, start, end);
332            }
333    
334            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
335                    long nodeId, int start, int end)
336                    throws com.liferay.portal.kernel.exception.SystemException {
337                    return _wikiPageLocalService.getPages(nodeId, start, end);
338            }
339    
340            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
341                    long resourcePrimKey, long nodeId, int status)
342                    throws com.liferay.portal.kernel.exception.SystemException {
343                    return _wikiPageLocalService.getPages(resourcePrimKey, nodeId, status);
344            }
345    
346            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
347                    long userId, long nodeId, int status, int start, int end)
348                    throws com.liferay.portal.kernel.exception.SystemException {
349                    return _wikiPageLocalService.getPages(userId, nodeId, status, start, end);
350            }
351    
352            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
353                    long nodeId, java.lang.String title, boolean head, int start, int end)
354                    throws com.liferay.portal.kernel.exception.SystemException {
355                    return _wikiPageLocalService.getPages(nodeId, title, head, start, end);
356            }
357    
358            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
359                    long nodeId, java.lang.String title, int start, int end)
360                    throws com.liferay.portal.kernel.exception.SystemException {
361                    return _wikiPageLocalService.getPages(nodeId, title, start, end);
362            }
363    
364            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
365                    long nodeId, java.lang.String title, int start, int end,
366                    com.liferay.portal.kernel.util.OrderByComparator obc)
367                    throws com.liferay.portal.kernel.exception.SystemException {
368                    return _wikiPageLocalService.getPages(nodeId, title, start, end, obc);
369            }
370    
371            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
372                    java.lang.String format)
373                    throws com.liferay.portal.kernel.exception.SystemException {
374                    return _wikiPageLocalService.getPages(format);
375            }
376    
377            public int getPagesCount(long nodeId)
378                    throws com.liferay.portal.kernel.exception.SystemException {
379                    return _wikiPageLocalService.getPagesCount(nodeId);
380            }
381    
382            public int getPagesCount(long nodeId, boolean head)
383                    throws com.liferay.portal.kernel.exception.SystemException {
384                    return _wikiPageLocalService.getPagesCount(nodeId, head);
385            }
386    
387            public int getPagesCount(long userId, long nodeId, int status)
388                    throws com.liferay.portal.kernel.exception.SystemException {
389                    return _wikiPageLocalService.getPagesCount(userId, nodeId, status);
390            }
391    
392            public int getPagesCount(long nodeId, java.lang.String title)
393                    throws com.liferay.portal.kernel.exception.SystemException {
394                    return _wikiPageLocalService.getPagesCount(nodeId, title);
395            }
396    
397            public int getPagesCount(long nodeId, java.lang.String title, boolean head)
398                    throws com.liferay.portal.kernel.exception.SystemException {
399                    return _wikiPageLocalService.getPagesCount(nodeId, title, head);
400            }
401    
402            public int getPagesCount(java.lang.String format)
403                    throws com.liferay.portal.kernel.exception.SystemException {
404                    return _wikiPageLocalService.getPagesCount(format);
405            }
406    
407            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
408                    long nodeId, int start, int end)
409                    throws com.liferay.portal.kernel.exception.SystemException {
410                    return _wikiPageLocalService.getRecentChanges(nodeId, start, end);
411            }
412    
413            public int getRecentChangesCount(long nodeId)
414                    throws com.liferay.portal.kernel.exception.SystemException {
415                    return _wikiPageLocalService.getRecentChangesCount(nodeId);
416            }
417    
418            public boolean hasDraftPage(long nodeId, java.lang.String title)
419                    throws com.liferay.portal.kernel.exception.SystemException {
420                    return _wikiPageLocalService.hasDraftPage(nodeId, title);
421            }
422    
423            public void movePage(long userId, long nodeId, java.lang.String title,
424                    java.lang.String newTitle, boolean strict,
425                    com.liferay.portal.service.ServiceContext serviceContext)
426                    throws com.liferay.portal.kernel.exception.PortalException,
427                            com.liferay.portal.kernel.exception.SystemException {
428                    _wikiPageLocalService.movePage(userId, nodeId, title, newTitle, strict,
429                            serviceContext);
430            }
431    
432            public void movePage(long userId, long nodeId, java.lang.String title,
433                    java.lang.String newTitle,
434                    com.liferay.portal.service.ServiceContext serviceContext)
435                    throws com.liferay.portal.kernel.exception.PortalException,
436                            com.liferay.portal.kernel.exception.SystemException {
437                    _wikiPageLocalService.movePage(userId, nodeId, title, newTitle,
438                            serviceContext);
439            }
440    
441            public com.liferay.portlet.wiki.model.WikiPage revertPage(long userId,
442                    long nodeId, java.lang.String title, double version,
443                    com.liferay.portal.service.ServiceContext serviceContext)
444                    throws com.liferay.portal.kernel.exception.PortalException,
445                            com.liferay.portal.kernel.exception.SystemException {
446                    return _wikiPageLocalService.revertPage(userId, nodeId, title, version,
447                            serviceContext);
448            }
449    
450            public void subscribePage(long userId, long nodeId, java.lang.String title)
451                    throws com.liferay.portal.kernel.exception.PortalException,
452                            com.liferay.portal.kernel.exception.SystemException {
453                    _wikiPageLocalService.subscribePage(userId, nodeId, title);
454            }
455    
456            public void unsubscribePage(long userId, long nodeId, java.lang.String title)
457                    throws com.liferay.portal.kernel.exception.PortalException,
458                            com.liferay.portal.kernel.exception.SystemException {
459                    _wikiPageLocalService.unsubscribePage(userId, nodeId, title);
460            }
461    
462            public void updateAsset(long userId,
463                    com.liferay.portlet.wiki.model.WikiPage page, long[] assetCategoryIds,
464                    java.lang.String[] assetTagNames)
465                    throws com.liferay.portal.kernel.exception.PortalException,
466                            com.liferay.portal.kernel.exception.SystemException {
467                    _wikiPageLocalService.updateAsset(userId, page, assetCategoryIds,
468                            assetTagNames);
469            }
470    
471            public com.liferay.portlet.wiki.model.WikiPage updatePage(long userId,
472                    long nodeId, java.lang.String title, double version,
473                    java.lang.String content, java.lang.String summary, boolean minorEdit,
474                    java.lang.String format, java.lang.String parentTitle,
475                    java.lang.String redirectTitle,
476                    com.liferay.portal.service.ServiceContext serviceContext)
477                    throws com.liferay.portal.kernel.exception.PortalException,
478                            com.liferay.portal.kernel.exception.SystemException {
479                    return _wikiPageLocalService.updatePage(userId, nodeId, title, version,
480                            content, summary, minorEdit, format, parentTitle, redirectTitle,
481                            serviceContext);
482            }
483    
484            public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
485                    long resourcePrimKey, int status,
486                    com.liferay.portal.service.ServiceContext serviceContext)
487                    throws com.liferay.portal.kernel.exception.PortalException,
488                            com.liferay.portal.kernel.exception.SystemException {
489                    return _wikiPageLocalService.updateStatus(userId, resourcePrimKey,
490                            status, serviceContext);
491            }
492    
493            public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
494                    com.liferay.portlet.wiki.model.WikiPage page, int status,
495                    com.liferay.portal.service.ServiceContext serviceContext)
496                    throws com.liferay.portal.kernel.exception.PortalException,
497                            com.liferay.portal.kernel.exception.SystemException {
498                    return _wikiPageLocalService.updateStatus(userId, page, status,
499                            serviceContext);
500            }
501    
502            public void validateTitle(java.lang.String title)
503                    throws com.liferay.portal.kernel.exception.PortalException {
504                    _wikiPageLocalService.validateTitle(title);
505            }
506    
507            public WikiPageLocalService getWrappedWikiPageLocalService() {
508                    return _wikiPageLocalService;
509            }
510    
511            private WikiPageLocalService _wikiPageLocalService;
512    }