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