001    /**
002     * Copyright (c) 2000-2013 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    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link WikiPageService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see WikiPageService
026     * @generated
027     */
028    @ProviderType
029    public class WikiPageServiceWrapper implements WikiPageService,
030            ServiceWrapper<WikiPageService> {
031            public WikiPageServiceWrapper(WikiPageService wikiPageService) {
032                    _wikiPageService = wikiPageService;
033            }
034    
035            /**
036            * Returns the Spring bean ID for this bean.
037            *
038            * @return the Spring bean ID for this bean
039            */
040            @Override
041            public java.lang.String getBeanIdentifier() {
042                    return _wikiPageService.getBeanIdentifier();
043            }
044    
045            /**
046            * Sets the Spring bean ID for this bean.
047            *
048            * @param beanIdentifier the Spring bean ID for this bean
049            */
050            @Override
051            public void setBeanIdentifier(java.lang.String beanIdentifier) {
052                    _wikiPageService.setBeanIdentifier(beanIdentifier);
053            }
054    
055            @Override
056            public com.liferay.portlet.wiki.model.WikiPage addPage(long nodeId,
057                    java.lang.String title, java.lang.String content,
058                    java.lang.String summary, boolean minorEdit,
059                    com.liferay.portal.service.ServiceContext serviceContext)
060                    throws com.liferay.portal.kernel.exception.PortalException,
061                            com.liferay.portal.kernel.exception.SystemException {
062                    return _wikiPageService.addPage(nodeId, title, content, summary,
063                            minorEdit, serviceContext);
064            }
065    
066            @Override
067            public com.liferay.portlet.wiki.model.WikiPage addPage(long nodeId,
068                    java.lang.String title, java.lang.String content,
069                    java.lang.String summary, boolean minorEdit, java.lang.String format,
070                    java.lang.String parentTitle, java.lang.String redirectTitle,
071                    com.liferay.portal.service.ServiceContext serviceContext)
072                    throws com.liferay.portal.kernel.exception.PortalException,
073                            com.liferay.portal.kernel.exception.SystemException {
074                    return _wikiPageService.addPage(nodeId, title, content, summary,
075                            minorEdit, format, parentTitle, redirectTitle, serviceContext);
076            }
077    
078            @Override
079            public void addPageAttachment(long nodeId, java.lang.String title,
080                    java.lang.String fileName, java.io.File file, java.lang.String mimeType)
081                    throws com.liferay.portal.kernel.exception.PortalException,
082                            com.liferay.portal.kernel.exception.SystemException {
083                    _wikiPageService.addPageAttachment(nodeId, title, fileName, file,
084                            mimeType);
085            }
086    
087            @Override
088            public void addPageAttachment(long nodeId, java.lang.String title,
089                    java.lang.String fileName, java.io.InputStream inputStream,
090                    java.lang.String mimeType)
091                    throws com.liferay.portal.kernel.exception.PortalException,
092                            com.liferay.portal.kernel.exception.SystemException {
093                    _wikiPageService.addPageAttachment(nodeId, title, fileName,
094                            inputStream, mimeType);
095            }
096    
097            @Override
098            public void addPageAttachments(long nodeId, java.lang.String title,
099                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs)
100                    throws com.liferay.portal.kernel.exception.PortalException,
101                            com.liferay.portal.kernel.exception.SystemException {
102                    _wikiPageService.addPageAttachments(nodeId, title, inputStreamOVPs);
103            }
104    
105            @Override
106            public void addTempPageAttachment(long nodeId, java.lang.String fileName,
107                    java.lang.String tempFolderName, java.io.InputStream inputStream,
108                    java.lang.String mimeType)
109                    throws com.liferay.portal.kernel.exception.PortalException,
110                            com.liferay.portal.kernel.exception.SystemException {
111                    _wikiPageService.addTempPageAttachment(nodeId, fileName,
112                            tempFolderName, inputStream, mimeType);
113            }
114    
115            @Override
116            public void changeParent(long nodeId, java.lang.String title,
117                    java.lang.String newParentTitle,
118                    com.liferay.portal.service.ServiceContext serviceContext)
119                    throws com.liferay.portal.kernel.exception.PortalException,
120                            com.liferay.portal.kernel.exception.SystemException {
121                    _wikiPageService.changeParent(nodeId, title, newParentTitle,
122                            serviceContext);
123            }
124    
125            @Override
126            public void copyPageAttachments(long templateNodeId,
127                    java.lang.String templateTitle, long nodeId, java.lang.String title)
128                    throws com.liferay.portal.kernel.exception.PortalException,
129                            com.liferay.portal.kernel.exception.SystemException {
130                    _wikiPageService.copyPageAttachments(templateNodeId, templateTitle,
131                            nodeId, title);
132            }
133    
134            @Override
135            public void deletePage(long nodeId, java.lang.String title)
136                    throws com.liferay.portal.kernel.exception.PortalException,
137                            com.liferay.portal.kernel.exception.SystemException {
138                    _wikiPageService.deletePage(nodeId, title);
139            }
140    
141            /**
142            * @deprecated As of 6.2.0 replaced by {@link #discardDraft(long, String,
143            double)}
144            */
145            @Override
146            public void deletePage(long nodeId, java.lang.String title, double version)
147                    throws com.liferay.portal.kernel.exception.PortalException,
148                            com.liferay.portal.kernel.exception.SystemException {
149                    _wikiPageService.deletePage(nodeId, title, version);
150            }
151    
152            @Override
153            public void deletePageAttachment(long nodeId, java.lang.String title,
154                    java.lang.String fileName)
155                    throws com.liferay.portal.kernel.exception.PortalException,
156                            com.liferay.portal.kernel.exception.SystemException {
157                    _wikiPageService.deletePageAttachment(nodeId, title, fileName);
158            }
159    
160            @Override
161            public void deletePageAttachments(long nodeId, java.lang.String title)
162                    throws com.liferay.portal.kernel.exception.PortalException,
163                            com.liferay.portal.kernel.exception.SystemException {
164                    _wikiPageService.deletePageAttachments(nodeId, title);
165            }
166    
167            @Override
168            public void deleteTempPageAttachment(long nodeId,
169                    java.lang.String fileName, java.lang.String tempFolderName)
170                    throws com.liferay.portal.kernel.exception.PortalException,
171                            com.liferay.portal.kernel.exception.SystemException {
172                    _wikiPageService.deleteTempPageAttachment(nodeId, fileName,
173                            tempFolderName);
174            }
175    
176            @Override
177            public void deleteTrashPageAttachments(long nodeId, java.lang.String title)
178                    throws com.liferay.portal.kernel.exception.PortalException,
179                            com.liferay.portal.kernel.exception.SystemException {
180                    _wikiPageService.deleteTrashPageAttachments(nodeId, title);
181            }
182    
183            @Override
184            public void discardDraft(long nodeId, java.lang.String title, double version)
185                    throws com.liferay.portal.kernel.exception.PortalException,
186                            com.liferay.portal.kernel.exception.SystemException {
187                    _wikiPageService.discardDraft(nodeId, title, version);
188            }
189    
190            @Override
191            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(
192                    long groupId, long nodeId, boolean head, java.lang.String parentTitle)
193                    throws com.liferay.portal.kernel.exception.PortalException,
194                            com.liferay.portal.kernel.exception.SystemException {
195                    return _wikiPageService.getChildren(groupId, nodeId, head, parentTitle);
196            }
197    
198            @Override
199            public com.liferay.portlet.wiki.model.WikiPage getDraftPage(long nodeId,
200                    java.lang.String title)
201                    throws com.liferay.portal.kernel.exception.PortalException,
202                            com.liferay.portal.kernel.exception.SystemException {
203                    return _wikiPageService.getDraftPage(nodeId, title);
204            }
205    
206            @Override
207            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNodePages(
208                    long nodeId, int max)
209                    throws com.liferay.portal.kernel.exception.PortalException,
210                            com.liferay.portal.kernel.exception.SystemException {
211                    return _wikiPageService.getNodePages(nodeId, max);
212            }
213    
214            /**
215            * @deprecated As of 6.2.0, replaced by {@link #getNodePagesRSS(long, int,
216            String, double, String, String, String, String)}
217            */
218            @Override
219            public java.lang.String getNodePagesRSS(long nodeId, int max,
220                    java.lang.String type, double version, java.lang.String displayStyle,
221                    java.lang.String feedURL, java.lang.String entryURL)
222                    throws com.liferay.portal.kernel.exception.PortalException,
223                            com.liferay.portal.kernel.exception.SystemException {
224                    return _wikiPageService.getNodePagesRSS(nodeId, max, type, version,
225                            displayStyle, feedURL, entryURL);
226            }
227    
228            @Override
229            public java.lang.String getNodePagesRSS(long nodeId, int max,
230                    java.lang.String type, double version, java.lang.String displayStyle,
231                    java.lang.String feedURL, java.lang.String entryURL,
232                    java.lang.String attachmentURLPrefix)
233                    throws com.liferay.portal.kernel.exception.PortalException,
234                            com.liferay.portal.kernel.exception.SystemException {
235                    return _wikiPageService.getNodePagesRSS(nodeId, max, type, version,
236                            displayStyle, feedURL, entryURL, attachmentURLPrefix);
237            }
238    
239            @Override
240            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(
241                    long groupId, long nodeId)
242                    throws com.liferay.portal.kernel.exception.PortalException,
243                            com.liferay.portal.kernel.exception.SystemException {
244                    return _wikiPageService.getOrphans(groupId, nodeId);
245            }
246    
247            @Override
248            public com.liferay.portlet.wiki.model.WikiPage getPage(long groupId,
249                    long nodeId, java.lang.String title)
250                    throws com.liferay.portal.kernel.exception.PortalException,
251                            com.liferay.portal.kernel.exception.SystemException {
252                    return _wikiPageService.getPage(groupId, nodeId, title);
253            }
254    
255            @Override
256            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
257                    java.lang.String title)
258                    throws com.liferay.portal.kernel.exception.PortalException,
259                            com.liferay.portal.kernel.exception.SystemException {
260                    return _wikiPageService.getPage(nodeId, title);
261            }
262    
263            @Override
264            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
265                    java.lang.String title, java.lang.Boolean head)
266                    throws com.liferay.portal.kernel.exception.PortalException,
267                            com.liferay.portal.kernel.exception.SystemException {
268                    return _wikiPageService.getPage(nodeId, title, head);
269            }
270    
271            @Override
272            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
273                    java.lang.String title, double version)
274                    throws com.liferay.portal.kernel.exception.PortalException,
275                            com.liferay.portal.kernel.exception.SystemException {
276                    return _wikiPageService.getPage(nodeId, title, version);
277            }
278    
279            @Override
280            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
281                    long groupId, long nodeId, boolean head, int status, int start,
282                    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
283                    throws com.liferay.portal.kernel.exception.PortalException,
284                            com.liferay.portal.kernel.exception.SystemException {
285                    return _wikiPageService.getPages(groupId, nodeId, head, status, start,
286                            end, obc);
287            }
288    
289            @Override
290            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
291                    long groupId, long nodeId, boolean head, long userId,
292                    boolean includeOwner, int status, int start, int end,
293                    com.liferay.portal.kernel.util.OrderByComparator obc)
294                    throws com.liferay.portal.kernel.exception.PortalException,
295                            com.liferay.portal.kernel.exception.SystemException {
296                    return _wikiPageService.getPages(groupId, nodeId, head, userId,
297                            includeOwner, status, start, end, obc);
298            }
299    
300            @Override
301            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
302                    long groupId, long userId, long nodeId, int status, int start, int end)
303                    throws com.liferay.portal.kernel.exception.PortalException,
304                            com.liferay.portal.kernel.exception.SystemException {
305                    return _wikiPageService.getPages(groupId, userId, nodeId, status,
306                            start, end);
307            }
308    
309            @Override
310            public int getPagesCount(long groupId, long nodeId, boolean head)
311                    throws com.liferay.portal.kernel.exception.PortalException,
312                            com.liferay.portal.kernel.exception.SystemException {
313                    return _wikiPageService.getPagesCount(groupId, nodeId, head);
314            }
315    
316            @Override
317            public int getPagesCount(long groupId, long nodeId, boolean head,
318                    long userId, boolean includeOwner, int status)
319                    throws com.liferay.portal.kernel.exception.PortalException,
320                            com.liferay.portal.kernel.exception.SystemException {
321                    return _wikiPageService.getPagesCount(groupId, nodeId, head, userId,
322                            includeOwner, status);
323            }
324    
325            @Override
326            public int getPagesCount(long groupId, long userId, long nodeId, int status)
327                    throws com.liferay.portal.kernel.exception.PortalException,
328                            com.liferay.portal.kernel.exception.SystemException {
329                    return _wikiPageService.getPagesCount(groupId, userId, nodeId, status);
330            }
331    
332            /**
333            * @deprecated As of 6.2.0, replaced by {@link #getPagesRSS(long, long,
334            String, int, String, double, String, String, String, String,
335            java.util.Locale)}
336            */
337            @Override
338            public java.lang.String getPagesRSS(long companyId, long nodeId,
339                    java.lang.String title, int max, java.lang.String type, double version,
340                    java.lang.String displayStyle, java.lang.String feedURL,
341                    java.lang.String entryURL, java.util.Locale locale)
342                    throws com.liferay.portal.kernel.exception.PortalException,
343                            com.liferay.portal.kernel.exception.SystemException {
344                    return _wikiPageService.getPagesRSS(companyId, nodeId, title, max,
345                            type, version, displayStyle, feedURL, entryURL, locale);
346            }
347    
348            @Override
349            public java.lang.String getPagesRSS(long companyId, long nodeId,
350                    java.lang.String title, int max, java.lang.String type, double version,
351                    java.lang.String displayStyle, java.lang.String feedURL,
352                    java.lang.String entryURL, java.lang.String attachmentURLPrefix,
353                    java.util.Locale locale)
354                    throws com.liferay.portal.kernel.exception.PortalException,
355                            com.liferay.portal.kernel.exception.SystemException {
356                    return _wikiPageService.getPagesRSS(companyId, nodeId, title, max,
357                            type, version, displayStyle, feedURL, entryURL,
358                            attachmentURLPrefix, locale);
359            }
360    
361            @Override
362            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
363                    long groupId, long nodeId, int start, int end)
364                    throws com.liferay.portal.kernel.exception.PortalException,
365                            com.liferay.portal.kernel.exception.SystemException {
366                    return _wikiPageService.getRecentChanges(groupId, nodeId, start, end);
367            }
368    
369            @Override
370            public int getRecentChangesCount(long groupId, long nodeId)
371                    throws com.liferay.portal.kernel.exception.PortalException,
372                            com.liferay.portal.kernel.exception.SystemException {
373                    return _wikiPageService.getRecentChangesCount(groupId, nodeId);
374            }
375    
376            @Override
377            public java.lang.String[] getTempPageAttachmentNames(long nodeId,
378                    java.lang.String tempFolderName)
379                    throws com.liferay.portal.kernel.exception.PortalException,
380                            com.liferay.portal.kernel.exception.SystemException {
381                    return _wikiPageService.getTempPageAttachmentNames(nodeId,
382                            tempFolderName);
383            }
384    
385            @Override
386            public void movePage(long nodeId, java.lang.String title,
387                    java.lang.String newTitle,
388                    com.liferay.portal.service.ServiceContext serviceContext)
389                    throws com.liferay.portal.kernel.exception.PortalException,
390                            com.liferay.portal.kernel.exception.SystemException {
391                    _wikiPageService.movePage(nodeId, title, newTitle, serviceContext);
392            }
393    
394            @Override
395            public com.liferay.portal.kernel.repository.model.FileEntry movePageAttachmentToTrash(
396                    long nodeId, java.lang.String title, java.lang.String fileName)
397                    throws com.liferay.portal.kernel.exception.PortalException,
398                            com.liferay.portal.kernel.exception.SystemException {
399                    return _wikiPageService.movePageAttachmentToTrash(nodeId, title,
400                            fileName);
401            }
402    
403            @Override
404            public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
405                    long nodeId, java.lang.String title)
406                    throws com.liferay.portal.kernel.exception.PortalException,
407                            com.liferay.portal.kernel.exception.SystemException {
408                    return _wikiPageService.movePageToTrash(nodeId, title);
409            }
410    
411            @Override
412            public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
413                    long nodeId, java.lang.String title, double version)
414                    throws com.liferay.portal.kernel.exception.PortalException,
415                            com.liferay.portal.kernel.exception.SystemException {
416                    return _wikiPageService.movePageToTrash(nodeId, title, version);
417            }
418    
419            @Override
420            public void restorePageAttachmentFromTrash(long nodeId,
421                    java.lang.String title, java.lang.String fileName)
422                    throws com.liferay.portal.kernel.exception.PortalException,
423                            com.liferay.portal.kernel.exception.SystemException {
424                    _wikiPageService.restorePageAttachmentFromTrash(nodeId, title, fileName);
425            }
426    
427            @Override
428            public void restorePageFromTrash(long resourcePrimKey)
429                    throws com.liferay.portal.kernel.exception.PortalException,
430                            com.liferay.portal.kernel.exception.SystemException {
431                    _wikiPageService.restorePageFromTrash(resourcePrimKey);
432            }
433    
434            @Override
435            public com.liferay.portlet.wiki.model.WikiPage revertPage(long nodeId,
436                    java.lang.String title, double version,
437                    com.liferay.portal.service.ServiceContext serviceContext)
438                    throws com.liferay.portal.kernel.exception.PortalException,
439                            com.liferay.portal.kernel.exception.SystemException {
440                    return _wikiPageService.revertPage(nodeId, title, version,
441                            serviceContext);
442            }
443    
444            @Override
445            public void subscribePage(long nodeId, java.lang.String title)
446                    throws com.liferay.portal.kernel.exception.PortalException,
447                            com.liferay.portal.kernel.exception.SystemException {
448                    _wikiPageService.subscribePage(nodeId, title);
449            }
450    
451            @Override
452            public void unsubscribePage(long nodeId, java.lang.String title)
453                    throws com.liferay.portal.kernel.exception.PortalException,
454                            com.liferay.portal.kernel.exception.SystemException {
455                    _wikiPageService.unsubscribePage(nodeId, title);
456            }
457    
458            @Override
459            public com.liferay.portlet.wiki.model.WikiPage updatePage(long nodeId,
460                    java.lang.String title, double version, java.lang.String content,
461                    java.lang.String summary, boolean minorEdit, java.lang.String format,
462                    java.lang.String parentTitle, java.lang.String redirectTitle,
463                    com.liferay.portal.service.ServiceContext serviceContext)
464                    throws com.liferay.portal.kernel.exception.PortalException,
465                            com.liferay.portal.kernel.exception.SystemException {
466                    return _wikiPageService.updatePage(nodeId, title, version, content,
467                            summary, minorEdit, format, parentTitle, redirectTitle,
468                            serviceContext);
469            }
470    
471            /**
472             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
473             */
474            public WikiPageService getWrappedWikiPageService() {
475                    return _wikiPageService;
476            }
477    
478            /**
479             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
480             */
481            public void setWrappedWikiPageService(WikiPageService wikiPageService) {
482                    _wikiPageService = wikiPageService;
483            }
484    
485            @Override
486            public WikiPageService getWrappedService() {
487                    return _wikiPageService;
488            }
489    
490            @Override
491            public void setWrappedService(WikiPageService wikiPageService) {
492                    _wikiPageService = wikiPageService;
493            }
494    
495            private WikiPageService _wikiPageService;
496    }