1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.wiki.service;
16  
17  /**
18   * <a href="WikiNodeLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link WikiNodeLocalService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       WikiNodeLocalService
31   * @generated
32   */
33  public class WikiNodeLocalServiceWrapper implements WikiNodeLocalService {
34      public WikiNodeLocalServiceWrapper(
35          WikiNodeLocalService wikiNodeLocalService) {
36          _wikiNodeLocalService = wikiNodeLocalService;
37      }
38  
39      public com.liferay.portlet.wiki.model.WikiNode addWikiNode(
40          com.liferay.portlet.wiki.model.WikiNode wikiNode)
41          throws com.liferay.portal.SystemException {
42          return _wikiNodeLocalService.addWikiNode(wikiNode);
43      }
44  
45      public com.liferay.portlet.wiki.model.WikiNode createWikiNode(long nodeId) {
46          return _wikiNodeLocalService.createWikiNode(nodeId);
47      }
48  
49      public void deleteWikiNode(long nodeId)
50          throws com.liferay.portal.PortalException,
51              com.liferay.portal.SystemException {
52          _wikiNodeLocalService.deleteWikiNode(nodeId);
53      }
54  
55      public void deleteWikiNode(com.liferay.portlet.wiki.model.WikiNode wikiNode)
56          throws com.liferay.portal.SystemException {
57          _wikiNodeLocalService.deleteWikiNode(wikiNode);
58      }
59  
60      @SuppressWarnings("rawtypes")
61      public java.util.List dynamicQuery(
62          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
63          throws com.liferay.portal.SystemException {
64          return _wikiNodeLocalService.dynamicQuery(dynamicQuery);
65      }
66  
67      @SuppressWarnings("rawtypes")
68      public java.util.List dynamicQuery(
69          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
70          int end) throws com.liferay.portal.SystemException {
71          return _wikiNodeLocalService.dynamicQuery(dynamicQuery, start, end);
72      }
73  
74      @SuppressWarnings("rawtypes")
75      public java.util.List dynamicQuery(
76          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77          int end,
78          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79          throws com.liferay.portal.SystemException {
80          return _wikiNodeLocalService.dynamicQuery(dynamicQuery, start, end,
81              orderByComparator);
82      }
83  
84      public int dynamicQueryCount(
85          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86          throws com.liferay.portal.SystemException {
87          return _wikiNodeLocalService.dynamicQueryCount(dynamicQuery);
88      }
89  
90      public com.liferay.portlet.wiki.model.WikiNode getWikiNode(long nodeId)
91          throws com.liferay.portal.PortalException,
92              com.liferay.portal.SystemException {
93          return _wikiNodeLocalService.getWikiNode(nodeId);
94      }
95  
96      public com.liferay.portlet.wiki.model.WikiNode getWikiNodeByUuidAndGroupId(
97          java.lang.String uuid, long groupId)
98          throws com.liferay.portal.PortalException,
99              com.liferay.portal.SystemException {
100         return _wikiNodeLocalService.getWikiNodeByUuidAndGroupId(uuid, groupId);
101     }
102 
103     public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getWikiNodes(
104         int start, int end) throws com.liferay.portal.SystemException {
105         return _wikiNodeLocalService.getWikiNodes(start, end);
106     }
107 
108     public int getWikiNodesCount() throws com.liferay.portal.SystemException {
109         return _wikiNodeLocalService.getWikiNodesCount();
110     }
111 
112     public com.liferay.portlet.wiki.model.WikiNode updateWikiNode(
113         com.liferay.portlet.wiki.model.WikiNode wikiNode)
114         throws com.liferay.portal.SystemException {
115         return _wikiNodeLocalService.updateWikiNode(wikiNode);
116     }
117 
118     public com.liferay.portlet.wiki.model.WikiNode updateWikiNode(
119         com.liferay.portlet.wiki.model.WikiNode wikiNode, boolean merge)
120         throws com.liferay.portal.SystemException {
121         return _wikiNodeLocalService.updateWikiNode(wikiNode, merge);
122     }
123 
124     public com.liferay.portlet.wiki.model.WikiNode addNode(long userId,
125         java.lang.String name, java.lang.String description,
126         com.liferay.portal.service.ServiceContext serviceContext)
127         throws com.liferay.portal.PortalException,
128             com.liferay.portal.SystemException {
129         return _wikiNodeLocalService.addNode(userId, name, description,
130             serviceContext);
131     }
132 
133     public com.liferay.portlet.wiki.model.WikiNode addNode(
134         java.lang.String uuid, long userId, java.lang.String name,
135         java.lang.String description,
136         com.liferay.portal.service.ServiceContext serviceContext)
137         throws com.liferay.portal.PortalException,
138             com.liferay.portal.SystemException {
139         return _wikiNodeLocalService.addNode(uuid, userId, name, description,
140             serviceContext);
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<java.lang.String, java.lang.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 userId, long[] nodeIds, java.lang.String keywords,
240         int start, int end) throws com.liferay.portal.SystemException {
241         return _wikiNodeLocalService.search(companyId, groupId, userId,
242             nodeIds, 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     /**
258     * @deprecated
259     */
260     public com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
261         java.lang.String name, java.lang.String description)
262         throws com.liferay.portal.PortalException,
263             com.liferay.portal.SystemException {
264         return _wikiNodeLocalService.updateNode(nodeId, name, description);
265     }
266 
267     public com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
268         java.lang.String name, java.lang.String description,
269         com.liferay.portal.service.ServiceContext serviceContext)
270         throws com.liferay.portal.PortalException,
271             com.liferay.portal.SystemException {
272         return _wikiNodeLocalService.updateNode(nodeId, name, description,
273             serviceContext);
274     }
275 
276     public WikiNodeLocalService getWrappedWikiNodeLocalService() {
277         return _wikiNodeLocalService;
278     }
279 
280     private WikiNodeLocalService _wikiNodeLocalService;
281 }