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     * <p>
019     * This class is a wrapper for {@link WikiNodeLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       WikiNodeLocalService
024     * @generated
025     */
026    public class WikiNodeLocalServiceWrapper implements WikiNodeLocalService {
027            public WikiNodeLocalServiceWrapper(
028                    WikiNodeLocalService wikiNodeLocalService) {
029                    _wikiNodeLocalService = wikiNodeLocalService;
030            }
031    
032            public com.liferay.portlet.wiki.model.WikiNode addWikiNode(
033                    com.liferay.portlet.wiki.model.WikiNode wikiNode)
034                    throws com.liferay.portal.kernel.exception.SystemException {
035                    return _wikiNodeLocalService.addWikiNode(wikiNode);
036            }
037    
038            public com.liferay.portlet.wiki.model.WikiNode createWikiNode(long nodeId) {
039                    return _wikiNodeLocalService.createWikiNode(nodeId);
040            }
041    
042            public void deleteWikiNode(long nodeId)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    _wikiNodeLocalService.deleteWikiNode(nodeId);
046            }
047    
048            public void deleteWikiNode(com.liferay.portlet.wiki.model.WikiNode wikiNode)
049                    throws com.liferay.portal.kernel.exception.SystemException {
050                    _wikiNodeLocalService.deleteWikiNode(wikiNode);
051            }
052    
053            @SuppressWarnings("unchecked")
054            public java.util.List dynamicQuery(
055                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
056                    throws com.liferay.portal.kernel.exception.SystemException {
057                    return _wikiNodeLocalService.dynamicQuery(dynamicQuery);
058            }
059    
060            @SuppressWarnings("unchecked")
061            public java.util.List dynamicQuery(
062                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
063                    int end) throws com.liferay.portal.kernel.exception.SystemException {
064                    return _wikiNodeLocalService.dynamicQuery(dynamicQuery, start, end);
065            }
066    
067            @SuppressWarnings("unchecked")
068            public java.util.List dynamicQuery(
069                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
070                    int end,
071                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
072                    throws com.liferay.portal.kernel.exception.SystemException {
073                    return _wikiNodeLocalService.dynamicQuery(dynamicQuery, start, end,
074                            orderByComparator);
075            }
076    
077            public long dynamicQueryCount(
078                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
079                    throws com.liferay.portal.kernel.exception.SystemException {
080                    return _wikiNodeLocalService.dynamicQueryCount(dynamicQuery);
081            }
082    
083            public com.liferay.portlet.wiki.model.WikiNode getWikiNode(long nodeId)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _wikiNodeLocalService.getWikiNode(nodeId);
087            }
088    
089            public com.liferay.portlet.wiki.model.WikiNode getWikiNodeByUuidAndGroupId(
090                    java.lang.String uuid, long groupId)
091                    throws com.liferay.portal.kernel.exception.PortalException,
092                            com.liferay.portal.kernel.exception.SystemException {
093                    return _wikiNodeLocalService.getWikiNodeByUuidAndGroupId(uuid, groupId);
094            }
095    
096            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getWikiNodes(
097                    int start, int end)
098                    throws com.liferay.portal.kernel.exception.SystemException {
099                    return _wikiNodeLocalService.getWikiNodes(start, end);
100            }
101    
102            public int getWikiNodesCount()
103                    throws com.liferay.portal.kernel.exception.SystemException {
104                    return _wikiNodeLocalService.getWikiNodesCount();
105            }
106    
107            public com.liferay.portlet.wiki.model.WikiNode updateWikiNode(
108                    com.liferay.portlet.wiki.model.WikiNode wikiNode)
109                    throws com.liferay.portal.kernel.exception.SystemException {
110                    return _wikiNodeLocalService.updateWikiNode(wikiNode);
111            }
112    
113            public com.liferay.portlet.wiki.model.WikiNode updateWikiNode(
114                    com.liferay.portlet.wiki.model.WikiNode wikiNode, boolean merge)
115                    throws com.liferay.portal.kernel.exception.SystemException {
116                    return _wikiNodeLocalService.updateWikiNode(wikiNode, merge);
117            }
118    
119            public com.liferay.portlet.wiki.model.WikiNode addDefaultNode(long userId,
120                    com.liferay.portal.service.ServiceContext serviceContext)
121                    throws com.liferay.portal.kernel.exception.PortalException,
122                            com.liferay.portal.kernel.exception.SystemException {
123                    return _wikiNodeLocalService.addDefaultNode(userId, serviceContext);
124            }
125    
126            public com.liferay.portlet.wiki.model.WikiNode addNode(long userId,
127                    java.lang.String name, java.lang.String description,
128                    com.liferay.portal.service.ServiceContext serviceContext)
129                    throws com.liferay.portal.kernel.exception.PortalException,
130                            com.liferay.portal.kernel.exception.SystemException {
131                    return _wikiNodeLocalService.addNode(userId, name, description,
132                            serviceContext);
133            }
134    
135            public void addNodeResources(long nodeId, boolean addCommunityPermissions,
136                    boolean addGuestPermissions)
137                    throws com.liferay.portal.kernel.exception.PortalException,
138                            com.liferay.portal.kernel.exception.SystemException {
139                    _wikiNodeLocalService.addNodeResources(nodeId, addCommunityPermissions,
140                            addGuestPermissions);
141            }
142    
143            public void addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
144                    boolean addCommunityPermissions, boolean addGuestPermissions)
145                    throws com.liferay.portal.kernel.exception.PortalException,
146                            com.liferay.portal.kernel.exception.SystemException {
147                    _wikiNodeLocalService.addNodeResources(node, addCommunityPermissions,
148                            addGuestPermissions);
149            }
150    
151            public void addNodeResources(long nodeId,
152                    java.lang.String[] communityPermissions,
153                    java.lang.String[] guestPermissions)
154                    throws com.liferay.portal.kernel.exception.PortalException,
155                            com.liferay.portal.kernel.exception.SystemException {
156                    _wikiNodeLocalService.addNodeResources(nodeId, communityPermissions,
157                            guestPermissions);
158            }
159    
160            public void addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
161                    java.lang.String[] communityPermissions,
162                    java.lang.String[] guestPermissions)
163                    throws com.liferay.portal.kernel.exception.PortalException,
164                            com.liferay.portal.kernel.exception.SystemException {
165                    _wikiNodeLocalService.addNodeResources(node, communityPermissions,
166                            guestPermissions);
167            }
168    
169            public void deleteNode(long nodeId)
170                    throws com.liferay.portal.kernel.exception.PortalException,
171                            com.liferay.portal.kernel.exception.SystemException {
172                    _wikiNodeLocalService.deleteNode(nodeId);
173            }
174    
175            public void deleteNode(com.liferay.portlet.wiki.model.WikiNode node)
176                    throws com.liferay.portal.kernel.exception.PortalException,
177                            com.liferay.portal.kernel.exception.SystemException {
178                    _wikiNodeLocalService.deleteNode(node);
179            }
180    
181            public void deleteNodes(long groupId)
182                    throws com.liferay.portal.kernel.exception.PortalException,
183                            com.liferay.portal.kernel.exception.SystemException {
184                    _wikiNodeLocalService.deleteNodes(groupId);
185            }
186    
187            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getCompanyNodes(
188                    long companyId, int start, int end)
189                    throws com.liferay.portal.kernel.exception.SystemException {
190                    return _wikiNodeLocalService.getCompanyNodes(companyId, start, end);
191            }
192    
193            public int getCompanyNodesCount(long companyId)
194                    throws com.liferay.portal.kernel.exception.SystemException {
195                    return _wikiNodeLocalService.getCompanyNodesCount(companyId);
196            }
197    
198            public com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
199                    throws com.liferay.portal.kernel.exception.PortalException,
200                            com.liferay.portal.kernel.exception.SystemException {
201                    return _wikiNodeLocalService.getNode(nodeId);
202            }
203    
204            public com.liferay.portlet.wiki.model.WikiNode getNode(long groupId,
205                    java.lang.String nodeName)
206                    throws com.liferay.portal.kernel.exception.PortalException,
207                            com.liferay.portal.kernel.exception.SystemException {
208                    return _wikiNodeLocalService.getNode(groupId, nodeName);
209            }
210    
211            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
212                    long groupId)
213                    throws com.liferay.portal.kernel.exception.PortalException,
214                            com.liferay.portal.kernel.exception.SystemException {
215                    return _wikiNodeLocalService.getNodes(groupId);
216            }
217    
218            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
219                    long groupId, int start, int end)
220                    throws com.liferay.portal.kernel.exception.PortalException,
221                            com.liferay.portal.kernel.exception.SystemException {
222                    return _wikiNodeLocalService.getNodes(groupId, start, end);
223            }
224    
225            public int getNodesCount(long groupId)
226                    throws com.liferay.portal.kernel.exception.SystemException {
227                    return _wikiNodeLocalService.getNodesCount(groupId);
228            }
229    
230            public void importPages(long userId, long nodeId,
231                    java.lang.String importer, java.io.File[] files,
232                    java.util.Map<java.lang.String, java.lang.String[]> options)
233                    throws com.liferay.portal.kernel.exception.PortalException,
234                            com.liferay.portal.kernel.exception.SystemException {
235                    _wikiNodeLocalService.importPages(userId, nodeId, importer, files,
236                            options);
237            }
238    
239            public void subscribeNode(long userId, long nodeId)
240                    throws com.liferay.portal.kernel.exception.PortalException,
241                            com.liferay.portal.kernel.exception.SystemException {
242                    _wikiNodeLocalService.subscribeNode(userId, nodeId);
243            }
244    
245            public void unsubscribeNode(long userId, long nodeId)
246                    throws com.liferay.portal.kernel.exception.PortalException,
247                            com.liferay.portal.kernel.exception.SystemException {
248                    _wikiNodeLocalService.unsubscribeNode(userId, nodeId);
249            }
250    
251            public com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
252                    java.lang.String name, java.lang.String description,
253                    com.liferay.portal.service.ServiceContext serviceContext)
254                    throws com.liferay.portal.kernel.exception.PortalException,
255                            com.liferay.portal.kernel.exception.SystemException {
256                    return _wikiNodeLocalService.updateNode(nodeId, name, description,
257                            serviceContext);
258            }
259    
260            public WikiNodeLocalService getWrappedWikiNodeLocalService() {
261                    return _wikiNodeLocalService;
262            }
263    
264            private WikiNodeLocalService _wikiNodeLocalService;
265    }