001    /**
002     * Copyright (c) 2000-present 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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link WikiNodeService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see WikiNodeService
026     * @generated
027     */
028    @ProviderType
029    public class WikiNodeServiceWrapper implements WikiNodeService,
030            ServiceWrapper<WikiNodeService> {
031            public WikiNodeServiceWrapper(WikiNodeService wikiNodeService) {
032                    _wikiNodeService = wikiNodeService;
033            }
034    
035            @Override
036            public com.liferay.portlet.wiki.model.WikiNode addNode(
037                    java.lang.String name, java.lang.String description,
038                    com.liferay.portal.service.ServiceContext serviceContext)
039                    throws com.liferay.portal.kernel.exception.PortalException {
040                    return _wikiNodeService.addNode(name, description, serviceContext);
041            }
042    
043            @Override
044            public void deleteNode(long nodeId)
045                    throws com.liferay.portal.kernel.exception.PortalException {
046                    _wikiNodeService.deleteNode(nodeId);
047            }
048    
049            /**
050            * Returns the Spring bean ID for this bean.
051            *
052            * @return the Spring bean ID for this bean
053            */
054            @Override
055            public java.lang.String getBeanIdentifier() {
056                    return _wikiNodeService.getBeanIdentifier();
057            }
058    
059            @Override
060            public com.liferay.portlet.wiki.model.WikiNode getNode(long groupId,
061                    java.lang.String name)
062                    throws com.liferay.portal.kernel.exception.PortalException {
063                    return _wikiNodeService.getNode(groupId, name);
064            }
065    
066            @Override
067            public com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
068                    throws com.liferay.portal.kernel.exception.PortalException {
069                    return _wikiNodeService.getNode(nodeId);
070            }
071    
072            @Override
073            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
074                    long groupId)
075                    throws com.liferay.portal.kernel.exception.PortalException {
076                    return _wikiNodeService.getNodes(groupId);
077            }
078    
079            @Override
080            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
081                    long groupId, int start, int end) {
082                    return _wikiNodeService.getNodes(groupId, start, end);
083            }
084    
085            @Override
086            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
087                    long groupId, int status)
088                    throws com.liferay.portal.kernel.exception.PortalException {
089                    return _wikiNodeService.getNodes(groupId, status);
090            }
091    
092            @Override
093            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
094                    long groupId, int status, int start, int end) {
095                    return _wikiNodeService.getNodes(groupId, status, start, end);
096            }
097    
098            @Override
099            public int getNodesCount(long groupId) {
100                    return _wikiNodeService.getNodesCount(groupId);
101            }
102    
103            @Override
104            public int getNodesCount(long groupId, int status) {
105                    return _wikiNodeService.getNodesCount(groupId, status);
106            }
107    
108            @Override
109            public void importPages(long nodeId, java.lang.String importer,
110                    java.io.InputStream[] inputStreams,
111                    java.util.Map<java.lang.String, java.lang.String[]> options)
112                    throws com.liferay.portal.kernel.exception.PortalException {
113                    _wikiNodeService.importPages(nodeId, importer, inputStreams, options);
114            }
115    
116            @Override
117            public com.liferay.portlet.wiki.model.WikiNode moveNodeToTrash(long nodeId)
118                    throws com.liferay.portal.kernel.exception.PortalException {
119                    return _wikiNodeService.moveNodeToTrash(nodeId);
120            }
121    
122            @Override
123            public void restoreNodeFromTrash(long nodeId)
124                    throws com.liferay.portal.kernel.exception.PortalException {
125                    _wikiNodeService.restoreNodeFromTrash(nodeId);
126            }
127    
128            /**
129            * Sets the Spring bean ID for this bean.
130            *
131            * @param beanIdentifier the Spring bean ID for this bean
132            */
133            @Override
134            public void setBeanIdentifier(java.lang.String beanIdentifier) {
135                    _wikiNodeService.setBeanIdentifier(beanIdentifier);
136            }
137    
138            @Override
139            public void subscribeNode(long nodeId)
140                    throws com.liferay.portal.kernel.exception.PortalException {
141                    _wikiNodeService.subscribeNode(nodeId);
142            }
143    
144            @Override
145            public void unsubscribeNode(long nodeId)
146                    throws com.liferay.portal.kernel.exception.PortalException {
147                    _wikiNodeService.unsubscribeNode(nodeId);
148            }
149    
150            @Override
151            public com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
152                    java.lang.String name, java.lang.String description,
153                    com.liferay.portal.service.ServiceContext serviceContext)
154                    throws com.liferay.portal.kernel.exception.PortalException {
155                    return _wikiNodeService.updateNode(nodeId, name, description,
156                            serviceContext);
157            }
158    
159            /**
160             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
161             */
162            @Deprecated
163            public WikiNodeService getWrappedWikiNodeService() {
164                    return _wikiNodeService;
165            }
166    
167            /**
168             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
169             */
170            @Deprecated
171            public void setWrappedWikiNodeService(WikiNodeService wikiNodeService) {
172                    _wikiNodeService = wikiNodeService;
173            }
174    
175            @Override
176            public WikiNodeService getWrappedService() {
177                    return _wikiNodeService;
178            }
179    
180            @Override
181            public void setWrappedService(WikiNodeService wikiNodeService) {
182                    _wikiNodeService = wikiNodeService;
183            }
184    
185            private WikiNodeService _wikiNodeService;
186    }