001
014
015 package com.liferay.portlet.wiki.service;
016
017
026 public class WikiNodeLocalServiceWrapper implements WikiNodeLocalService {
027 public WikiNodeLocalServiceWrapper(
028 WikiNodeLocalService wikiNodeLocalService) {
029 _wikiNodeLocalService = wikiNodeLocalService;
030 }
031
032
039 public com.liferay.portlet.wiki.model.WikiNode addWikiNode(
040 com.liferay.portlet.wiki.model.WikiNode wikiNode)
041 throws com.liferay.portal.kernel.exception.SystemException {
042 return _wikiNodeLocalService.addWikiNode(wikiNode);
043 }
044
045
051 public com.liferay.portlet.wiki.model.WikiNode createWikiNode(long nodeId) {
052 return _wikiNodeLocalService.createWikiNode(nodeId);
053 }
054
055
062 public void deleteWikiNode(long nodeId)
063 throws com.liferay.portal.kernel.exception.PortalException,
064 com.liferay.portal.kernel.exception.SystemException {
065 _wikiNodeLocalService.deleteWikiNode(nodeId);
066 }
067
068
074 public void deleteWikiNode(com.liferay.portlet.wiki.model.WikiNode wikiNode)
075 throws com.liferay.portal.kernel.exception.SystemException {
076 _wikiNodeLocalService.deleteWikiNode(wikiNode);
077 }
078
079
086 @SuppressWarnings("rawtypes")
087 public java.util.List dynamicQuery(
088 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
089 throws com.liferay.portal.kernel.exception.SystemException {
090 return _wikiNodeLocalService.dynamicQuery(dynamicQuery);
091 }
092
093
106 @SuppressWarnings("rawtypes")
107 public java.util.List dynamicQuery(
108 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
109 int end) throws com.liferay.portal.kernel.exception.SystemException {
110 return _wikiNodeLocalService.dynamicQuery(dynamicQuery, start, end);
111 }
112
113
127 @SuppressWarnings("rawtypes")
128 public java.util.List dynamicQuery(
129 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
130 int end,
131 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
132 throws com.liferay.portal.kernel.exception.SystemException {
133 return _wikiNodeLocalService.dynamicQuery(dynamicQuery, start, end,
134 orderByComparator);
135 }
136
137
144 public long dynamicQueryCount(
145 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
146 throws com.liferay.portal.kernel.exception.SystemException {
147 return _wikiNodeLocalService.dynamicQueryCount(dynamicQuery);
148 }
149
150
158 public com.liferay.portlet.wiki.model.WikiNode getWikiNode(long nodeId)
159 throws com.liferay.portal.kernel.exception.PortalException,
160 com.liferay.portal.kernel.exception.SystemException {
161 return _wikiNodeLocalService.getWikiNode(nodeId);
162 }
163
164
173 public com.liferay.portlet.wiki.model.WikiNode getWikiNodeByUuidAndGroupId(
174 java.lang.String uuid, long groupId)
175 throws com.liferay.portal.kernel.exception.PortalException,
176 com.liferay.portal.kernel.exception.SystemException {
177 return _wikiNodeLocalService.getWikiNodeByUuidAndGroupId(uuid, groupId);
178 }
179
180
192 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getWikiNodes(
193 int start, int end)
194 throws com.liferay.portal.kernel.exception.SystemException {
195 return _wikiNodeLocalService.getWikiNodes(start, end);
196 }
197
198
204 public int getWikiNodesCount()
205 throws com.liferay.portal.kernel.exception.SystemException {
206 return _wikiNodeLocalService.getWikiNodesCount();
207 }
208
209
216 public com.liferay.portlet.wiki.model.WikiNode updateWikiNode(
217 com.liferay.portlet.wiki.model.WikiNode wikiNode)
218 throws com.liferay.portal.kernel.exception.SystemException {
219 return _wikiNodeLocalService.updateWikiNode(wikiNode);
220 }
221
222
230 public com.liferay.portlet.wiki.model.WikiNode updateWikiNode(
231 com.liferay.portlet.wiki.model.WikiNode wikiNode, boolean merge)
232 throws com.liferay.portal.kernel.exception.SystemException {
233 return _wikiNodeLocalService.updateWikiNode(wikiNode, merge);
234 }
235
236 public com.liferay.portlet.wiki.model.WikiNode addDefaultNode(long userId,
237 com.liferay.portal.service.ServiceContext serviceContext)
238 throws com.liferay.portal.kernel.exception.PortalException,
239 com.liferay.portal.kernel.exception.SystemException {
240 return _wikiNodeLocalService.addDefaultNode(userId, serviceContext);
241 }
242
243 public com.liferay.portlet.wiki.model.WikiNode addNode(long userId,
244 java.lang.String name, java.lang.String description,
245 com.liferay.portal.service.ServiceContext serviceContext)
246 throws com.liferay.portal.kernel.exception.PortalException,
247 com.liferay.portal.kernel.exception.SystemException {
248 return _wikiNodeLocalService.addNode(userId, name, description,
249 serviceContext);
250 }
251
252 public void addNodeResources(long nodeId, boolean addCommunityPermissions,
253 boolean addGuestPermissions)
254 throws com.liferay.portal.kernel.exception.PortalException,
255 com.liferay.portal.kernel.exception.SystemException {
256 _wikiNodeLocalService.addNodeResources(nodeId, addCommunityPermissions,
257 addGuestPermissions);
258 }
259
260 public void addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
261 boolean addCommunityPermissions, boolean addGuestPermissions)
262 throws com.liferay.portal.kernel.exception.PortalException,
263 com.liferay.portal.kernel.exception.SystemException {
264 _wikiNodeLocalService.addNodeResources(node, addCommunityPermissions,
265 addGuestPermissions);
266 }
267
268 public void addNodeResources(long nodeId,
269 java.lang.String[] communityPermissions,
270 java.lang.String[] guestPermissions)
271 throws com.liferay.portal.kernel.exception.PortalException,
272 com.liferay.portal.kernel.exception.SystemException {
273 _wikiNodeLocalService.addNodeResources(nodeId, communityPermissions,
274 guestPermissions);
275 }
276
277 public void addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
278 java.lang.String[] communityPermissions,
279 java.lang.String[] guestPermissions)
280 throws com.liferay.portal.kernel.exception.PortalException,
281 com.liferay.portal.kernel.exception.SystemException {
282 _wikiNodeLocalService.addNodeResources(node, communityPermissions,
283 guestPermissions);
284 }
285
286 public void deleteNode(long nodeId)
287 throws com.liferay.portal.kernel.exception.PortalException,
288 com.liferay.portal.kernel.exception.SystemException {
289 _wikiNodeLocalService.deleteNode(nodeId);
290 }
291
292 public void deleteNode(com.liferay.portlet.wiki.model.WikiNode node)
293 throws com.liferay.portal.kernel.exception.PortalException,
294 com.liferay.portal.kernel.exception.SystemException {
295 _wikiNodeLocalService.deleteNode(node);
296 }
297
298 public void deleteNodes(long groupId)
299 throws com.liferay.portal.kernel.exception.PortalException,
300 com.liferay.portal.kernel.exception.SystemException {
301 _wikiNodeLocalService.deleteNodes(groupId);
302 }
303
304 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getCompanyNodes(
305 long companyId, int start, int end)
306 throws com.liferay.portal.kernel.exception.SystemException {
307 return _wikiNodeLocalService.getCompanyNodes(companyId, start, end);
308 }
309
310 public int getCompanyNodesCount(long companyId)
311 throws com.liferay.portal.kernel.exception.SystemException {
312 return _wikiNodeLocalService.getCompanyNodesCount(companyId);
313 }
314
315 public com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
316 throws com.liferay.portal.kernel.exception.PortalException,
317 com.liferay.portal.kernel.exception.SystemException {
318 return _wikiNodeLocalService.getNode(nodeId);
319 }
320
321 public com.liferay.portlet.wiki.model.WikiNode getNode(long groupId,
322 java.lang.String nodeName)
323 throws com.liferay.portal.kernel.exception.PortalException,
324 com.liferay.portal.kernel.exception.SystemException {
325 return _wikiNodeLocalService.getNode(groupId, nodeName);
326 }
327
328 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
329 long groupId)
330 throws com.liferay.portal.kernel.exception.PortalException,
331 com.liferay.portal.kernel.exception.SystemException {
332 return _wikiNodeLocalService.getNodes(groupId);
333 }
334
335 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
336 long groupId, int start, int end)
337 throws com.liferay.portal.kernel.exception.PortalException,
338 com.liferay.portal.kernel.exception.SystemException {
339 return _wikiNodeLocalService.getNodes(groupId, start, end);
340 }
341
342 public int getNodesCount(long groupId)
343 throws com.liferay.portal.kernel.exception.SystemException {
344 return _wikiNodeLocalService.getNodesCount(groupId);
345 }
346
347 public void importPages(long userId, long nodeId,
348 java.lang.String importer, java.io.File[] files,
349 java.util.Map<java.lang.String, java.lang.String[]> options)
350 throws com.liferay.portal.kernel.exception.PortalException,
351 com.liferay.portal.kernel.exception.SystemException {
352 _wikiNodeLocalService.importPages(userId, nodeId, importer, files,
353 options);
354 }
355
356 public void subscribeNode(long userId, long nodeId)
357 throws com.liferay.portal.kernel.exception.PortalException,
358 com.liferay.portal.kernel.exception.SystemException {
359 _wikiNodeLocalService.subscribeNode(userId, nodeId);
360 }
361
362 public void unsubscribeNode(long userId, long nodeId)
363 throws com.liferay.portal.kernel.exception.PortalException,
364 com.liferay.portal.kernel.exception.SystemException {
365 _wikiNodeLocalService.unsubscribeNode(userId, nodeId);
366 }
367
368 public com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
369 java.lang.String name, java.lang.String description,
370 com.liferay.portal.service.ServiceContext serviceContext)
371 throws com.liferay.portal.kernel.exception.PortalException,
372 com.liferay.portal.kernel.exception.SystemException {
373 return _wikiNodeLocalService.updateNode(nodeId, name, description,
374 serviceContext);
375 }
376
377 public WikiNodeLocalService getWrappedWikiNodeLocalService() {
378 return _wikiNodeLocalService;
379 }
380
381 private WikiNodeLocalService _wikiNodeLocalService;
382 }