001    /**
002     * Copyright (c) 2000-2012 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 com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link WikiPageService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       WikiPageService
026     * @generated
027     */
028    public class WikiPageServiceWrapper implements WikiPageService,
029            ServiceWrapper<WikiPageService> {
030            public WikiPageServiceWrapper(WikiPageService wikiPageService) {
031                    _wikiPageService = wikiPageService;
032            }
033    
034            /**
035            * Returns the Spring bean ID for this bean.
036            *
037            * @return the Spring bean ID for this bean
038            */
039            public java.lang.String getBeanIdentifier() {
040                    return _wikiPageService.getBeanIdentifier();
041            }
042    
043            /**
044            * Sets the Spring bean ID for this bean.
045            *
046            * @param beanIdentifier the Spring bean ID for this bean
047            */
048            public void setBeanIdentifier(java.lang.String beanIdentifier) {
049                    _wikiPageService.setBeanIdentifier(beanIdentifier);
050            }
051    
052            public com.liferay.portlet.wiki.model.WikiPage addPage(long nodeId,
053                    java.lang.String title, java.lang.String content,
054                    java.lang.String summary, boolean minorEdit,
055                    com.liferay.portal.service.ServiceContext serviceContext)
056                    throws com.liferay.portal.kernel.exception.PortalException,
057                            com.liferay.portal.kernel.exception.SystemException {
058                    return _wikiPageService.addPage(nodeId, title, content, summary,
059                            minorEdit, serviceContext);
060            }
061    
062            public com.liferay.portlet.wiki.model.WikiPage addPage(long nodeId,
063                    java.lang.String title, java.lang.String content,
064                    java.lang.String summary, boolean minorEdit, java.lang.String format,
065                    java.lang.String parentTitle, java.lang.String redirectTitle,
066                    com.liferay.portal.service.ServiceContext serviceContext)
067                    throws com.liferay.portal.kernel.exception.PortalException,
068                            com.liferay.portal.kernel.exception.SystemException {
069                    return _wikiPageService.addPage(nodeId, title, content, summary,
070                            minorEdit, format, parentTitle, redirectTitle, serviceContext);
071            }
072    
073            public void addPageAttachment(long nodeId, java.lang.String title,
074                    java.lang.String fileName, java.io.File file, java.lang.String mimeType)
075                    throws com.liferay.portal.kernel.exception.PortalException,
076                            com.liferay.portal.kernel.exception.SystemException {
077                    _wikiPageService.addPageAttachment(nodeId, title, fileName, file,
078                            mimeType);
079            }
080    
081            public void addPageAttachment(long nodeId, java.lang.String title,
082                    java.lang.String fileName, java.io.InputStream inputStream,
083                    java.lang.String mimeType)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    _wikiPageService.addPageAttachment(nodeId, title, fileName,
087                            inputStream, mimeType);
088            }
089    
090            public void addPageAttachments(long nodeId, java.lang.String title,
091                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs)
092                    throws com.liferay.portal.kernel.exception.PortalException,
093                            com.liferay.portal.kernel.exception.SystemException {
094                    _wikiPageService.addPageAttachments(nodeId, title, inputStreamOVPs);
095            }
096    
097            public void addTempPageAttachment(long nodeId, java.lang.String fileName,
098                    java.lang.String tempFolderName, java.io.InputStream inputStream,
099                    java.lang.String mimeType)
100                    throws com.liferay.portal.kernel.exception.PortalException,
101                            com.liferay.portal.kernel.exception.SystemException {
102                    _wikiPageService.addTempPageAttachment(nodeId, fileName,
103                            tempFolderName, inputStream, mimeType);
104            }
105    
106            public void changeParent(long nodeId, java.lang.String title,
107                    java.lang.String newParentTitle,
108                    com.liferay.portal.service.ServiceContext serviceContext)
109                    throws com.liferay.portal.kernel.exception.PortalException,
110                            com.liferay.portal.kernel.exception.SystemException {
111                    _wikiPageService.changeParent(nodeId, title, newParentTitle,
112                            serviceContext);
113            }
114    
115            public void deletePage(long nodeId, java.lang.String title)
116                    throws com.liferay.portal.kernel.exception.PortalException,
117                            com.liferay.portal.kernel.exception.SystemException {
118                    _wikiPageService.deletePage(nodeId, title);
119            }
120    
121            public void deletePage(long nodeId, java.lang.String title, double version)
122                    throws com.liferay.portal.kernel.exception.PortalException,
123                            com.liferay.portal.kernel.exception.SystemException {
124                    _wikiPageService.deletePage(nodeId, title, version);
125            }
126    
127            public void deletePageAttachment(long nodeId, java.lang.String title,
128                    java.lang.String fileName)
129                    throws com.liferay.portal.kernel.exception.PortalException,
130                            com.liferay.portal.kernel.exception.SystemException {
131                    _wikiPageService.deletePageAttachment(nodeId, title, fileName);
132            }
133    
134            public void deletePageAttachments(long nodeId, java.lang.String title)
135                    throws com.liferay.portal.kernel.exception.PortalException,
136                            com.liferay.portal.kernel.exception.SystemException {
137                    _wikiPageService.deletePageAttachments(nodeId, title);
138            }
139    
140            public void deleteTempPageAttachment(long nodeId,
141                    java.lang.String fileName, java.lang.String tempFolderName)
142                    throws com.liferay.portal.kernel.exception.PortalException,
143                            com.liferay.portal.kernel.exception.SystemException {
144                    _wikiPageService.deleteTempPageAttachment(nodeId, fileName,
145                            tempFolderName);
146            }
147    
148            public void deleteTrashPageAttachments(long nodeId, java.lang.String title)
149                    throws com.liferay.portal.kernel.exception.PortalException,
150                            com.liferay.portal.kernel.exception.SystemException {
151                    _wikiPageService.deleteTrashPageAttachments(nodeId, title);
152            }
153    
154            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(
155                    long groupId, long nodeId, boolean head, java.lang.String parentTitle)
156                    throws com.liferay.portal.kernel.exception.PortalException,
157                            com.liferay.portal.kernel.exception.SystemException {
158                    return _wikiPageService.getChildren(groupId, nodeId, head, parentTitle);
159            }
160    
161            public com.liferay.portlet.wiki.model.WikiPage getDraftPage(long nodeId,
162                    java.lang.String title)
163                    throws com.liferay.portal.kernel.exception.PortalException,
164                            com.liferay.portal.kernel.exception.SystemException {
165                    return _wikiPageService.getDraftPage(nodeId, title);
166            }
167    
168            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNodePages(
169                    long nodeId, int max)
170                    throws com.liferay.portal.kernel.exception.PortalException,
171                            com.liferay.portal.kernel.exception.SystemException {
172                    return _wikiPageService.getNodePages(nodeId, max);
173            }
174    
175            public java.lang.String getNodePagesRSS(long nodeId, int max,
176                    java.lang.String type, double version, java.lang.String displayStyle,
177                    java.lang.String feedURL, java.lang.String entryURL)
178                    throws com.liferay.portal.kernel.exception.PortalException,
179                            com.liferay.portal.kernel.exception.SystemException {
180                    return _wikiPageService.getNodePagesRSS(nodeId, max, type, version,
181                            displayStyle, feedURL, entryURL);
182            }
183    
184            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(
185                    long groupId, long nodeId)
186                    throws com.liferay.portal.kernel.exception.PortalException,
187                            com.liferay.portal.kernel.exception.SystemException {
188                    return _wikiPageService.getOrphans(groupId, nodeId);
189            }
190    
191            public com.liferay.portlet.wiki.model.WikiPage getPage(long groupId,
192                    long nodeId, java.lang.String title)
193                    throws com.liferay.portal.kernel.exception.PortalException,
194                            com.liferay.portal.kernel.exception.SystemException {
195                    return _wikiPageService.getPage(groupId, nodeId, title);
196            }
197    
198            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
199                    java.lang.String title)
200                    throws com.liferay.portal.kernel.exception.PortalException,
201                            com.liferay.portal.kernel.exception.SystemException {
202                    return _wikiPageService.getPage(nodeId, title);
203            }
204    
205            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
206                    java.lang.String title, java.lang.Boolean head)
207                    throws com.liferay.portal.kernel.exception.PortalException,
208                            com.liferay.portal.kernel.exception.SystemException {
209                    return _wikiPageService.getPage(nodeId, title, head);
210            }
211    
212            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
213                    java.lang.String title, double version)
214                    throws com.liferay.portal.kernel.exception.PortalException,
215                            com.liferay.portal.kernel.exception.SystemException {
216                    return _wikiPageService.getPage(nodeId, title, version);
217            }
218    
219            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
220                    long groupId, long nodeId, boolean head, int status, int start,
221                    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
222                    throws com.liferay.portal.kernel.exception.PortalException,
223                            com.liferay.portal.kernel.exception.SystemException {
224                    return _wikiPageService.getPages(groupId, nodeId, head, status, start,
225                            end, obc);
226            }
227    
228            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
229                    long groupId, long userId, long nodeId, int status, int start, int end)
230                    throws com.liferay.portal.kernel.exception.PortalException,
231                            com.liferay.portal.kernel.exception.SystemException {
232                    return _wikiPageService.getPages(groupId, userId, nodeId, status,
233                            start, end);
234            }
235    
236            public int getPagesCount(long groupId, long nodeId, boolean head)
237                    throws com.liferay.portal.kernel.exception.PortalException,
238                            com.liferay.portal.kernel.exception.SystemException {
239                    return _wikiPageService.getPagesCount(groupId, nodeId, head);
240            }
241    
242            public int getPagesCount(long groupId, long userId, long nodeId, int status)
243                    throws com.liferay.portal.kernel.exception.PortalException,
244                            com.liferay.portal.kernel.exception.SystemException {
245                    return _wikiPageService.getPagesCount(groupId, userId, nodeId, status);
246            }
247    
248            public java.lang.String getPagesRSS(long companyId, long nodeId,
249                    java.lang.String title, int max, java.lang.String type, double version,
250                    java.lang.String displayStyle, java.lang.String feedURL,
251                    java.lang.String entryURL, java.util.Locale locale)
252                    throws com.liferay.portal.kernel.exception.PortalException,
253                            com.liferay.portal.kernel.exception.SystemException {
254                    return _wikiPageService.getPagesRSS(companyId, nodeId, title, max,
255                            type, version, displayStyle, feedURL, entryURL, locale);
256            }
257    
258            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
259                    long groupId, long nodeId, int start, int end)
260                    throws com.liferay.portal.kernel.exception.PortalException,
261                            com.liferay.portal.kernel.exception.SystemException {
262                    return _wikiPageService.getRecentChanges(groupId, nodeId, start, end);
263            }
264    
265            public int getRecentChangesCount(long groupId, long nodeId)
266                    throws com.liferay.portal.kernel.exception.PortalException,
267                            com.liferay.portal.kernel.exception.SystemException {
268                    return _wikiPageService.getRecentChangesCount(groupId, nodeId);
269            }
270    
271            public java.lang.String[] getTempPageAttachmentNames(long nodeId,
272                    java.lang.String tempFolderName)
273                    throws com.liferay.portal.kernel.exception.PortalException,
274                            com.liferay.portal.kernel.exception.SystemException {
275                    return _wikiPageService.getTempPageAttachmentNames(nodeId,
276                            tempFolderName);
277            }
278    
279            public void movePage(long nodeId, java.lang.String title,
280                    java.lang.String newTitle,
281                    com.liferay.portal.service.ServiceContext serviceContext)
282                    throws com.liferay.portal.kernel.exception.PortalException,
283                            com.liferay.portal.kernel.exception.SystemException {
284                    _wikiPageService.movePage(nodeId, title, newTitle, serviceContext);
285            }
286    
287            public long movePageAttachmentToTrash(long nodeId, java.lang.String title,
288                    java.lang.String fileName)
289                    throws com.liferay.portal.kernel.exception.PortalException,
290                            com.liferay.portal.kernel.exception.SystemException {
291                    return _wikiPageService.movePageAttachmentToTrash(nodeId, title,
292                            fileName);
293            }
294    
295            public void movePageToTrash(long nodeId, java.lang.String title)
296                    throws com.liferay.portal.kernel.exception.PortalException,
297                            com.liferay.portal.kernel.exception.SystemException {
298                    _wikiPageService.movePageToTrash(nodeId, title);
299            }
300    
301            public void movePageToTrash(long nodeId, java.lang.String title,
302                    double version)
303                    throws com.liferay.portal.kernel.exception.PortalException,
304                            com.liferay.portal.kernel.exception.SystemException {
305                    _wikiPageService.movePageToTrash(nodeId, title, version);
306            }
307    
308            public void restorePageAttachmentFromTrash(long nodeId,
309                    java.lang.String title, java.lang.String fileName)
310                    throws com.liferay.portal.kernel.exception.PortalException,
311                            com.liferay.portal.kernel.exception.SystemException {
312                    _wikiPageService.restorePageAttachmentFromTrash(nodeId, title, fileName);
313            }
314    
315            public void restorePageFromTrash(long resourcePrimKey)
316                    throws com.liferay.portal.kernel.exception.PortalException,
317                            com.liferay.portal.kernel.exception.SystemException {
318                    _wikiPageService.restorePageFromTrash(resourcePrimKey);
319            }
320    
321            public com.liferay.portlet.wiki.model.WikiPage revertPage(long nodeId,
322                    java.lang.String title, double version,
323                    com.liferay.portal.service.ServiceContext serviceContext)
324                    throws com.liferay.portal.kernel.exception.PortalException,
325                            com.liferay.portal.kernel.exception.SystemException {
326                    return _wikiPageService.revertPage(nodeId, title, version,
327                            serviceContext);
328            }
329    
330            public void subscribePage(long nodeId, java.lang.String title)
331                    throws com.liferay.portal.kernel.exception.PortalException,
332                            com.liferay.portal.kernel.exception.SystemException {
333                    _wikiPageService.subscribePage(nodeId, title);
334            }
335    
336            public void unsubscribePage(long nodeId, java.lang.String title)
337                    throws com.liferay.portal.kernel.exception.PortalException,
338                            com.liferay.portal.kernel.exception.SystemException {
339                    _wikiPageService.unsubscribePage(nodeId, title);
340            }
341    
342            public com.liferay.portlet.wiki.model.WikiPage updatePage(long nodeId,
343                    java.lang.String title, double version, java.lang.String content,
344                    java.lang.String summary, boolean minorEdit, java.lang.String format,
345                    java.lang.String parentTitle, java.lang.String redirectTitle,
346                    com.liferay.portal.service.ServiceContext serviceContext)
347                    throws com.liferay.portal.kernel.exception.PortalException,
348                            com.liferay.portal.kernel.exception.SystemException {
349                    return _wikiPageService.updatePage(nodeId, title, version, content,
350                            summary, minorEdit, format, parentTitle, redirectTitle,
351                            serviceContext);
352            }
353    
354            /**
355             * @deprecated Renamed to {@link #getWrappedService}
356             */
357            public WikiPageService getWrappedWikiPageService() {
358                    return _wikiPageService;
359            }
360    
361            /**
362             * @deprecated Renamed to {@link #setWrappedService}
363             */
364            public void setWrappedWikiPageService(WikiPageService wikiPageService) {
365                    _wikiPageService = wikiPageService;
366            }
367    
368            public WikiPageService getWrappedService() {
369                    return _wikiPageService;
370            }
371    
372            public void setWrappedService(WikiPageService wikiPageService) {
373                    _wikiPageService = wikiPageService;
374            }
375    
376            private WikiPageService _wikiPageService;
377    }