1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.wiki.service;
24  
25  
26  /**
27   * <a href="WikiNodeLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link WikiNodeLocalService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       WikiNodeLocalService
40   * @generated
41   */
42  public class WikiNodeLocalServiceWrapper implements WikiNodeLocalService {
43      public WikiNodeLocalServiceWrapper(
44          WikiNodeLocalService wikiNodeLocalService) {
45          _wikiNodeLocalService = wikiNodeLocalService;
46      }
47  
48      public com.liferay.portlet.wiki.model.WikiNode addWikiNode(
49          com.liferay.portlet.wiki.model.WikiNode wikiNode)
50          throws com.liferay.portal.SystemException {
51          return _wikiNodeLocalService.addWikiNode(wikiNode);
52      }
53  
54      public com.liferay.portlet.wiki.model.WikiNode createWikiNode(long nodeId) {
55          return _wikiNodeLocalService.createWikiNode(nodeId);
56      }
57  
58      public void deleteWikiNode(long nodeId)
59          throws com.liferay.portal.PortalException,
60              com.liferay.portal.SystemException {
61          _wikiNodeLocalService.deleteWikiNode(nodeId);
62      }
63  
64      public void deleteWikiNode(com.liferay.portlet.wiki.model.WikiNode wikiNode)
65          throws com.liferay.portal.SystemException {
66          _wikiNodeLocalService.deleteWikiNode(wikiNode);
67      }
68  
69      public java.util.List<Object> dynamicQuery(
70          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
71          throws com.liferay.portal.SystemException {
72          return _wikiNodeLocalService.dynamicQuery(dynamicQuery);
73      }
74  
75      public java.util.List<Object> dynamicQuery(
76          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77          int end) throws com.liferay.portal.SystemException {
78          return _wikiNodeLocalService.dynamicQuery(dynamicQuery, start, end);
79      }
80  
81      public com.liferay.portlet.wiki.model.WikiNode getWikiNode(long nodeId)
82          throws com.liferay.portal.PortalException,
83              com.liferay.portal.SystemException {
84          return _wikiNodeLocalService.getWikiNode(nodeId);
85      }
86  
87      public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getWikiNodes(
88          int start, int end) throws com.liferay.portal.SystemException {
89          return _wikiNodeLocalService.getWikiNodes(start, end);
90      }
91  
92      public int getWikiNodesCount() throws com.liferay.portal.SystemException {
93          return _wikiNodeLocalService.getWikiNodesCount();
94      }
95  
96      public com.liferay.portlet.wiki.model.WikiNode updateWikiNode(
97          com.liferay.portlet.wiki.model.WikiNode wikiNode)
98          throws com.liferay.portal.SystemException {
99          return _wikiNodeLocalService.updateWikiNode(wikiNode);
100     }
101 
102     public com.liferay.portlet.wiki.model.WikiNode updateWikiNode(
103         com.liferay.portlet.wiki.model.WikiNode wikiNode, boolean merge)
104         throws com.liferay.portal.SystemException {
105         return _wikiNodeLocalService.updateWikiNode(wikiNode, merge);
106     }
107 
108     public com.liferay.portlet.wiki.model.WikiNode addNode(long userId,
109         java.lang.String name, java.lang.String description,
110         com.liferay.portal.service.ServiceContext serviceContext)
111         throws com.liferay.portal.PortalException,
112             com.liferay.portal.SystemException {
113         return _wikiNodeLocalService.addNode(userId, name, description,
114             serviceContext);
115     }
116 
117     public com.liferay.portlet.wiki.model.WikiNode addNode(
118         java.lang.String uuid, long userId, java.lang.String name,
119         java.lang.String description,
120         com.liferay.portal.service.ServiceContext serviceContext)
121         throws com.liferay.portal.PortalException,
122             com.liferay.portal.SystemException {
123         return _wikiNodeLocalService.addNode(uuid, userId, name, description,
124             serviceContext);
125     }
126 
127     public void addNodeResources(long nodeId, boolean addCommunityPermissions,
128         boolean addGuestPermissions)
129         throws com.liferay.portal.PortalException,
130             com.liferay.portal.SystemException {
131         _wikiNodeLocalService.addNodeResources(nodeId, addCommunityPermissions,
132             addGuestPermissions);
133     }
134 
135     public void addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
136         boolean addCommunityPermissions, boolean addGuestPermissions)
137         throws com.liferay.portal.PortalException,
138             com.liferay.portal.SystemException {
139         _wikiNodeLocalService.addNodeResources(node, addCommunityPermissions,
140             addGuestPermissions);
141     }
142 
143     public void addNodeResources(long nodeId,
144         java.lang.String[] communityPermissions,
145         java.lang.String[] guestPermissions)
146         throws com.liferay.portal.PortalException,
147             com.liferay.portal.SystemException {
148         _wikiNodeLocalService.addNodeResources(nodeId, communityPermissions,
149             guestPermissions);
150     }
151 
152     public void addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
153         java.lang.String[] communityPermissions,
154         java.lang.String[] guestPermissions)
155         throws com.liferay.portal.PortalException,
156             com.liferay.portal.SystemException {
157         _wikiNodeLocalService.addNodeResources(node, communityPermissions,
158             guestPermissions);
159     }
160 
161     public void deleteNode(long nodeId)
162         throws com.liferay.portal.PortalException,
163             com.liferay.portal.SystemException {
164         _wikiNodeLocalService.deleteNode(nodeId);
165     }
166 
167     public void deleteNode(com.liferay.portlet.wiki.model.WikiNode node)
168         throws com.liferay.portal.PortalException,
169             com.liferay.portal.SystemException {
170         _wikiNodeLocalService.deleteNode(node);
171     }
172 
173     public void deleteNodes(long groupId)
174         throws com.liferay.portal.PortalException,
175             com.liferay.portal.SystemException {
176         _wikiNodeLocalService.deleteNodes(groupId);
177     }
178 
179     public com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
180         throws com.liferay.portal.PortalException,
181             com.liferay.portal.SystemException {
182         return _wikiNodeLocalService.getNode(nodeId);
183     }
184 
185     public com.liferay.portlet.wiki.model.WikiNode getNode(long groupId,
186         java.lang.String nodeName)
187         throws com.liferay.portal.PortalException,
188             com.liferay.portal.SystemException {
189         return _wikiNodeLocalService.getNode(groupId, nodeName);
190     }
191 
192     public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
193         long groupId) throws com.liferay.portal.SystemException {
194         return _wikiNodeLocalService.getNodes(groupId);
195     }
196 
197     public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
198         long groupId, int start, int end)
199         throws com.liferay.portal.SystemException {
200         return _wikiNodeLocalService.getNodes(groupId, start, end);
201     }
202 
203     public int getNodesCount(long groupId)
204         throws com.liferay.portal.SystemException {
205         return _wikiNodeLocalService.getNodesCount(groupId);
206     }
207 
208     public void importPages(long userId, long nodeId,
209         java.lang.String importer, java.io.File[] files,
210         java.util.Map<String, String[]> options)
211         throws com.liferay.portal.PortalException,
212             com.liferay.portal.SystemException {
213         _wikiNodeLocalService.importPages(userId, nodeId, importer, files,
214             options);
215     }
216 
217     public void reIndex(java.lang.String[] ids)
218         throws com.liferay.portal.SystemException {
219         _wikiNodeLocalService.reIndex(ids);
220     }
221 
222     public com.liferay.portal.kernel.search.Hits search(long companyId,
223         long groupId, long userId, long[] nodeIds, java.lang.String keywords,
224         int start, int end) throws com.liferay.portal.SystemException {
225         return _wikiNodeLocalService.search(companyId, groupId, userId,
226             nodeIds, keywords, start, end);
227     }
228 
229     public void subscribeNode(long userId, long nodeId)
230         throws com.liferay.portal.PortalException,
231             com.liferay.portal.SystemException {
232         _wikiNodeLocalService.subscribeNode(userId, nodeId);
233     }
234 
235     public void unsubscribeNode(long userId, long nodeId)
236         throws com.liferay.portal.PortalException,
237             com.liferay.portal.SystemException {
238         _wikiNodeLocalService.unsubscribeNode(userId, nodeId);
239     }
240 
241     public com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
242         java.lang.String name, java.lang.String description)
243         throws com.liferay.portal.PortalException,
244             com.liferay.portal.SystemException {
245         return _wikiNodeLocalService.updateNode(nodeId, name, description);
246     }
247 
248     public WikiNodeLocalService getWrappedWikiNodeLocalService() {
249         return _wikiNodeLocalService;
250     }
251 
252     private WikiNodeLocalService _wikiNodeLocalService;
253 }