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     * <p>
019     * This class is a wrapper for {@link WikiPageService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       WikiPageService
024     * @generated
025     */
026    public class WikiPageServiceWrapper implements WikiPageService {
027            public WikiPageServiceWrapper(WikiPageService wikiPageService) {
028                    _wikiPageService = wikiPageService;
029            }
030    
031            public com.liferay.portlet.wiki.model.WikiPage addPage(long nodeId,
032                    java.lang.String title, java.lang.String content,
033                    java.lang.String summary, boolean minorEdit,
034                    com.liferay.portal.service.ServiceContext serviceContext)
035                    throws com.liferay.portal.kernel.exception.PortalException,
036                            com.liferay.portal.kernel.exception.SystemException {
037                    return _wikiPageService.addPage(nodeId, title, content, summary,
038                            minorEdit, serviceContext);
039            }
040    
041            public com.liferay.portlet.wiki.model.WikiPage addPage(long nodeId,
042                    java.lang.String title, java.lang.String content,
043                    java.lang.String summary, boolean minorEdit, java.lang.String format,
044                    java.lang.String parentTitle, java.lang.String redirectTitle,
045                    com.liferay.portal.service.ServiceContext serviceContext)
046                    throws com.liferay.portal.kernel.exception.PortalException,
047                            com.liferay.portal.kernel.exception.SystemException {
048                    return _wikiPageService.addPage(nodeId, title, content, summary,
049                            minorEdit, format, parentTitle, redirectTitle, serviceContext);
050            }
051    
052            public void addPageAttachments(long nodeId, java.lang.String title,
053                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, byte[]>> files)
054                    throws com.liferay.portal.kernel.exception.PortalException,
055                            com.liferay.portal.kernel.exception.SystemException {
056                    _wikiPageService.addPageAttachments(nodeId, title, files);
057            }
058    
059            public void changeParent(long nodeId, java.lang.String title,
060                    java.lang.String newParentTitle,
061                    com.liferay.portal.service.ServiceContext serviceContext)
062                    throws com.liferay.portal.kernel.exception.PortalException,
063                            com.liferay.portal.kernel.exception.SystemException {
064                    _wikiPageService.changeParent(nodeId, title, newParentTitle,
065                            serviceContext);
066            }
067    
068            public void deletePage(long nodeId, java.lang.String title)
069                    throws com.liferay.portal.kernel.exception.PortalException,
070                            com.liferay.portal.kernel.exception.SystemException {
071                    _wikiPageService.deletePage(nodeId, title);
072            }
073    
074            public void deletePage(long nodeId, java.lang.String title, double version)
075                    throws com.liferay.portal.kernel.exception.PortalException,
076                            com.liferay.portal.kernel.exception.SystemException {
077                    _wikiPageService.deletePage(nodeId, title, version);
078            }
079    
080            public void deletePageAttachment(long nodeId, java.lang.String title,
081                    java.lang.String fileName)
082                    throws com.liferay.portal.kernel.exception.PortalException,
083                            com.liferay.portal.kernel.exception.SystemException {
084                    _wikiPageService.deletePageAttachment(nodeId, title, fileName);
085            }
086    
087            public com.liferay.portlet.wiki.model.WikiPage getDraftPage(long nodeId,
088                    java.lang.String title)
089                    throws com.liferay.portal.kernel.exception.PortalException,
090                            com.liferay.portal.kernel.exception.SystemException {
091                    return _wikiPageService.getDraftPage(nodeId, title);
092            }
093    
094            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNodePages(
095                    long nodeId, int max)
096                    throws com.liferay.portal.kernel.exception.PortalException,
097                            com.liferay.portal.kernel.exception.SystemException {
098                    return _wikiPageService.getNodePages(nodeId, max);
099            }
100    
101            public java.lang.String getNodePagesRSS(long nodeId, int max,
102                    java.lang.String type, double version, java.lang.String displayStyle,
103                    java.lang.String feedURL, java.lang.String entryURL)
104                    throws com.liferay.portal.kernel.exception.PortalException,
105                            com.liferay.portal.kernel.exception.SystemException {
106                    return _wikiPageService.getNodePagesRSS(nodeId, max, type, version,
107                            displayStyle, feedURL, entryURL);
108            }
109    
110            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
111                    java.lang.String title)
112                    throws com.liferay.portal.kernel.exception.PortalException,
113                            com.liferay.portal.kernel.exception.SystemException {
114                    return _wikiPageService.getPage(nodeId, title);
115            }
116    
117            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
118                    java.lang.String title, java.lang.Boolean head)
119                    throws com.liferay.portal.kernel.exception.PortalException,
120                            com.liferay.portal.kernel.exception.SystemException {
121                    return _wikiPageService.getPage(nodeId, title, head);
122            }
123    
124            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
125                    java.lang.String title, double version)
126                    throws com.liferay.portal.kernel.exception.PortalException,
127                            com.liferay.portal.kernel.exception.SystemException {
128                    return _wikiPageService.getPage(nodeId, title, version);
129            }
130    
131            public java.lang.String getPagesRSS(long companyId, long nodeId,
132                    java.lang.String title, int max, java.lang.String type, double version,
133                    java.lang.String displayStyle, java.lang.String feedURL,
134                    java.lang.String entryURL, java.util.Locale locale)
135                    throws com.liferay.portal.kernel.exception.PortalException,
136                            com.liferay.portal.kernel.exception.SystemException {
137                    return _wikiPageService.getPagesRSS(companyId, nodeId, title, max,
138                            type, version, displayStyle, feedURL, entryURL, locale);
139            }
140    
141            public void movePage(long nodeId, java.lang.String title,
142                    java.lang.String newTitle,
143                    com.liferay.portal.service.ServiceContext serviceContext)
144                    throws com.liferay.portal.kernel.exception.PortalException,
145                            com.liferay.portal.kernel.exception.SystemException {
146                    _wikiPageService.movePage(nodeId, title, newTitle, serviceContext);
147            }
148    
149            public com.liferay.portlet.wiki.model.WikiPage revertPage(long nodeId,
150                    java.lang.String title, double version,
151                    com.liferay.portal.service.ServiceContext serviceContext)
152                    throws com.liferay.portal.kernel.exception.PortalException,
153                            com.liferay.portal.kernel.exception.SystemException {
154                    return _wikiPageService.revertPage(nodeId, title, version,
155                            serviceContext);
156            }
157    
158            public void subscribePage(long nodeId, java.lang.String title)
159                    throws com.liferay.portal.kernel.exception.PortalException,
160                            com.liferay.portal.kernel.exception.SystemException {
161                    _wikiPageService.subscribePage(nodeId, title);
162            }
163    
164            public void unsubscribePage(long nodeId, java.lang.String title)
165                    throws com.liferay.portal.kernel.exception.PortalException,
166                            com.liferay.portal.kernel.exception.SystemException {
167                    _wikiPageService.unsubscribePage(nodeId, title);
168            }
169    
170            public com.liferay.portlet.wiki.model.WikiPage updatePage(long nodeId,
171                    java.lang.String title, double version, java.lang.String content,
172                    java.lang.String summary, boolean minorEdit, java.lang.String format,
173                    java.lang.String parentTitle, java.lang.String redirectTitle,
174                    com.liferay.portal.service.ServiceContext serviceContext)
175                    throws com.liferay.portal.kernel.exception.PortalException,
176                            com.liferay.portal.kernel.exception.SystemException {
177                    return _wikiPageService.updatePage(nodeId, title, version, content,
178                            summary, minorEdit, format, parentTitle, redirectTitle,
179                            serviceContext);
180            }
181    
182            public WikiPageService getWrappedWikiPageService() {
183                    return _wikiPageService;
184            }
185    
186            private WikiPageService _wikiPageService;
187    }