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