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 com.liferay.portlet.wiki.model.WikiNode getWikiNode(long nodeId)
74          throws com.liferay.portal.PortalException,
75              com.liferay.portal.SystemException {
76          return _wikiNodeLocalService.getWikiNode(nodeId);
77      }
78  
79      public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getWikiNodes(
80          int start, int end) throws com.liferay.portal.SystemException {
81          return _wikiNodeLocalService.getWikiNodes(start, end);
82      }
83  
84      public int getWikiNodesCount() throws com.liferay.portal.SystemException {
85          return _wikiNodeLocalService.getWikiNodesCount();
86      }
87  
88      public com.liferay.portlet.wiki.model.WikiNode updateWikiNode(
89          com.liferay.portlet.wiki.model.WikiNode wikiNode)
90          throws com.liferay.portal.SystemException {
91          return _wikiNodeLocalService.updateWikiNode(wikiNode);
92      }
93  
94      public com.liferay.portlet.wiki.model.WikiNode updateWikiNode(
95          com.liferay.portlet.wiki.model.WikiNode wikiNode, boolean merge)
96          throws com.liferay.portal.SystemException {
97          return _wikiNodeLocalService.updateWikiNode(wikiNode, merge);
98      }
99  
100     public com.liferay.portlet.wiki.model.WikiNode addNode(long userId,
101         long plid, java.lang.String name, java.lang.String description,
102         boolean addCommunityPermissions, boolean addGuestPermissions)
103         throws com.liferay.portal.PortalException,
104             com.liferay.portal.SystemException {
105         return _wikiNodeLocalService.addNode(userId, plid, name, description,
106             addCommunityPermissions, addGuestPermissions);
107     }
108 
109     public com.liferay.portlet.wiki.model.WikiNode addNode(
110         java.lang.String uuid, long userId, long plid, java.lang.String name,
111         java.lang.String description, boolean addCommunityPermissions,
112         boolean addGuestPermissions)
113         throws com.liferay.portal.PortalException,
114             com.liferay.portal.SystemException {
115         return _wikiNodeLocalService.addNode(uuid, userId, plid, name,
116             description, addCommunityPermissions, addGuestPermissions);
117     }
118 
119     public com.liferay.portlet.wiki.model.WikiNode addNode(long userId,
120         long plid, java.lang.String name, java.lang.String description,
121         java.lang.String[] communityPermissions,
122         java.lang.String[] guestPermissions)
123         throws com.liferay.portal.PortalException,
124             com.liferay.portal.SystemException {
125         return _wikiNodeLocalService.addNode(userId, plid, name, description,
126             communityPermissions, guestPermissions);
127     }
128 
129     public com.liferay.portlet.wiki.model.WikiNode addNode(
130         java.lang.String uuid, long userId, long plid, java.lang.String name,
131         java.lang.String description,
132         java.lang.Boolean addCommunityPermissions,
133         java.lang.Boolean addGuestPermissions,
134         java.lang.String[] communityPermissions,
135         java.lang.String[] guestPermissions)
136         throws com.liferay.portal.PortalException,
137             com.liferay.portal.SystemException {
138         return _wikiNodeLocalService.addNode(uuid, userId, plid, name,
139             description, addCommunityPermissions, addGuestPermissions,
140             communityPermissions, guestPermissions);
141     }
142 
143     public void addNodeResources(long nodeId, boolean addCommunityPermissions,
144         boolean addGuestPermissions)
145         throws com.liferay.portal.PortalException,
146             com.liferay.portal.SystemException {
147         _wikiNodeLocalService.addNodeResources(nodeId, addCommunityPermissions,
148             addGuestPermissions);
149     }
150 
151     public void addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
152         boolean addCommunityPermissions, boolean addGuestPermissions)
153         throws com.liferay.portal.PortalException,
154             com.liferay.portal.SystemException {
155         _wikiNodeLocalService.addNodeResources(node, addCommunityPermissions,
156             addGuestPermissions);
157     }
158 
159     public void addNodeResources(long nodeId,
160         java.lang.String[] communityPermissions,
161         java.lang.String[] guestPermissions)
162         throws com.liferay.portal.PortalException,
163             com.liferay.portal.SystemException {
164         _wikiNodeLocalService.addNodeResources(nodeId, communityPermissions,
165             guestPermissions);
166     }
167 
168     public void addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
169         java.lang.String[] communityPermissions,
170         java.lang.String[] guestPermissions)
171         throws com.liferay.portal.PortalException,
172             com.liferay.portal.SystemException {
173         _wikiNodeLocalService.addNodeResources(node, communityPermissions,
174             guestPermissions);
175     }
176 
177     public void deleteNode(long nodeId)
178         throws com.liferay.portal.PortalException,
179             com.liferay.portal.SystemException {
180         _wikiNodeLocalService.deleteNode(nodeId);
181     }
182 
183     public void deleteNode(com.liferay.portlet.wiki.model.WikiNode node)
184         throws com.liferay.portal.PortalException,
185             com.liferay.portal.SystemException {
186         _wikiNodeLocalService.deleteNode(node);
187     }
188 
189     public void deleteNodes(long groupId)
190         throws com.liferay.portal.PortalException,
191             com.liferay.portal.SystemException {
192         _wikiNodeLocalService.deleteNodes(groupId);
193     }
194 
195     public com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
196         throws com.liferay.portal.PortalException,
197             com.liferay.portal.SystemException {
198         return _wikiNodeLocalService.getNode(nodeId);
199     }
200 
201     public com.liferay.portlet.wiki.model.WikiNode getNode(long groupId,
202         java.lang.String nodeName)
203         throws com.liferay.portal.PortalException,
204             com.liferay.portal.SystemException {
205         return _wikiNodeLocalService.getNode(groupId, nodeName);
206     }
207 
208     public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
209         long groupId) throws com.liferay.portal.SystemException {
210         return _wikiNodeLocalService.getNodes(groupId);
211     }
212 
213     public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
214         long groupId, int start, int end)
215         throws com.liferay.portal.SystemException {
216         return _wikiNodeLocalService.getNodes(groupId, start, end);
217     }
218 
219     public int getNodesCount(long groupId)
220         throws com.liferay.portal.SystemException {
221         return _wikiNodeLocalService.getNodesCount(groupId);
222     }
223 
224     public void importPages(long userId, long nodeId,
225         java.lang.String importer, java.io.File[] files,
226         java.util.Map<String, String[]> options)
227         throws com.liferay.portal.PortalException,
228             com.liferay.portal.SystemException {
229         _wikiNodeLocalService.importPages(userId, nodeId, importer, files,
230             options);
231     }
232 
233     public void reIndex(java.lang.String[] ids)
234         throws com.liferay.portal.SystemException {
235         _wikiNodeLocalService.reIndex(ids);
236     }
237 
238     public com.liferay.portal.kernel.search.Hits search(long companyId,
239         long groupId, long[] nodeIds, java.lang.String keywords, int start,
240         int end) throws com.liferay.portal.SystemException {
241         return _wikiNodeLocalService.search(companyId, groupId, nodeIds,
242             keywords, start, end);
243     }
244 
245     public void subscribeNode(long userId, long nodeId)
246         throws com.liferay.portal.PortalException,
247             com.liferay.portal.SystemException {
248         _wikiNodeLocalService.subscribeNode(userId, nodeId);
249     }
250 
251     public void unsubscribeNode(long userId, long nodeId)
252         throws com.liferay.portal.PortalException,
253             com.liferay.portal.SystemException {
254         _wikiNodeLocalService.unsubscribeNode(userId, nodeId);
255     }
256 
257     public com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
258         java.lang.String name, java.lang.String description)
259         throws com.liferay.portal.PortalException,
260             com.liferay.portal.SystemException {
261         return _wikiNodeLocalService.updateNode(nodeId, name, description);
262     }
263 
264     public WikiNodeLocalService getWrappedWikiNodeLocalService() {
265         return _wikiNodeLocalService;
266     }
267 
268     private WikiNodeLocalService _wikiNodeLocalService;
269 }