1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.wiki.service;
16  
17  
18  /**
19   * <a href="WikiNodeLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link WikiNodeLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       WikiNodeLocalService
32   * @generated
33   */
34  public class WikiNodeLocalServiceWrapper implements WikiNodeLocalService {
35      public WikiNodeLocalServiceWrapper(
36          WikiNodeLocalService wikiNodeLocalService) {
37          _wikiNodeLocalService = wikiNodeLocalService;
38      }
39  
40      public com.liferay.portlet.wiki.model.WikiNode addWikiNode(
41          com.liferay.portlet.wiki.model.WikiNode wikiNode)
42          throws com.liferay.portal.SystemException {
43          return _wikiNodeLocalService.addWikiNode(wikiNode);
44      }
45  
46      public com.liferay.portlet.wiki.model.WikiNode createWikiNode(long nodeId) {
47          return _wikiNodeLocalService.createWikiNode(nodeId);
48      }
49  
50      public void deleteWikiNode(long nodeId)
51          throws com.liferay.portal.PortalException,
52              com.liferay.portal.SystemException {
53          _wikiNodeLocalService.deleteWikiNode(nodeId);
54      }
55  
56      public void deleteWikiNode(com.liferay.portlet.wiki.model.WikiNode wikiNode)
57          throws com.liferay.portal.SystemException {
58          _wikiNodeLocalService.deleteWikiNode(wikiNode);
59      }
60  
61      public java.util.List<Object> dynamicQuery(
62          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
63          throws com.liferay.portal.SystemException {
64          return _wikiNodeLocalService.dynamicQuery(dynamicQuery);
65      }
66  
67      public java.util.List<Object> dynamicQuery(
68          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
69          int end) throws com.liferay.portal.SystemException {
70          return _wikiNodeLocalService.dynamicQuery(dynamicQuery, start, end);
71      }
72  
73      public java.util.List<Object> dynamicQuery(
74          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
75          int end,
76          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
77          throws com.liferay.portal.SystemException {
78          return _wikiNodeLocalService.dynamicQuery(dynamicQuery, start, end,
79              orderByComparator);
80      }
81  
82      public int dynamicQueryCount(
83          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
84          throws com.liferay.portal.SystemException {
85          return _wikiNodeLocalService.dynamicQueryCount(dynamicQuery);
86      }
87  
88      public com.liferay.portlet.wiki.model.WikiNode getWikiNode(long nodeId)
89          throws com.liferay.portal.PortalException,
90              com.liferay.portal.SystemException {
91          return _wikiNodeLocalService.getWikiNode(nodeId);
92      }
93  
94      public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getWikiNodes(
95          int start, int end) throws com.liferay.portal.SystemException {
96          return _wikiNodeLocalService.getWikiNodes(start, end);
97      }
98  
99      public int getWikiNodesCount() throws com.liferay.portal.SystemException {
100         return _wikiNodeLocalService.getWikiNodesCount();
101     }
102 
103     public com.liferay.portlet.wiki.model.WikiNode updateWikiNode(
104         com.liferay.portlet.wiki.model.WikiNode wikiNode)
105         throws com.liferay.portal.SystemException {
106         return _wikiNodeLocalService.updateWikiNode(wikiNode);
107     }
108 
109     public com.liferay.portlet.wiki.model.WikiNode updateWikiNode(
110         com.liferay.portlet.wiki.model.WikiNode wikiNode, boolean merge)
111         throws com.liferay.portal.SystemException {
112         return _wikiNodeLocalService.updateWikiNode(wikiNode, merge);
113     }
114 
115     public com.liferay.portlet.wiki.model.WikiNode addNode(long userId,
116         java.lang.String name, java.lang.String description,
117         com.liferay.portal.service.ServiceContext serviceContext)
118         throws com.liferay.portal.PortalException,
119             com.liferay.portal.SystemException {
120         return _wikiNodeLocalService.addNode(userId, name, description,
121             serviceContext);
122     }
123 
124     public com.liferay.portlet.wiki.model.WikiNode addNode(
125         java.lang.String uuid, long userId, java.lang.String name,
126         java.lang.String description,
127         com.liferay.portal.service.ServiceContext serviceContext)
128         throws com.liferay.portal.PortalException,
129             com.liferay.portal.SystemException {
130         return _wikiNodeLocalService.addNode(uuid, userId, name, description,
131             serviceContext);
132     }
133 
134     public void addNodeResources(long nodeId, boolean addCommunityPermissions,
135         boolean addGuestPermissions)
136         throws com.liferay.portal.PortalException,
137             com.liferay.portal.SystemException {
138         _wikiNodeLocalService.addNodeResources(nodeId, addCommunityPermissions,
139             addGuestPermissions);
140     }
141 
142     public void addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
143         boolean addCommunityPermissions, boolean addGuestPermissions)
144         throws com.liferay.portal.PortalException,
145             com.liferay.portal.SystemException {
146         _wikiNodeLocalService.addNodeResources(node, addCommunityPermissions,
147             addGuestPermissions);
148     }
149 
150     public void addNodeResources(long nodeId,
151         java.lang.String[] communityPermissions,
152         java.lang.String[] guestPermissions)
153         throws com.liferay.portal.PortalException,
154             com.liferay.portal.SystemException {
155         _wikiNodeLocalService.addNodeResources(nodeId, communityPermissions,
156             guestPermissions);
157     }
158 
159     public void addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
160         java.lang.String[] communityPermissions,
161         java.lang.String[] guestPermissions)
162         throws com.liferay.portal.PortalException,
163             com.liferay.portal.SystemException {
164         _wikiNodeLocalService.addNodeResources(node, communityPermissions,
165             guestPermissions);
166     }
167 
168     public void deleteNode(long nodeId)
169         throws com.liferay.portal.PortalException,
170             com.liferay.portal.SystemException {
171         _wikiNodeLocalService.deleteNode(nodeId);
172     }
173 
174     public void deleteNode(com.liferay.portlet.wiki.model.WikiNode node)
175         throws com.liferay.portal.PortalException,
176             com.liferay.portal.SystemException {
177         _wikiNodeLocalService.deleteNode(node);
178     }
179 
180     public void deleteNodes(long groupId)
181         throws com.liferay.portal.PortalException,
182             com.liferay.portal.SystemException {
183         _wikiNodeLocalService.deleteNodes(groupId);
184     }
185 
186     public com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
187         throws com.liferay.portal.PortalException,
188             com.liferay.portal.SystemException {
189         return _wikiNodeLocalService.getNode(nodeId);
190     }
191 
192     public com.liferay.portlet.wiki.model.WikiNode getNode(long groupId,
193         java.lang.String nodeName)
194         throws com.liferay.portal.PortalException,
195             com.liferay.portal.SystemException {
196         return _wikiNodeLocalService.getNode(groupId, nodeName);
197     }
198 
199     public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
200         long groupId) throws com.liferay.portal.SystemException {
201         return _wikiNodeLocalService.getNodes(groupId);
202     }
203 
204     public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
205         long groupId, int start, int end)
206         throws com.liferay.portal.SystemException {
207         return _wikiNodeLocalService.getNodes(groupId, start, end);
208     }
209 
210     public int getNodesCount(long groupId)
211         throws com.liferay.portal.SystemException {
212         return _wikiNodeLocalService.getNodesCount(groupId);
213     }
214 
215     public void importPages(long userId, long nodeId,
216         java.lang.String importer, java.io.File[] files,
217         java.util.Map<String, String[]> options)
218         throws com.liferay.portal.PortalException,
219             com.liferay.portal.SystemException {
220         _wikiNodeLocalService.importPages(userId, nodeId, importer, files,
221             options);
222     }
223 
224     public void reIndex(java.lang.String[] ids)
225         throws com.liferay.portal.SystemException {
226         _wikiNodeLocalService.reIndex(ids);
227     }
228 
229     public com.liferay.portal.kernel.search.Hits search(long companyId,
230         long groupId, long userId, long[] nodeIds, java.lang.String keywords,
231         int start, int end) throws com.liferay.portal.SystemException {
232         return _wikiNodeLocalService.search(companyId, groupId, userId,
233             nodeIds, keywords, start, end);
234     }
235 
236     public void subscribeNode(long userId, long nodeId)
237         throws com.liferay.portal.PortalException,
238             com.liferay.portal.SystemException {
239         _wikiNodeLocalService.subscribeNode(userId, nodeId);
240     }
241 
242     public void unsubscribeNode(long userId, long nodeId)
243         throws com.liferay.portal.PortalException,
244             com.liferay.portal.SystemException {
245         _wikiNodeLocalService.unsubscribeNode(userId, nodeId);
246     }
247 
248     public com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
249         java.lang.String name, java.lang.String description)
250         throws com.liferay.portal.PortalException,
251             com.liferay.portal.SystemException {
252         return _wikiNodeLocalService.updateNode(nodeId, name, description);
253     }
254 
255     public com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
256         java.lang.String name, java.lang.String description,
257         com.liferay.portal.service.ServiceContext serviceContext)
258         throws com.liferay.portal.PortalException,
259             com.liferay.portal.SystemException {
260         return _wikiNodeLocalService.updateNode(nodeId, name, description,
261             serviceContext);
262     }
263 
264     public WikiNodeLocalService getWrappedWikiNodeLocalService() {
265         return _wikiNodeLocalService;
266     }
267 
268     private WikiNodeLocalService _wikiNodeLocalService;
269 }