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 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>> inputStream)
089                    throws com.liferay.portal.kernel.exception.PortalException,
090                            com.liferay.portal.kernel.exception.SystemException {
091                    _wikiPageService.addPageAttachments(nodeId, title, inputStream);
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 deleteTempPageAttachment(long nodeId,
132                    java.lang.String fileName, java.lang.String tempFolderName)
133                    throws com.liferay.portal.kernel.exception.PortalException,
134                            com.liferay.portal.kernel.exception.SystemException {
135                    _wikiPageService.deleteTempPageAttachment(nodeId, fileName,
136                            tempFolderName);
137            }
138    
139            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(
140                    long groupId, long nodeId, boolean head, java.lang.String parentTitle)
141                    throws com.liferay.portal.kernel.exception.PortalException,
142                            com.liferay.portal.kernel.exception.SystemException {
143                    return _wikiPageService.getChildren(groupId, nodeId, head, parentTitle);
144            }
145    
146            public com.liferay.portlet.wiki.model.WikiPage getDraftPage(long nodeId,
147                    java.lang.String title)
148                    throws com.liferay.portal.kernel.exception.PortalException,
149                            com.liferay.portal.kernel.exception.SystemException {
150                    return _wikiPageService.getDraftPage(nodeId, title);
151            }
152    
153            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNodePages(
154                    long nodeId, int max)
155                    throws com.liferay.portal.kernel.exception.PortalException,
156                            com.liferay.portal.kernel.exception.SystemException {
157                    return _wikiPageService.getNodePages(nodeId, max);
158            }
159    
160            public java.lang.String getNodePagesRSS(long nodeId, int max,
161                    java.lang.String type, double version, java.lang.String displayStyle,
162                    java.lang.String feedURL, java.lang.String entryURL)
163                    throws com.liferay.portal.kernel.exception.PortalException,
164                            com.liferay.portal.kernel.exception.SystemException {
165                    return _wikiPageService.getNodePagesRSS(nodeId, max, type, version,
166                            displayStyle, feedURL, entryURL);
167            }
168    
169            public java.lang.String getNodePagesRSS(long nodeId, int max,
170                    java.lang.String type, double version, java.lang.String displayStyle,
171                    java.lang.String feedURL, java.lang.String entryURL,
172                    java.lang.String attachmentURLPrefix)
173                    throws com.liferay.portal.kernel.exception.PortalException,
174                            com.liferay.portal.kernel.exception.SystemException {
175                    return _wikiPageService.getNodePagesRSS(nodeId, max, type, version,
176                            displayStyle, feedURL, entryURL, attachmentURLPrefix);
177            }
178    
179            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(
180                    long groupId, long nodeId)
181                    throws com.liferay.portal.kernel.exception.PortalException,
182                            com.liferay.portal.kernel.exception.SystemException {
183                    return _wikiPageService.getOrphans(groupId, nodeId);
184            }
185    
186            public com.liferay.portlet.wiki.model.WikiPage getPage(long groupId,
187                    long nodeId, java.lang.String title)
188                    throws com.liferay.portal.kernel.exception.PortalException,
189                            com.liferay.portal.kernel.exception.SystemException {
190                    return _wikiPageService.getPage(groupId, nodeId, title);
191            }
192    
193            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
194                    java.lang.String title)
195                    throws com.liferay.portal.kernel.exception.PortalException,
196                            com.liferay.portal.kernel.exception.SystemException {
197                    return _wikiPageService.getPage(nodeId, title);
198            }
199    
200            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
201                    java.lang.String title, java.lang.Boolean head)
202                    throws com.liferay.portal.kernel.exception.PortalException,
203                            com.liferay.portal.kernel.exception.SystemException {
204                    return _wikiPageService.getPage(nodeId, title, head);
205            }
206    
207            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
208                    java.lang.String title, double version)
209                    throws com.liferay.portal.kernel.exception.PortalException,
210                            com.liferay.portal.kernel.exception.SystemException {
211                    return _wikiPageService.getPage(nodeId, title, version);
212            }
213    
214            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
215                    long groupId, long nodeId, boolean head, int status, int start,
216                    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
217                    throws com.liferay.portal.kernel.exception.PortalException,
218                            com.liferay.portal.kernel.exception.SystemException {
219                    return _wikiPageService.getPages(groupId, nodeId, head, status, start,
220                            end, obc);
221            }
222    
223            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
224                    long groupId, long userId, long nodeId, int status, int start, int end)
225                    throws com.liferay.portal.kernel.exception.PortalException,
226                            com.liferay.portal.kernel.exception.SystemException {
227                    return _wikiPageService.getPages(groupId, userId, nodeId, status,
228                            start, end);
229            }
230    
231            public int getPagesCount(long groupId, long nodeId, boolean head)
232                    throws com.liferay.portal.kernel.exception.PortalException,
233                            com.liferay.portal.kernel.exception.SystemException {
234                    return _wikiPageService.getPagesCount(groupId, nodeId, head);
235            }
236    
237            public int getPagesCount(long groupId, long userId, long nodeId, int status)
238                    throws com.liferay.portal.kernel.exception.PortalException,
239                            com.liferay.portal.kernel.exception.SystemException {
240                    return _wikiPageService.getPagesCount(groupId, userId, nodeId, status);
241            }
242    
243            public java.lang.String getPagesRSS(long companyId, long nodeId,
244                    java.lang.String title, int max, java.lang.String type, double version,
245                    java.lang.String displayStyle, java.lang.String feedURL,
246                    java.lang.String entryURL, java.util.Locale locale)
247                    throws com.liferay.portal.kernel.exception.PortalException,
248                            com.liferay.portal.kernel.exception.SystemException {
249                    return _wikiPageService.getPagesRSS(companyId, nodeId, title, max,
250                            type, version, displayStyle, feedURL, entryURL, locale);
251            }
252    
253            public java.lang.String getPagesRSS(long companyId, long nodeId,
254                    java.lang.String title, int max, java.lang.String type, double version,
255                    java.lang.String displayStyle, java.lang.String feedURL,
256                    java.lang.String entryURL, java.lang.String attachmentURLPrefix,
257                    java.util.Locale locale)
258                    throws com.liferay.portal.kernel.exception.PortalException,
259                            com.liferay.portal.kernel.exception.SystemException {
260                    return _wikiPageService.getPagesRSS(companyId, nodeId, title, max,
261                            type, version, displayStyle, feedURL, entryURL,
262                            attachmentURLPrefix, locale);
263            }
264    
265            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
266                    long groupId, long nodeId, int start, int end)
267                    throws com.liferay.portal.kernel.exception.PortalException,
268                            com.liferay.portal.kernel.exception.SystemException {
269                    return _wikiPageService.getRecentChanges(groupId, nodeId, start, end);
270            }
271    
272            public int getRecentChangesCount(long groupId, long nodeId)
273                    throws com.liferay.portal.kernel.exception.PortalException,
274                            com.liferay.portal.kernel.exception.SystemException {
275                    return _wikiPageService.getRecentChangesCount(groupId, nodeId);
276            }
277    
278            public java.lang.String[] getTempPageAttachmentNames(long nodeId,
279                    java.lang.String tempFolderName)
280                    throws com.liferay.portal.kernel.exception.PortalException,
281                            com.liferay.portal.kernel.exception.SystemException {
282                    return _wikiPageService.getTempPageAttachmentNames(nodeId,
283                            tempFolderName);
284            }
285    
286            public void movePage(long nodeId, java.lang.String title,
287                    java.lang.String newTitle,
288                    com.liferay.portal.service.ServiceContext serviceContext)
289                    throws com.liferay.portal.kernel.exception.PortalException,
290                            com.liferay.portal.kernel.exception.SystemException {
291                    _wikiPageService.movePage(nodeId, title, newTitle, serviceContext);
292            }
293    
294            public com.liferay.portlet.wiki.model.WikiPage revertPage(long nodeId,
295                    java.lang.String title, double version,
296                    com.liferay.portal.service.ServiceContext serviceContext)
297                    throws com.liferay.portal.kernel.exception.PortalException,
298                            com.liferay.portal.kernel.exception.SystemException {
299                    return _wikiPageService.revertPage(nodeId, title, version,
300                            serviceContext);
301            }
302    
303            public void subscribePage(long nodeId, java.lang.String title)
304                    throws com.liferay.portal.kernel.exception.PortalException,
305                            com.liferay.portal.kernel.exception.SystemException {
306                    _wikiPageService.subscribePage(nodeId, title);
307            }
308    
309            public void unsubscribePage(long nodeId, java.lang.String title)
310                    throws com.liferay.portal.kernel.exception.PortalException,
311                            com.liferay.portal.kernel.exception.SystemException {
312                    _wikiPageService.unsubscribePage(nodeId, title);
313            }
314    
315            public com.liferay.portlet.wiki.model.WikiPage updatePage(long nodeId,
316                    java.lang.String title, double version, java.lang.String content,
317                    java.lang.String summary, boolean minorEdit, java.lang.String format,
318                    java.lang.String parentTitle, java.lang.String redirectTitle,
319                    com.liferay.portal.service.ServiceContext serviceContext)
320                    throws com.liferay.portal.kernel.exception.PortalException,
321                            com.liferay.portal.kernel.exception.SystemException {
322                    return _wikiPageService.updatePage(nodeId, title, version, content,
323                            summary, minorEdit, format, parentTitle, redirectTitle,
324                            serviceContext);
325            }
326    
327            /**
328             * @deprecated Renamed to {@link #getWrappedService}
329             */
330            public WikiPageService getWrappedWikiPageService() {
331                    return _wikiPageService;
332            }
333    
334            /**
335             * @deprecated Renamed to {@link #setWrappedService}
336             */
337            public void setWrappedWikiPageService(WikiPageService wikiPageService) {
338                    _wikiPageService = wikiPageService;
339            }
340    
341            public WikiPageService getWrappedService() {
342                    return _wikiPageService;
343            }
344    
345            public void setWrappedService(WikiPageService wikiPageService) {
346                    _wikiPageService = wikiPageService;
347            }
348    
349            private WikiPageService _wikiPageService;
350    }