001
014
015 package com.liferay.portlet.wiki.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class WikiNodeLocalServiceWrapper implements WikiNodeLocalService,
029 ServiceWrapper<WikiNodeLocalService> {
030 public WikiNodeLocalServiceWrapper(
031 WikiNodeLocalService wikiNodeLocalService) {
032 _wikiNodeLocalService = wikiNodeLocalService;
033 }
034
035
042 public com.liferay.portlet.wiki.model.WikiNode addWikiNode(
043 com.liferay.portlet.wiki.model.WikiNode wikiNode)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 return _wikiNodeLocalService.addWikiNode(wikiNode);
046 }
047
048
054 public com.liferay.portlet.wiki.model.WikiNode createWikiNode(long nodeId) {
055 return _wikiNodeLocalService.createWikiNode(nodeId);
056 }
057
058
066 public com.liferay.portlet.wiki.model.WikiNode deleteWikiNode(long nodeId)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 return _wikiNodeLocalService.deleteWikiNode(nodeId);
070 }
071
072
079 public com.liferay.portlet.wiki.model.WikiNode deleteWikiNode(
080 com.liferay.portlet.wiki.model.WikiNode wikiNode)
081 throws com.liferay.portal.kernel.exception.SystemException {
082 return _wikiNodeLocalService.deleteWikiNode(wikiNode);
083 }
084
085 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
086 return _wikiNodeLocalService.dynamicQuery();
087 }
088
089
096 @SuppressWarnings("rawtypes")
097 public java.util.List dynamicQuery(
098 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
099 throws com.liferay.portal.kernel.exception.SystemException {
100 return _wikiNodeLocalService.dynamicQuery(dynamicQuery);
101 }
102
103
116 @SuppressWarnings("rawtypes")
117 public java.util.List dynamicQuery(
118 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
119 int end) throws com.liferay.portal.kernel.exception.SystemException {
120 return _wikiNodeLocalService.dynamicQuery(dynamicQuery, start, end);
121 }
122
123
137 @SuppressWarnings("rawtypes")
138 public java.util.List dynamicQuery(
139 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
140 int end,
141 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
142 throws com.liferay.portal.kernel.exception.SystemException {
143 return _wikiNodeLocalService.dynamicQuery(dynamicQuery, start, end,
144 orderByComparator);
145 }
146
147
154 public long dynamicQueryCount(
155 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
156 throws com.liferay.portal.kernel.exception.SystemException {
157 return _wikiNodeLocalService.dynamicQueryCount(dynamicQuery);
158 }
159
160 public com.liferay.portlet.wiki.model.WikiNode fetchWikiNode(long nodeId)
161 throws com.liferay.portal.kernel.exception.SystemException {
162 return _wikiNodeLocalService.fetchWikiNode(nodeId);
163 }
164
165
173 public com.liferay.portlet.wiki.model.WikiNode getWikiNode(long nodeId)
174 throws com.liferay.portal.kernel.exception.PortalException,
175 com.liferay.portal.kernel.exception.SystemException {
176 return _wikiNodeLocalService.getWikiNode(nodeId);
177 }
178
179 public com.liferay.portal.model.PersistedModel getPersistedModel(
180 java.io.Serializable primaryKeyObj)
181 throws com.liferay.portal.kernel.exception.PortalException,
182 com.liferay.portal.kernel.exception.SystemException {
183 return _wikiNodeLocalService.getPersistedModel(primaryKeyObj);
184 }
185
186
195 public com.liferay.portlet.wiki.model.WikiNode getWikiNodeByUuidAndGroupId(
196 java.lang.String uuid, long groupId)
197 throws com.liferay.portal.kernel.exception.PortalException,
198 com.liferay.portal.kernel.exception.SystemException {
199 return _wikiNodeLocalService.getWikiNodeByUuidAndGroupId(uuid, groupId);
200 }
201
202
214 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getWikiNodes(
215 int start, int end)
216 throws com.liferay.portal.kernel.exception.SystemException {
217 return _wikiNodeLocalService.getWikiNodes(start, end);
218 }
219
220
226 public int getWikiNodesCount()
227 throws com.liferay.portal.kernel.exception.SystemException {
228 return _wikiNodeLocalService.getWikiNodesCount();
229 }
230
231
238 public com.liferay.portlet.wiki.model.WikiNode updateWikiNode(
239 com.liferay.portlet.wiki.model.WikiNode wikiNode)
240 throws com.liferay.portal.kernel.exception.SystemException {
241 return _wikiNodeLocalService.updateWikiNode(wikiNode);
242 }
243
244
249 public java.lang.String getBeanIdentifier() {
250 return _wikiNodeLocalService.getBeanIdentifier();
251 }
252
253
258 public void setBeanIdentifier(java.lang.String beanIdentifier) {
259 _wikiNodeLocalService.setBeanIdentifier(beanIdentifier);
260 }
261
262 public com.liferay.portlet.wiki.model.WikiNode addDefaultNode(long userId,
263 com.liferay.portal.service.ServiceContext serviceContext)
264 throws com.liferay.portal.kernel.exception.PortalException,
265 com.liferay.portal.kernel.exception.SystemException {
266 return _wikiNodeLocalService.addDefaultNode(userId, serviceContext);
267 }
268
269 public com.liferay.portlet.wiki.model.WikiNode addNode(long userId,
270 java.lang.String name, java.lang.String description,
271 com.liferay.portal.service.ServiceContext serviceContext)
272 throws com.liferay.portal.kernel.exception.PortalException,
273 com.liferay.portal.kernel.exception.SystemException {
274 return _wikiNodeLocalService.addNode(userId, name, description,
275 serviceContext);
276 }
277
278 public void addNodeResources(long nodeId, boolean addGroupPermissions,
279 boolean addGuestPermissions)
280 throws com.liferay.portal.kernel.exception.PortalException,
281 com.liferay.portal.kernel.exception.SystemException {
282 _wikiNodeLocalService.addNodeResources(nodeId, addGroupPermissions,
283 addGuestPermissions);
284 }
285
286 public void addNodeResources(long nodeId,
287 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
288 throws com.liferay.portal.kernel.exception.PortalException,
289 com.liferay.portal.kernel.exception.SystemException {
290 _wikiNodeLocalService.addNodeResources(nodeId, groupPermissions,
291 guestPermissions);
292 }
293
294 public void addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
295 boolean addGroupPermissions, boolean addGuestPermissions)
296 throws com.liferay.portal.kernel.exception.PortalException,
297 com.liferay.portal.kernel.exception.SystemException {
298 _wikiNodeLocalService.addNodeResources(node, addGroupPermissions,
299 addGuestPermissions);
300 }
301
302 public void addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
303 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
304 throws com.liferay.portal.kernel.exception.PortalException,
305 com.liferay.portal.kernel.exception.SystemException {
306 _wikiNodeLocalService.addNodeResources(node, groupPermissions,
307 guestPermissions);
308 }
309
310 public void deleteNode(long nodeId)
311 throws com.liferay.portal.kernel.exception.PortalException,
312 com.liferay.portal.kernel.exception.SystemException {
313 _wikiNodeLocalService.deleteNode(nodeId);
314 }
315
316 public void deleteNode(com.liferay.portlet.wiki.model.WikiNode node)
317 throws com.liferay.portal.kernel.exception.PortalException,
318 com.liferay.portal.kernel.exception.SystemException {
319 _wikiNodeLocalService.deleteNode(node);
320 }
321
322 public void deleteNodes(long groupId)
323 throws com.liferay.portal.kernel.exception.PortalException,
324 com.liferay.portal.kernel.exception.SystemException {
325 _wikiNodeLocalService.deleteNodes(groupId);
326 }
327
328 public com.liferay.portlet.wiki.model.WikiNode fetchWikiNode(long groupId,
329 java.lang.String name)
330 throws com.liferay.portal.kernel.exception.SystemException {
331 return _wikiNodeLocalService.fetchWikiNode(groupId, name);
332 }
333
334 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getCompanyNodes(
335 long companyId, int start, int end)
336 throws com.liferay.portal.kernel.exception.SystemException {
337 return _wikiNodeLocalService.getCompanyNodes(companyId, start, end);
338 }
339
340 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getCompanyNodes(
341 long companyId, int status, int start, int end)
342 throws com.liferay.portal.kernel.exception.SystemException {
343 return _wikiNodeLocalService.getCompanyNodes(companyId, status, start,
344 end);
345 }
346
347 public int getCompanyNodesCount(long companyId)
348 throws com.liferay.portal.kernel.exception.SystemException {
349 return _wikiNodeLocalService.getCompanyNodesCount(companyId);
350 }
351
352 public int getCompanyNodesCount(long companyId, int status)
353 throws com.liferay.portal.kernel.exception.SystemException {
354 return _wikiNodeLocalService.getCompanyNodesCount(companyId, status);
355 }
356
357 public com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
358 throws com.liferay.portal.kernel.exception.PortalException,
359 com.liferay.portal.kernel.exception.SystemException {
360 return _wikiNodeLocalService.getNode(nodeId);
361 }
362
363 public com.liferay.portlet.wiki.model.WikiNode getNode(long groupId,
364 java.lang.String nodeName)
365 throws com.liferay.portal.kernel.exception.PortalException,
366 com.liferay.portal.kernel.exception.SystemException {
367 return _wikiNodeLocalService.getNode(groupId, nodeName);
368 }
369
370 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
371 long groupId)
372 throws com.liferay.portal.kernel.exception.PortalException,
373 com.liferay.portal.kernel.exception.SystemException {
374 return _wikiNodeLocalService.getNodes(groupId);
375 }
376
377 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
378 long groupId, int status)
379 throws com.liferay.portal.kernel.exception.PortalException,
380 com.liferay.portal.kernel.exception.SystemException {
381 return _wikiNodeLocalService.getNodes(groupId, status);
382 }
383
384 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
385 long groupId, int start, int end)
386 throws com.liferay.portal.kernel.exception.PortalException,
387 com.liferay.portal.kernel.exception.SystemException {
388 return _wikiNodeLocalService.getNodes(groupId, start, end);
389 }
390
391 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
392 long groupId, int status, int start, int end)
393 throws com.liferay.portal.kernel.exception.PortalException,
394 com.liferay.portal.kernel.exception.SystemException {
395 return _wikiNodeLocalService.getNodes(groupId, status, start, end);
396 }
397
398 public int getNodesCount(long groupId)
399 throws com.liferay.portal.kernel.exception.SystemException {
400 return _wikiNodeLocalService.getNodesCount(groupId);
401 }
402
403 public int getNodesCount(long groupId, int status)
404 throws com.liferay.portal.kernel.exception.SystemException {
405 return _wikiNodeLocalService.getNodesCount(groupId, status);
406 }
407
408 public void importPages(long userId, long nodeId,
409 java.lang.String importer, java.io.InputStream[] inputStreams,
410 java.util.Map<java.lang.String, java.lang.String[]> options)
411 throws com.liferay.portal.kernel.exception.PortalException,
412 com.liferay.portal.kernel.exception.SystemException {
413 _wikiNodeLocalService.importPages(userId, nodeId, importer,
414 inputStreams, options);
415 }
416
417 public com.liferay.portlet.wiki.model.WikiNode moveNodeToTrash(
418 long userId, long nodeId)
419 throws com.liferay.portal.kernel.exception.PortalException,
420 com.liferay.portal.kernel.exception.SystemException {
421 return _wikiNodeLocalService.moveNodeToTrash(userId, nodeId);
422 }
423
424 public com.liferay.portlet.wiki.model.WikiNode moveNodeToTrash(
425 long userId, com.liferay.portlet.wiki.model.WikiNode node)
426 throws com.liferay.portal.kernel.exception.PortalException,
427 com.liferay.portal.kernel.exception.SystemException {
428 return _wikiNodeLocalService.moveNodeToTrash(userId, node);
429 }
430
431 public void restoreNodeFromTrash(long userId,
432 com.liferay.portlet.wiki.model.WikiNode node)
433 throws com.liferay.portal.kernel.exception.PortalException,
434 com.liferay.portal.kernel.exception.SystemException {
435 _wikiNodeLocalService.restoreNodeFromTrash(userId, node);
436 }
437
438 public void subscribeNode(long userId, long nodeId)
439 throws com.liferay.portal.kernel.exception.PortalException,
440 com.liferay.portal.kernel.exception.SystemException {
441 _wikiNodeLocalService.subscribeNode(userId, nodeId);
442 }
443
444 public void unsubscribeNode(long userId, long nodeId)
445 throws com.liferay.portal.kernel.exception.PortalException,
446 com.liferay.portal.kernel.exception.SystemException {
447 _wikiNodeLocalService.unsubscribeNode(userId, nodeId);
448 }
449
450 public com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
451 java.lang.String name, java.lang.String description,
452 com.liferay.portal.service.ServiceContext serviceContext)
453 throws com.liferay.portal.kernel.exception.PortalException,
454 com.liferay.portal.kernel.exception.SystemException {
455 return _wikiNodeLocalService.updateNode(nodeId, name, description,
456 serviceContext);
457 }
458
459 public com.liferay.portlet.wiki.model.WikiNode updateStatus(long userId,
460 com.liferay.portlet.wiki.model.WikiNode node, int status,
461 com.liferay.portal.service.ServiceContext serviceContext)
462 throws com.liferay.portal.kernel.exception.PortalException,
463 com.liferay.portal.kernel.exception.SystemException {
464 return _wikiNodeLocalService.updateStatus(userId, node, status,
465 serviceContext);
466 }
467
468
471 public WikiNodeLocalService getWrappedWikiNodeLocalService() {
472 return _wikiNodeLocalService;
473 }
474
475
478 public void setWrappedWikiNodeLocalService(
479 WikiNodeLocalService wikiNodeLocalService) {
480 _wikiNodeLocalService = wikiNodeLocalService;
481 }
482
483 public WikiNodeLocalService getWrappedService() {
484 return _wikiNodeLocalService;
485 }
486
487 public void setWrappedService(WikiNodeLocalService wikiNodeLocalService) {
488 _wikiNodeLocalService = wikiNodeLocalService;
489 }
490
491 private WikiNodeLocalService _wikiNodeLocalService;
492 }