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