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