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 WikiNodeService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       WikiNodeService
026     * @generated
027     */
028    public class WikiNodeServiceWrapper implements WikiNodeService,
029            ServiceWrapper<WikiNodeService> {
030            public WikiNodeServiceWrapper(WikiNodeService wikiNodeService) {
031                    _wikiNodeService = wikiNodeService;
032            }
033    
034            public com.liferay.portlet.wiki.model.WikiNode addNode(
035                    java.lang.String name, java.lang.String description,
036                    com.liferay.portal.service.ServiceContext serviceContext)
037                    throws com.liferay.portal.kernel.exception.PortalException,
038                            com.liferay.portal.kernel.exception.SystemException {
039                    return _wikiNodeService.addNode(name, description, serviceContext);
040            }
041    
042            public void deleteNode(long nodeId)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    _wikiNodeService.deleteNode(nodeId);
046            }
047    
048            public com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
049                    throws com.liferay.portal.kernel.exception.PortalException,
050                            com.liferay.portal.kernel.exception.SystemException {
051                    return _wikiNodeService.getNode(nodeId);
052            }
053    
054            public com.liferay.portlet.wiki.model.WikiNode getNode(long groupId,
055                    java.lang.String name)
056                    throws com.liferay.portal.kernel.exception.PortalException,
057                            com.liferay.portal.kernel.exception.SystemException {
058                    return _wikiNodeService.getNode(groupId, name);
059            }
060    
061            public void importPages(long nodeId, java.lang.String importer,
062                    java.io.InputStream[] inputStreams,
063                    java.util.Map<java.lang.String, java.lang.String[]> options)
064                    throws com.liferay.portal.kernel.exception.PortalException,
065                            com.liferay.portal.kernel.exception.SystemException {
066                    _wikiNodeService.importPages(nodeId, importer, inputStreams, options);
067            }
068    
069            public void subscribeNode(long nodeId)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    _wikiNodeService.subscribeNode(nodeId);
073            }
074    
075            public void unsubscribeNode(long nodeId)
076                    throws com.liferay.portal.kernel.exception.PortalException,
077                            com.liferay.portal.kernel.exception.SystemException {
078                    _wikiNodeService.unsubscribeNode(nodeId);
079            }
080    
081            public com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
082                    java.lang.String name, java.lang.String description,
083                    com.liferay.portal.service.ServiceContext serviceContext)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _wikiNodeService.updateNode(nodeId, name, description,
087                            serviceContext);
088            }
089    
090            /**
091             * @deprecated Renamed to {@link #getWrappedService}
092             */
093            public WikiNodeService getWrappedWikiNodeService() {
094                    return _wikiNodeService;
095            }
096    
097            /**
098             * @deprecated Renamed to {@link #setWrappedService}
099             */
100            public void setWrappedWikiNodeService(WikiNodeService wikiNodeService) {
101                    _wikiNodeService = wikiNodeService;
102            }
103    
104            public WikiNodeService getWrappedService() {
105                    return _wikiNodeService;
106            }
107    
108            public void setWrappedService(WikiNodeService wikiNodeService) {
109                    _wikiNodeService = wikiNodeService;
110            }
111    
112            private WikiNodeService _wikiNodeService;
113    }