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 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            /**
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 _wikiNodeService.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                    _wikiNodeService.setBeanIdentifier(beanIdentifier);
050            }
051    
052            public com.liferay.portlet.wiki.model.WikiNode addNode(
053                    java.lang.String name, java.lang.String description,
054                    com.liferay.portal.service.ServiceContext serviceContext)
055                    throws com.liferay.portal.kernel.exception.PortalException,
056                            com.liferay.portal.kernel.exception.SystemException {
057                    return _wikiNodeService.addNode(name, description, serviceContext);
058            }
059    
060            public void deleteNode(long nodeId)
061                    throws com.liferay.portal.kernel.exception.PortalException,
062                            com.liferay.portal.kernel.exception.SystemException {
063                    _wikiNodeService.deleteNode(nodeId);
064            }
065    
066            public com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
067                    throws com.liferay.portal.kernel.exception.PortalException,
068                            com.liferay.portal.kernel.exception.SystemException {
069                    return _wikiNodeService.getNode(nodeId);
070            }
071    
072            public com.liferay.portlet.wiki.model.WikiNode getNode(long groupId,
073                    java.lang.String name)
074                    throws com.liferay.portal.kernel.exception.PortalException,
075                            com.liferay.portal.kernel.exception.SystemException {
076                    return _wikiNodeService.getNode(groupId, name);
077            }
078    
079            public void importPages(long nodeId, java.lang.String importer,
080                    java.io.InputStream[] inputStreams,
081                    java.util.Map<java.lang.String, java.lang.String[]> options)
082                    throws com.liferay.portal.kernel.exception.PortalException,
083                            com.liferay.portal.kernel.exception.SystemException {
084                    _wikiNodeService.importPages(nodeId, importer, inputStreams, options);
085            }
086    
087            public void subscribeNode(long nodeId)
088                    throws com.liferay.portal.kernel.exception.PortalException,
089                            com.liferay.portal.kernel.exception.SystemException {
090                    _wikiNodeService.subscribeNode(nodeId);
091            }
092    
093            public void unsubscribeNode(long nodeId)
094                    throws com.liferay.portal.kernel.exception.PortalException,
095                            com.liferay.portal.kernel.exception.SystemException {
096                    _wikiNodeService.unsubscribeNode(nodeId);
097            }
098    
099            public com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
100                    java.lang.String name, java.lang.String description,
101                    com.liferay.portal.service.ServiceContext serviceContext)
102                    throws com.liferay.portal.kernel.exception.PortalException,
103                            com.liferay.portal.kernel.exception.SystemException {
104                    return _wikiNodeService.updateNode(nodeId, name, description,
105                            serviceContext);
106            }
107    
108            /**
109             * @deprecated Renamed to {@link #getWrappedService}
110             */
111            public WikiNodeService getWrappedWikiNodeService() {
112                    return _wikiNodeService;
113            }
114    
115            /**
116             * @deprecated Renamed to {@link #setWrappedService}
117             */
118            public void setWrappedWikiNodeService(WikiNodeService wikiNodeService) {
119                    _wikiNodeService = wikiNodeService;
120            }
121    
122            public WikiNodeService getWrappedService() {
123                    return _wikiNodeService;
124            }
125    
126            public void setWrappedService(WikiNodeService wikiNodeService) {
127                    _wikiNodeService = wikiNodeService;
128            }
129    
130            private WikiNodeService _wikiNodeService;
131    }