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