001
014
015 package com.liferay.portlet.wiki.service;
016
017
026 public class WikiPageLocalServiceWrapper implements WikiPageLocalService {
027 public WikiPageLocalServiceWrapper(
028 WikiPageLocalService wikiPageLocalService) {
029 _wikiPageLocalService = wikiPageLocalService;
030 }
031
032
039 public com.liferay.portlet.wiki.model.WikiPage addWikiPage(
040 com.liferay.portlet.wiki.model.WikiPage wikiPage)
041 throws com.liferay.portal.kernel.exception.SystemException {
042 return _wikiPageLocalService.addWikiPage(wikiPage);
043 }
044
045
051 public com.liferay.portlet.wiki.model.WikiPage createWikiPage(long pageId) {
052 return _wikiPageLocalService.createWikiPage(pageId);
053 }
054
055
062 public void deleteWikiPage(long pageId)
063 throws com.liferay.portal.kernel.exception.PortalException,
064 com.liferay.portal.kernel.exception.SystemException {
065 _wikiPageLocalService.deleteWikiPage(pageId);
066 }
067
068
074 public void deleteWikiPage(com.liferay.portlet.wiki.model.WikiPage wikiPage)
075 throws com.liferay.portal.kernel.exception.SystemException {
076 _wikiPageLocalService.deleteWikiPage(wikiPage);
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 _wikiPageLocalService.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 _wikiPageLocalService.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 _wikiPageLocalService.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 _wikiPageLocalService.dynamicQueryCount(dynamicQuery);
148 }
149
150
158 public com.liferay.portlet.wiki.model.WikiPage getWikiPage(long pageId)
159 throws com.liferay.portal.kernel.exception.PortalException,
160 com.liferay.portal.kernel.exception.SystemException {
161 return _wikiPageLocalService.getWikiPage(pageId);
162 }
163
164
173 public com.liferay.portlet.wiki.model.WikiPage getWikiPageByUuidAndGroupId(
174 java.lang.String uuid, long groupId)
175 throws com.liferay.portal.kernel.exception.PortalException,
176 com.liferay.portal.kernel.exception.SystemException {
177 return _wikiPageLocalService.getWikiPageByUuidAndGroupId(uuid, groupId);
178 }
179
180
192 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getWikiPages(
193 int start, int end)
194 throws com.liferay.portal.kernel.exception.SystemException {
195 return _wikiPageLocalService.getWikiPages(start, end);
196 }
197
198
204 public int getWikiPagesCount()
205 throws com.liferay.portal.kernel.exception.SystemException {
206 return _wikiPageLocalService.getWikiPagesCount();
207 }
208
209
216 public com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
217 com.liferay.portlet.wiki.model.WikiPage wikiPage)
218 throws com.liferay.portal.kernel.exception.SystemException {
219 return _wikiPageLocalService.updateWikiPage(wikiPage);
220 }
221
222
230 public com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
231 com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
232 throws com.liferay.portal.kernel.exception.SystemException {
233 return _wikiPageLocalService.updateWikiPage(wikiPage, merge);
234 }
235
236 public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
237 long nodeId, java.lang.String title, double version,
238 java.lang.String content, java.lang.String summary, boolean minorEdit,
239 java.lang.String format, boolean head, java.lang.String parentTitle,
240 java.lang.String redirectTitle,
241 com.liferay.portal.service.ServiceContext serviceContext)
242 throws com.liferay.portal.kernel.exception.PortalException,
243 com.liferay.portal.kernel.exception.SystemException {
244 return _wikiPageLocalService.addPage(userId, nodeId, title, version,
245 content, summary, minorEdit, format, head, parentTitle,
246 redirectTitle, serviceContext);
247 }
248
249 public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
250 long nodeId, java.lang.String title, java.lang.String content,
251 java.lang.String summary, boolean minorEdit,
252 com.liferay.portal.service.ServiceContext serviceContext)
253 throws com.liferay.portal.kernel.exception.PortalException,
254 com.liferay.portal.kernel.exception.SystemException {
255 return _wikiPageLocalService.addPage(userId, nodeId, title, content,
256 summary, minorEdit, serviceContext);
257 }
258
259 public void addPageAttachment(long companyId, java.lang.String dirName,
260 java.util.Date modifiedDate, java.lang.String fileName,
261 java.io.InputStream inputStream)
262 throws com.liferay.portal.kernel.exception.PortalException,
263 com.liferay.portal.kernel.exception.SystemException {
264 _wikiPageLocalService.addPageAttachment(companyId, dirName,
265 modifiedDate, fileName, inputStream);
266 }
267
268 public void addPageAttachments(long nodeId, java.lang.String title,
269 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, byte[]>> files)
270 throws com.liferay.portal.kernel.exception.PortalException,
271 com.liferay.portal.kernel.exception.SystemException {
272 _wikiPageLocalService.addPageAttachments(nodeId, title, files);
273 }
274
275 public void addPageResources(long nodeId, java.lang.String title,
276 boolean addCommunityPermissions, boolean addGuestPermissions)
277 throws com.liferay.portal.kernel.exception.PortalException,
278 com.liferay.portal.kernel.exception.SystemException {
279 _wikiPageLocalService.addPageResources(nodeId, title,
280 addCommunityPermissions, addGuestPermissions);
281 }
282
283 public void addPageResources(long nodeId, java.lang.String title,
284 java.lang.String[] communityPermissions,
285 java.lang.String[] guestPermissions)
286 throws com.liferay.portal.kernel.exception.PortalException,
287 com.liferay.portal.kernel.exception.SystemException {
288 _wikiPageLocalService.addPageResources(nodeId, title,
289 communityPermissions, guestPermissions);
290 }
291
292 public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
293 boolean addCommunityPermissions, boolean addGuestPermissions)
294 throws com.liferay.portal.kernel.exception.PortalException,
295 com.liferay.portal.kernel.exception.SystemException {
296 _wikiPageLocalService.addPageResources(page, addCommunityPermissions,
297 addGuestPermissions);
298 }
299
300 public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
301 java.lang.String[] communityPermissions,
302 java.lang.String[] guestPermissions)
303 throws com.liferay.portal.kernel.exception.PortalException,
304 com.liferay.portal.kernel.exception.SystemException {
305 _wikiPageLocalService.addPageResources(page, communityPermissions,
306 guestPermissions);
307 }
308
309 public void changeParent(long userId, long nodeId, java.lang.String title,
310 java.lang.String newParentTitle,
311 com.liferay.portal.service.ServiceContext serviceContext)
312 throws com.liferay.portal.kernel.exception.PortalException,
313 com.liferay.portal.kernel.exception.SystemException {
314 _wikiPageLocalService.changeParent(userId, nodeId, title,
315 newParentTitle, serviceContext);
316 }
317
318 public void deletePage(long nodeId, java.lang.String title)
319 throws com.liferay.portal.kernel.exception.PortalException,
320 com.liferay.portal.kernel.exception.SystemException {
321 _wikiPageLocalService.deletePage(nodeId, title);
322 }
323
324 public void deletePage(long nodeId, java.lang.String title, double version)
325 throws com.liferay.portal.kernel.exception.PortalException,
326 com.liferay.portal.kernel.exception.SystemException {
327 _wikiPageLocalService.deletePage(nodeId, title, version);
328 }
329
330 public void deletePage(com.liferay.portlet.wiki.model.WikiPage page)
331 throws com.liferay.portal.kernel.exception.PortalException,
332 com.liferay.portal.kernel.exception.SystemException {
333 _wikiPageLocalService.deletePage(page);
334 }
335
336 public void deletePageAttachment(long nodeId, java.lang.String title,
337 java.lang.String fileName)
338 throws com.liferay.portal.kernel.exception.PortalException,
339 com.liferay.portal.kernel.exception.SystemException {
340 _wikiPageLocalService.deletePageAttachment(nodeId, title, fileName);
341 }
342
343 public void deletePages(long nodeId)
344 throws com.liferay.portal.kernel.exception.PortalException,
345 com.liferay.portal.kernel.exception.SystemException {
346 _wikiPageLocalService.deletePages(nodeId);
347 }
348
349 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(
350 long nodeId, boolean head, java.lang.String parentTitle)
351 throws com.liferay.portal.kernel.exception.SystemException {
352 return _wikiPageLocalService.getChildren(nodeId, head, parentTitle);
353 }
354
355 public com.liferay.portlet.wiki.model.WikiPage getDraftPage(long nodeId,
356 java.lang.String title)
357 throws com.liferay.portal.kernel.exception.PortalException,
358 com.liferay.portal.kernel.exception.SystemException {
359 return _wikiPageLocalService.getDraftPage(nodeId, title);
360 }
361
362 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getIncomingLinks(
363 long nodeId, java.lang.String title)
364 throws com.liferay.portal.kernel.exception.PortalException,
365 com.liferay.portal.kernel.exception.SystemException {
366 return _wikiPageLocalService.getIncomingLinks(nodeId, title);
367 }
368
369 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNoAssetPages()
370 throws com.liferay.portal.kernel.exception.SystemException {
371 return _wikiPageLocalService.getNoAssetPages();
372 }
373
374 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(
375 long nodeId)
376 throws com.liferay.portal.kernel.exception.PortalException,
377 com.liferay.portal.kernel.exception.SystemException {
378 return _wikiPageLocalService.getOrphans(nodeId);
379 }
380
381 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOutgoingLinks(
382 long nodeId, java.lang.String title)
383 throws com.liferay.portal.kernel.exception.PortalException,
384 com.liferay.portal.kernel.exception.SystemException {
385 return _wikiPageLocalService.getOutgoingLinks(nodeId, title);
386 }
387
388 public com.liferay.portlet.wiki.model.WikiPage getPage(long resourcePrimKey)
389 throws com.liferay.portal.kernel.exception.PortalException,
390 com.liferay.portal.kernel.exception.SystemException {
391 return _wikiPageLocalService.getPage(resourcePrimKey);
392 }
393
394 public com.liferay.portlet.wiki.model.WikiPage getPage(
395 long resourcePrimKey, java.lang.Boolean head)
396 throws com.liferay.portal.kernel.exception.PortalException,
397 com.liferay.portal.kernel.exception.SystemException {
398 return _wikiPageLocalService.getPage(resourcePrimKey, head);
399 }
400
401 public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
402 java.lang.String title)
403 throws com.liferay.portal.kernel.exception.PortalException,
404 com.liferay.portal.kernel.exception.SystemException {
405 return _wikiPageLocalService.getPage(nodeId, title);
406 }
407
408 public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
409 java.lang.String title, java.lang.Boolean head)
410 throws com.liferay.portal.kernel.exception.PortalException,
411 com.liferay.portal.kernel.exception.SystemException {
412 return _wikiPageLocalService.getPage(nodeId, title, head);
413 }
414
415 public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
416 java.lang.String title, double version)
417 throws com.liferay.portal.kernel.exception.PortalException,
418 com.liferay.portal.kernel.exception.SystemException {
419 return _wikiPageLocalService.getPage(nodeId, title, version);
420 }
421
422 public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
423 long nodeId, java.lang.String title,
424 javax.portlet.PortletURL viewPageURL,
425 javax.portlet.PortletURL editPageURL,
426 java.lang.String attachmentURLPrefix)
427 throws com.liferay.portal.kernel.exception.PortalException,
428 com.liferay.portal.kernel.exception.SystemException {
429 return _wikiPageLocalService.getPageDisplay(nodeId, title, viewPageURL,
430 editPageURL, attachmentURLPrefix);
431 }
432
433 public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
434 com.liferay.portlet.wiki.model.WikiPage page,
435 javax.portlet.PortletURL viewPageURL,
436 javax.portlet.PortletURL editPageURL,
437 java.lang.String attachmentURLPrefix)
438 throws com.liferay.portal.kernel.exception.PortalException,
439 com.liferay.portal.kernel.exception.SystemException {
440 return _wikiPageLocalService.getPageDisplay(page, viewPageURL,
441 editPageURL, attachmentURLPrefix);
442 }
443
444 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
445 long nodeId, boolean head, int start, int end)
446 throws com.liferay.portal.kernel.exception.SystemException {
447 return _wikiPageLocalService.getPages(nodeId, head, start, end);
448 }
449
450 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
451 long nodeId, boolean head, int start, int end,
452 com.liferay.portal.kernel.util.OrderByComparator obc)
453 throws com.liferay.portal.kernel.exception.SystemException {
454 return _wikiPageLocalService.getPages(nodeId, head, start, end, obc);
455 }
456
457 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
458 long nodeId, int start, int end)
459 throws com.liferay.portal.kernel.exception.SystemException {
460 return _wikiPageLocalService.getPages(nodeId, start, end);
461 }
462
463 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
464 long nodeId, int start, int end,
465 com.liferay.portal.kernel.util.OrderByComparator obc)
466 throws com.liferay.portal.kernel.exception.SystemException {
467 return _wikiPageLocalService.getPages(nodeId, start, end, obc);
468 }
469
470 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
471 long resourcePrimKey, long nodeId, int status)
472 throws com.liferay.portal.kernel.exception.SystemException {
473 return _wikiPageLocalService.getPages(resourcePrimKey, nodeId, status);
474 }
475
476 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
477 long userId, long nodeId, int status, int start, int end)
478 throws com.liferay.portal.kernel.exception.SystemException {
479 return _wikiPageLocalService.getPages(userId, nodeId, status, start, end);
480 }
481
482 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
483 long nodeId, java.lang.String title, boolean head, int start, int end)
484 throws com.liferay.portal.kernel.exception.SystemException {
485 return _wikiPageLocalService.getPages(nodeId, title, head, start, end);
486 }
487
488 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
489 long nodeId, java.lang.String title, int start, int end)
490 throws com.liferay.portal.kernel.exception.SystemException {
491 return _wikiPageLocalService.getPages(nodeId, title, start, end);
492 }
493
494 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
495 long nodeId, java.lang.String title, int start, int end,
496 com.liferay.portal.kernel.util.OrderByComparator obc)
497 throws com.liferay.portal.kernel.exception.SystemException {
498 return _wikiPageLocalService.getPages(nodeId, title, start, end, obc);
499 }
500
501 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
502 java.lang.String format)
503 throws com.liferay.portal.kernel.exception.SystemException {
504 return _wikiPageLocalService.getPages(format);
505 }
506
507 public int getPagesCount(long nodeId)
508 throws com.liferay.portal.kernel.exception.SystemException {
509 return _wikiPageLocalService.getPagesCount(nodeId);
510 }
511
512 public int getPagesCount(long nodeId, boolean head)
513 throws com.liferay.portal.kernel.exception.SystemException {
514 return _wikiPageLocalService.getPagesCount(nodeId, head);
515 }
516
517 public int getPagesCount(long userId, long nodeId, int status)
518 throws com.liferay.portal.kernel.exception.SystemException {
519 return _wikiPageLocalService.getPagesCount(userId, nodeId, status);
520 }
521
522 public int getPagesCount(long nodeId, java.lang.String title)
523 throws com.liferay.portal.kernel.exception.SystemException {
524 return _wikiPageLocalService.getPagesCount(nodeId, title);
525 }
526
527 public int getPagesCount(long nodeId, java.lang.String title, boolean head)
528 throws com.liferay.portal.kernel.exception.SystemException {
529 return _wikiPageLocalService.getPagesCount(nodeId, title, head);
530 }
531
532 public int getPagesCount(java.lang.String format)
533 throws com.liferay.portal.kernel.exception.SystemException {
534 return _wikiPageLocalService.getPagesCount(format);
535 }
536
537 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
538 long nodeId, int start, int end)
539 throws com.liferay.portal.kernel.exception.SystemException {
540 return _wikiPageLocalService.getRecentChanges(nodeId, start, end);
541 }
542
543 public int getRecentChangesCount(long nodeId)
544 throws com.liferay.portal.kernel.exception.SystemException {
545 return _wikiPageLocalService.getRecentChangesCount(nodeId);
546 }
547
548 public boolean hasDraftPage(long nodeId, java.lang.String title)
549 throws com.liferay.portal.kernel.exception.SystemException {
550 return _wikiPageLocalService.hasDraftPage(nodeId, title);
551 }
552
553 public void movePage(long userId, long nodeId, java.lang.String title,
554 java.lang.String newTitle, boolean strict,
555 com.liferay.portal.service.ServiceContext serviceContext)
556 throws com.liferay.portal.kernel.exception.PortalException,
557 com.liferay.portal.kernel.exception.SystemException {
558 _wikiPageLocalService.movePage(userId, nodeId, title, newTitle, strict,
559 serviceContext);
560 }
561
562 public void movePage(long userId, long nodeId, java.lang.String title,
563 java.lang.String newTitle,
564 com.liferay.portal.service.ServiceContext serviceContext)
565 throws com.liferay.portal.kernel.exception.PortalException,
566 com.liferay.portal.kernel.exception.SystemException {
567 _wikiPageLocalService.movePage(userId, nodeId, title, newTitle,
568 serviceContext);
569 }
570
571 public com.liferay.portlet.wiki.model.WikiPage revertPage(long userId,
572 long nodeId, java.lang.String title, double version,
573 com.liferay.portal.service.ServiceContext serviceContext)
574 throws com.liferay.portal.kernel.exception.PortalException,
575 com.liferay.portal.kernel.exception.SystemException {
576 return _wikiPageLocalService.revertPage(userId, nodeId, title, version,
577 serviceContext);
578 }
579
580 public void subscribePage(long userId, long nodeId, java.lang.String title)
581 throws com.liferay.portal.kernel.exception.PortalException,
582 com.liferay.portal.kernel.exception.SystemException {
583 _wikiPageLocalService.subscribePage(userId, nodeId, title);
584 }
585
586 public void unsubscribePage(long userId, long nodeId, java.lang.String title)
587 throws com.liferay.portal.kernel.exception.PortalException,
588 com.liferay.portal.kernel.exception.SystemException {
589 _wikiPageLocalService.unsubscribePage(userId, nodeId, title);
590 }
591
592 public void updateAsset(long userId,
593 com.liferay.portlet.wiki.model.WikiPage page, long[] assetCategoryIds,
594 java.lang.String[] assetTagNames)
595 throws com.liferay.portal.kernel.exception.PortalException,
596 com.liferay.portal.kernel.exception.SystemException {
597 _wikiPageLocalService.updateAsset(userId, page, assetCategoryIds,
598 assetTagNames);
599 }
600
601 public com.liferay.portlet.wiki.model.WikiPage updatePage(long userId,
602 long nodeId, java.lang.String title, double version,
603 java.lang.String content, java.lang.String summary, boolean minorEdit,
604 java.lang.String format, java.lang.String parentTitle,
605 java.lang.String redirectTitle,
606 com.liferay.portal.service.ServiceContext serviceContext)
607 throws com.liferay.portal.kernel.exception.PortalException,
608 com.liferay.portal.kernel.exception.SystemException {
609 return _wikiPageLocalService.updatePage(userId, nodeId, title, version,
610 content, summary, minorEdit, format, parentTitle, redirectTitle,
611 serviceContext);
612 }
613
614 public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
615 long resourcePrimKey, int status,
616 com.liferay.portal.service.ServiceContext serviceContext)
617 throws com.liferay.portal.kernel.exception.PortalException,
618 com.liferay.portal.kernel.exception.SystemException {
619 return _wikiPageLocalService.updateStatus(userId, resourcePrimKey,
620 status, serviceContext);
621 }
622
623 public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
624 com.liferay.portlet.wiki.model.WikiPage page, int status,
625 com.liferay.portal.service.ServiceContext serviceContext)
626 throws com.liferay.portal.kernel.exception.PortalException,
627 com.liferay.portal.kernel.exception.SystemException {
628 return _wikiPageLocalService.updateStatus(userId, page, status,
629 serviceContext);
630 }
631
632 public void validateTitle(java.lang.String title)
633 throws com.liferay.portal.kernel.exception.PortalException {
634 _wikiPageLocalService.validateTitle(title);
635 }
636
637 public WikiPageLocalService getWrappedWikiPageLocalService() {
638 return _wikiPageLocalService;
639 }
640
641 private WikiPageLocalService _wikiPageLocalService;
642 }