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