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