001
014
015 package com.liferay.portlet.wiki.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.service.ServiceWrapper;
020
021
028 @ProviderType
029 public class WikiNodeLocalServiceWrapper implements WikiNodeLocalService,
030 ServiceWrapper<WikiNodeLocalService> {
031 public WikiNodeLocalServiceWrapper(
032 WikiNodeLocalService wikiNodeLocalService) {
033 _wikiNodeLocalService = wikiNodeLocalService;
034 }
035
036
043 @Override
044 public com.liferay.portlet.wiki.model.WikiNode addWikiNode(
045 com.liferay.portlet.wiki.model.WikiNode wikiNode)
046 throws com.liferay.portal.kernel.exception.SystemException {
047 return _wikiNodeLocalService.addWikiNode(wikiNode);
048 }
049
050
056 @Override
057 public com.liferay.portlet.wiki.model.WikiNode createWikiNode(long nodeId) {
058 return _wikiNodeLocalService.createWikiNode(nodeId);
059 }
060
061
069 @Override
070 public com.liferay.portlet.wiki.model.WikiNode deleteWikiNode(long nodeId)
071 throws com.liferay.portal.kernel.exception.PortalException,
072 com.liferay.portal.kernel.exception.SystemException {
073 return _wikiNodeLocalService.deleteWikiNode(nodeId);
074 }
075
076
083 @Override
084 public com.liferay.portlet.wiki.model.WikiNode deleteWikiNode(
085 com.liferay.portlet.wiki.model.WikiNode wikiNode)
086 throws com.liferay.portal.kernel.exception.SystemException {
087 return _wikiNodeLocalService.deleteWikiNode(wikiNode);
088 }
089
090 @Override
091 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
092 return _wikiNodeLocalService.dynamicQuery();
093 }
094
095
102 @Override
103 @SuppressWarnings("rawtypes")
104 public java.util.List dynamicQuery(
105 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
106 throws com.liferay.portal.kernel.exception.SystemException {
107 return _wikiNodeLocalService.dynamicQuery(dynamicQuery);
108 }
109
110
123 @Override
124 @SuppressWarnings("rawtypes")
125 public java.util.List dynamicQuery(
126 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
127 int end) throws com.liferay.portal.kernel.exception.SystemException {
128 return _wikiNodeLocalService.dynamicQuery(dynamicQuery, start, end);
129 }
130
131
145 @Override
146 @SuppressWarnings("rawtypes")
147 public java.util.List dynamicQuery(
148 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
149 int end,
150 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
151 throws com.liferay.portal.kernel.exception.SystemException {
152 return _wikiNodeLocalService.dynamicQuery(dynamicQuery, start, end,
153 orderByComparator);
154 }
155
156
163 @Override
164 public long dynamicQueryCount(
165 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
166 throws com.liferay.portal.kernel.exception.SystemException {
167 return _wikiNodeLocalService.dynamicQueryCount(dynamicQuery);
168 }
169
170
178 @Override
179 public long dynamicQueryCount(
180 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
181 com.liferay.portal.kernel.dao.orm.Projection projection)
182 throws com.liferay.portal.kernel.exception.SystemException {
183 return _wikiNodeLocalService.dynamicQueryCount(dynamicQuery, projection);
184 }
185
186 @Override
187 public com.liferay.portlet.wiki.model.WikiNode fetchWikiNode(long nodeId)
188 throws com.liferay.portal.kernel.exception.SystemException {
189 return _wikiNodeLocalService.fetchWikiNode(nodeId);
190 }
191
192
200 @Override
201 public com.liferay.portlet.wiki.model.WikiNode fetchWikiNodeByUuidAndCompanyId(
202 java.lang.String uuid, long companyId)
203 throws com.liferay.portal.kernel.exception.SystemException {
204 return _wikiNodeLocalService.fetchWikiNodeByUuidAndCompanyId(uuid,
205 companyId);
206 }
207
208
216 @Override
217 public com.liferay.portlet.wiki.model.WikiNode fetchWikiNodeByUuidAndGroupId(
218 java.lang.String uuid, long groupId)
219 throws com.liferay.portal.kernel.exception.SystemException {
220 return _wikiNodeLocalService.fetchWikiNodeByUuidAndGroupId(uuid, groupId);
221 }
222
223
231 @Override
232 public com.liferay.portlet.wiki.model.WikiNode getWikiNode(long nodeId)
233 throws com.liferay.portal.kernel.exception.PortalException,
234 com.liferay.portal.kernel.exception.SystemException {
235 return _wikiNodeLocalService.getWikiNode(nodeId);
236 }
237
238 @Override
239 public com.liferay.portal.model.PersistedModel getPersistedModel(
240 java.io.Serializable primaryKeyObj)
241 throws com.liferay.portal.kernel.exception.PortalException,
242 com.liferay.portal.kernel.exception.SystemException {
243 return _wikiNodeLocalService.getPersistedModel(primaryKeyObj);
244 }
245
246
255 @Override
256 public com.liferay.portlet.wiki.model.WikiNode getWikiNodeByUuidAndCompanyId(
257 java.lang.String uuid, long companyId)
258 throws com.liferay.portal.kernel.exception.PortalException,
259 com.liferay.portal.kernel.exception.SystemException {
260 return _wikiNodeLocalService.getWikiNodeByUuidAndCompanyId(uuid,
261 companyId);
262 }
263
264
273 @Override
274 public com.liferay.portlet.wiki.model.WikiNode getWikiNodeByUuidAndGroupId(
275 java.lang.String uuid, long groupId)
276 throws com.liferay.portal.kernel.exception.PortalException,
277 com.liferay.portal.kernel.exception.SystemException {
278 return _wikiNodeLocalService.getWikiNodeByUuidAndGroupId(uuid, groupId);
279 }
280
281
293 @Override
294 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getWikiNodes(
295 int start, int end)
296 throws com.liferay.portal.kernel.exception.SystemException {
297 return _wikiNodeLocalService.getWikiNodes(start, end);
298 }
299
300
306 @Override
307 public int getWikiNodesCount()
308 throws com.liferay.portal.kernel.exception.SystemException {
309 return _wikiNodeLocalService.getWikiNodesCount();
310 }
311
312
319 @Override
320 public com.liferay.portlet.wiki.model.WikiNode updateWikiNode(
321 com.liferay.portlet.wiki.model.WikiNode wikiNode)
322 throws com.liferay.portal.kernel.exception.SystemException {
323 return _wikiNodeLocalService.updateWikiNode(wikiNode);
324 }
325
326
331 @Override
332 public java.lang.String getBeanIdentifier() {
333 return _wikiNodeLocalService.getBeanIdentifier();
334 }
335
336
341 @Override
342 public void setBeanIdentifier(java.lang.String beanIdentifier) {
343 _wikiNodeLocalService.setBeanIdentifier(beanIdentifier);
344 }
345
346 @Override
347 public com.liferay.portlet.wiki.model.WikiNode addDefaultNode(long userId,
348 com.liferay.portal.service.ServiceContext serviceContext)
349 throws com.liferay.portal.kernel.exception.PortalException,
350 com.liferay.portal.kernel.exception.SystemException {
351 return _wikiNodeLocalService.addDefaultNode(userId, serviceContext);
352 }
353
354 @Override
355 public com.liferay.portlet.wiki.model.WikiNode addNode(long userId,
356 java.lang.String name, java.lang.String description,
357 com.liferay.portal.service.ServiceContext serviceContext)
358 throws com.liferay.portal.kernel.exception.PortalException,
359 com.liferay.portal.kernel.exception.SystemException {
360 return _wikiNodeLocalService.addNode(userId, name, description,
361 serviceContext);
362 }
363
364 @Override
365 public void addNodeResources(long nodeId, boolean addGroupPermissions,
366 boolean addGuestPermissions)
367 throws com.liferay.portal.kernel.exception.PortalException,
368 com.liferay.portal.kernel.exception.SystemException {
369 _wikiNodeLocalService.addNodeResources(nodeId, addGroupPermissions,
370 addGuestPermissions);
371 }
372
373 @Override
374 public void addNodeResources(long nodeId,
375 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
376 throws com.liferay.portal.kernel.exception.PortalException,
377 com.liferay.portal.kernel.exception.SystemException {
378 _wikiNodeLocalService.addNodeResources(nodeId, groupPermissions,
379 guestPermissions);
380 }
381
382 @Override
383 public void addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
384 boolean addGroupPermissions, boolean addGuestPermissions)
385 throws com.liferay.portal.kernel.exception.PortalException,
386 com.liferay.portal.kernel.exception.SystemException {
387 _wikiNodeLocalService.addNodeResources(node, addGroupPermissions,
388 addGuestPermissions);
389 }
390
391 @Override
392 public void addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
393 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
394 throws com.liferay.portal.kernel.exception.PortalException,
395 com.liferay.portal.kernel.exception.SystemException {
396 _wikiNodeLocalService.addNodeResources(node, groupPermissions,
397 guestPermissions);
398 }
399
400 @Override
401 public void deleteNode(long nodeId)
402 throws com.liferay.portal.kernel.exception.PortalException,
403 com.liferay.portal.kernel.exception.SystemException {
404 _wikiNodeLocalService.deleteNode(nodeId);
405 }
406
407 @Override
408 public void deleteNode(com.liferay.portlet.wiki.model.WikiNode node)
409 throws com.liferay.portal.kernel.exception.PortalException,
410 com.liferay.portal.kernel.exception.SystemException {
411 _wikiNodeLocalService.deleteNode(node);
412 }
413
414 @Override
415 public void deleteNodes(long groupId)
416 throws com.liferay.portal.kernel.exception.PortalException,
417 com.liferay.portal.kernel.exception.SystemException {
418 _wikiNodeLocalService.deleteNodes(groupId);
419 }
420
421 @Override
422 public com.liferay.portlet.wiki.model.WikiNode fetchNode(long groupId,
423 java.lang.String name)
424 throws com.liferay.portal.kernel.exception.SystemException {
425 return _wikiNodeLocalService.fetchNode(groupId, name);
426 }
427
428 @Override
429 public com.liferay.portlet.wiki.model.WikiNode fetchNodeByUuidAndGroupId(
430 java.lang.String uuid, long groupId)
431 throws com.liferay.portal.kernel.exception.SystemException {
432 return _wikiNodeLocalService.fetchNodeByUuidAndGroupId(uuid, groupId);
433 }
434
435 @Override
436 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getCompanyNodes(
437 long companyId, int start, int end)
438 throws com.liferay.portal.kernel.exception.SystemException {
439 return _wikiNodeLocalService.getCompanyNodes(companyId, start, end);
440 }
441
442 @Override
443 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getCompanyNodes(
444 long companyId, int status, int start, int end)
445 throws com.liferay.portal.kernel.exception.SystemException {
446 return _wikiNodeLocalService.getCompanyNodes(companyId, status, start,
447 end);
448 }
449
450 @Override
451 public int getCompanyNodesCount(long companyId)
452 throws com.liferay.portal.kernel.exception.SystemException {
453 return _wikiNodeLocalService.getCompanyNodesCount(companyId);
454 }
455
456 @Override
457 public int getCompanyNodesCount(long companyId, int status)
458 throws com.liferay.portal.kernel.exception.SystemException {
459 return _wikiNodeLocalService.getCompanyNodesCount(companyId, status);
460 }
461
462 @Override
463 public com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
464 throws com.liferay.portal.kernel.exception.PortalException,
465 com.liferay.portal.kernel.exception.SystemException {
466 return _wikiNodeLocalService.getNode(nodeId);
467 }
468
469 @Override
470 public com.liferay.portlet.wiki.model.WikiNode getNode(long groupId,
471 java.lang.String nodeName)
472 throws com.liferay.portal.kernel.exception.PortalException,
473 com.liferay.portal.kernel.exception.SystemException {
474 return _wikiNodeLocalService.getNode(groupId, nodeName);
475 }
476
477 @Override
478 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
479 long groupId)
480 throws com.liferay.portal.kernel.exception.PortalException,
481 com.liferay.portal.kernel.exception.SystemException {
482 return _wikiNodeLocalService.getNodes(groupId);
483 }
484
485 @Override
486 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
487 long groupId, int status)
488 throws com.liferay.portal.kernel.exception.PortalException,
489 com.liferay.portal.kernel.exception.SystemException {
490 return _wikiNodeLocalService.getNodes(groupId, status);
491 }
492
493 @Override
494 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
495 long groupId, int start, int end)
496 throws com.liferay.portal.kernel.exception.PortalException,
497 com.liferay.portal.kernel.exception.SystemException {
498 return _wikiNodeLocalService.getNodes(groupId, start, end);
499 }
500
501 @Override
502 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
503 long groupId, int status, int start, int end)
504 throws com.liferay.portal.kernel.exception.PortalException,
505 com.liferay.portal.kernel.exception.SystemException {
506 return _wikiNodeLocalService.getNodes(groupId, status, start, end);
507 }
508
509 @Override
510 public int getNodesCount(long groupId)
511 throws com.liferay.portal.kernel.exception.SystemException {
512 return _wikiNodeLocalService.getNodesCount(groupId);
513 }
514
515 @Override
516 public int getNodesCount(long groupId, int status)
517 throws com.liferay.portal.kernel.exception.SystemException {
518 return _wikiNodeLocalService.getNodesCount(groupId, status);
519 }
520
521 @Override
522 public void importPages(long userId, long nodeId,
523 java.lang.String importer, java.io.InputStream[] inputStreams,
524 java.util.Map<java.lang.String, java.lang.String[]> options)
525 throws com.liferay.portal.kernel.exception.PortalException,
526 com.liferay.portal.kernel.exception.SystemException {
527 _wikiNodeLocalService.importPages(userId, nodeId, importer,
528 inputStreams, options);
529 }
530
531 @Override
532 public com.liferay.portlet.wiki.model.WikiNode moveNodeToTrash(
533 long userId, long nodeId)
534 throws com.liferay.portal.kernel.exception.PortalException,
535 com.liferay.portal.kernel.exception.SystemException {
536 return _wikiNodeLocalService.moveNodeToTrash(userId, nodeId);
537 }
538
539 @Override
540 public com.liferay.portlet.wiki.model.WikiNode moveNodeToTrash(
541 long userId, com.liferay.portlet.wiki.model.WikiNode node)
542 throws com.liferay.portal.kernel.exception.PortalException,
543 com.liferay.portal.kernel.exception.SystemException {
544 return _wikiNodeLocalService.moveNodeToTrash(userId, node);
545 }
546
547 @Override
548 public void restoreNodeFromTrash(long userId,
549 com.liferay.portlet.wiki.model.WikiNode node)
550 throws com.liferay.portal.kernel.exception.PortalException,
551 com.liferay.portal.kernel.exception.SystemException {
552 _wikiNodeLocalService.restoreNodeFromTrash(userId, node);
553 }
554
555 @Override
556 public void subscribeNode(long userId, long nodeId)
557 throws com.liferay.portal.kernel.exception.PortalException,
558 com.liferay.portal.kernel.exception.SystemException {
559 _wikiNodeLocalService.subscribeNode(userId, nodeId);
560 }
561
562 @Override
563 public void unsubscribeNode(long userId, long nodeId)
564 throws com.liferay.portal.kernel.exception.PortalException,
565 com.liferay.portal.kernel.exception.SystemException {
566 _wikiNodeLocalService.unsubscribeNode(userId, nodeId);
567 }
568
569 @Override
570 public com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
571 java.lang.String name, java.lang.String description,
572 com.liferay.portal.service.ServiceContext serviceContext)
573 throws com.liferay.portal.kernel.exception.PortalException,
574 com.liferay.portal.kernel.exception.SystemException {
575 return _wikiNodeLocalService.updateNode(nodeId, name, description,
576 serviceContext);
577 }
578
579 @Override
580 public com.liferay.portlet.wiki.model.WikiNode updateStatus(long userId,
581 com.liferay.portlet.wiki.model.WikiNode node, int status,
582 com.liferay.portal.service.ServiceContext serviceContext)
583 throws com.liferay.portal.kernel.exception.PortalException,
584 com.liferay.portal.kernel.exception.SystemException {
585 return _wikiNodeLocalService.updateStatus(userId, node, status,
586 serviceContext);
587 }
588
589
592 public WikiNodeLocalService getWrappedWikiNodeLocalService() {
593 return _wikiNodeLocalService;
594 }
595
596
599 public void setWrappedWikiNodeLocalService(
600 WikiNodeLocalService wikiNodeLocalService) {
601 _wikiNodeLocalService = wikiNodeLocalService;
602 }
603
604 @Override
605 public WikiNodeLocalService getWrappedService() {
606 return _wikiNodeLocalService;
607 }
608
609 @Override
610 public void setWrappedService(WikiNodeLocalService wikiNodeLocalService) {
611 _wikiNodeLocalService = wikiNodeLocalService;
612 }
613
614 private WikiNodeLocalService _wikiNodeLocalService;
615 }