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