001
014
015 package com.liferay.portlet.wiki.service;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018 import com.liferay.portal.kernel.util.ReferenceRegistry;
019
020
034 public class WikiPageLocalServiceUtil {
035
040
041
048 public static com.liferay.portlet.wiki.model.WikiPage addWikiPage(
049 com.liferay.portlet.wiki.model.WikiPage wikiPage)
050 throws com.liferay.portal.kernel.exception.SystemException {
051 return getService().addWikiPage(wikiPage);
052 }
053
054
060 public static com.liferay.portlet.wiki.model.WikiPage createWikiPage(
061 long pageId) {
062 return getService().createWikiPage(pageId);
063 }
064
065
073 public static com.liferay.portlet.wiki.model.WikiPage deleteWikiPage(
074 long pageId)
075 throws com.liferay.portal.kernel.exception.PortalException,
076 com.liferay.portal.kernel.exception.SystemException {
077 return getService().deleteWikiPage(pageId);
078 }
079
080
087 public static com.liferay.portlet.wiki.model.WikiPage deleteWikiPage(
088 com.liferay.portlet.wiki.model.WikiPage wikiPage)
089 throws com.liferay.portal.kernel.exception.SystemException {
090 return getService().deleteWikiPage(wikiPage);
091 }
092
093 public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
094 return getService().dynamicQuery();
095 }
096
097
104 @SuppressWarnings("rawtypes")
105 public static java.util.List dynamicQuery(
106 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
107 throws com.liferay.portal.kernel.exception.SystemException {
108 return getService().dynamicQuery(dynamicQuery);
109 }
110
111
124 @SuppressWarnings("rawtypes")
125 public static 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 getService().dynamicQuery(dynamicQuery, start, end);
129 }
130
131
145 @SuppressWarnings("rawtypes")
146 public static java.util.List dynamicQuery(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
148 int end,
149 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150 throws com.liferay.portal.kernel.exception.SystemException {
151 return getService()
152 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
153 }
154
155
162 public static long dynamicQueryCount(
163 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 return getService().dynamicQueryCount(dynamicQuery);
166 }
167
168
176 public static long dynamicQueryCount(
177 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
178 com.liferay.portal.kernel.dao.orm.Projection projection)
179 throws com.liferay.portal.kernel.exception.SystemException {
180 return getService().dynamicQueryCount(dynamicQuery, projection);
181 }
182
183 public static com.liferay.portlet.wiki.model.WikiPage fetchWikiPage(
184 long pageId) throws com.liferay.portal.kernel.exception.SystemException {
185 return getService().fetchWikiPage(pageId);
186 }
187
188
196 public static com.liferay.portlet.wiki.model.WikiPage fetchWikiPageByUuidAndCompanyId(
197 java.lang.String uuid, long companyId)
198 throws com.liferay.portal.kernel.exception.SystemException {
199 return getService().fetchWikiPageByUuidAndCompanyId(uuid, companyId);
200 }
201
202
210 public static com.liferay.portlet.wiki.model.WikiPage fetchWikiPageByUuidAndGroupId(
211 java.lang.String uuid, long groupId)
212 throws com.liferay.portal.kernel.exception.SystemException {
213 return getService().fetchWikiPageByUuidAndGroupId(uuid, groupId);
214 }
215
216
224 public static com.liferay.portlet.wiki.model.WikiPage getWikiPage(
225 long pageId)
226 throws com.liferay.portal.kernel.exception.PortalException,
227 com.liferay.portal.kernel.exception.SystemException {
228 return getService().getWikiPage(pageId);
229 }
230
231 public static com.liferay.portal.model.PersistedModel getPersistedModel(
232 java.io.Serializable primaryKeyObj)
233 throws com.liferay.portal.kernel.exception.PortalException,
234 com.liferay.portal.kernel.exception.SystemException {
235 return getService().getPersistedModel(primaryKeyObj);
236 }
237
238
247 public static com.liferay.portlet.wiki.model.WikiPage getWikiPageByUuidAndCompanyId(
248 java.lang.String uuid, long companyId)
249 throws com.liferay.portal.kernel.exception.PortalException,
250 com.liferay.portal.kernel.exception.SystemException {
251 return getService().getWikiPageByUuidAndCompanyId(uuid, companyId);
252 }
253
254
263 public static com.liferay.portlet.wiki.model.WikiPage getWikiPageByUuidAndGroupId(
264 java.lang.String uuid, long groupId)
265 throws com.liferay.portal.kernel.exception.PortalException,
266 com.liferay.portal.kernel.exception.SystemException {
267 return getService().getWikiPageByUuidAndGroupId(uuid, groupId);
268 }
269
270
282 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getWikiPages(
283 int start, int end)
284 throws com.liferay.portal.kernel.exception.SystemException {
285 return getService().getWikiPages(start, end);
286 }
287
288
294 public static int getWikiPagesCount()
295 throws com.liferay.portal.kernel.exception.SystemException {
296 return getService().getWikiPagesCount();
297 }
298
299
306 public static com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
307 com.liferay.portlet.wiki.model.WikiPage wikiPage)
308 throws com.liferay.portal.kernel.exception.SystemException {
309 return getService().updateWikiPage(wikiPage);
310 }
311
312
317 public static java.lang.String getBeanIdentifier() {
318 return getService().getBeanIdentifier();
319 }
320
321
326 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
327 getService().setBeanIdentifier(beanIdentifier);
328 }
329
330 public static com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
331 long nodeId, java.lang.String title, double version,
332 java.lang.String content, java.lang.String summary, boolean minorEdit,
333 java.lang.String format, boolean head, java.lang.String parentTitle,
334 java.lang.String redirectTitle,
335 com.liferay.portal.service.ServiceContext serviceContext)
336 throws com.liferay.portal.kernel.exception.PortalException,
337 com.liferay.portal.kernel.exception.SystemException {
338 return getService()
339 .addPage(userId, nodeId, title, version, content, summary,
340 minorEdit, format, head, parentTitle, redirectTitle, serviceContext);
341 }
342
343 public static com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
344 long nodeId, java.lang.String title, java.lang.String content,
345 java.lang.String summary, boolean minorEdit,
346 com.liferay.portal.service.ServiceContext serviceContext)
347 throws com.liferay.portal.kernel.exception.PortalException,
348 com.liferay.portal.kernel.exception.SystemException {
349 return getService()
350 .addPage(userId, nodeId, title, content, summary, minorEdit,
351 serviceContext);
352 }
353
354 public static void addPageAttachment(long userId, long nodeId,
355 java.lang.String title, java.lang.String fileName, java.io.File file,
356 java.lang.String mimeType)
357 throws com.liferay.portal.kernel.exception.PortalException,
358 com.liferay.portal.kernel.exception.SystemException {
359 getService()
360 .addPageAttachment(userId, nodeId, title, fileName, file, mimeType);
361 }
362
363 public static void addPageAttachment(long userId, long nodeId,
364 java.lang.String title, java.lang.String fileName,
365 java.io.InputStream inputStream, java.lang.String mimeType)
366 throws com.liferay.portal.kernel.exception.PortalException,
367 com.liferay.portal.kernel.exception.SystemException {
368 getService()
369 .addPageAttachment(userId, nodeId, title, fileName, inputStream,
370 mimeType);
371 }
372
373 public static void addPageAttachments(long userId, long nodeId,
374 java.lang.String title,
375 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs)
376 throws com.liferay.portal.kernel.exception.PortalException,
377 com.liferay.portal.kernel.exception.SystemException {
378 getService().addPageAttachments(userId, nodeId, title, inputStreamOVPs);
379 }
380
381 public static void addPageResources(long nodeId, java.lang.String title,
382 boolean addGroupPermissions, boolean addGuestPermissions)
383 throws com.liferay.portal.kernel.exception.PortalException,
384 com.liferay.portal.kernel.exception.SystemException {
385 getService()
386 .addPageResources(nodeId, title, addGroupPermissions,
387 addGuestPermissions);
388 }
389
390 public static void addPageResources(long nodeId, java.lang.String title,
391 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
392 throws com.liferay.portal.kernel.exception.PortalException,
393 com.liferay.portal.kernel.exception.SystemException {
394 getService()
395 .addPageResources(nodeId, title, groupPermissions, guestPermissions);
396 }
397
398 public static void addPageResources(
399 com.liferay.portlet.wiki.model.WikiPage page,
400 boolean addGroupPermissions, boolean addGuestPermissions)
401 throws com.liferay.portal.kernel.exception.PortalException,
402 com.liferay.portal.kernel.exception.SystemException {
403 getService()
404 .addPageResources(page, addGroupPermissions, addGuestPermissions);
405 }
406
407 public static void addPageResources(
408 com.liferay.portlet.wiki.model.WikiPage page,
409 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
410 throws com.liferay.portal.kernel.exception.PortalException,
411 com.liferay.portal.kernel.exception.SystemException {
412 getService().addPageResources(page, groupPermissions, guestPermissions);
413 }
414
415 public static void addTempPageAttachment(long groupId, long userId,
416 java.lang.String fileName, java.lang.String tempFolderName,
417 java.io.InputStream inputStream, java.lang.String mimeType)
418 throws com.liferay.portal.kernel.exception.PortalException,
419 com.liferay.portal.kernel.exception.SystemException {
420 getService()
421 .addTempPageAttachment(groupId, userId, fileName, tempFolderName,
422 inputStream, mimeType);
423 }
424
425 public static void changeParent(long userId, long nodeId,
426 java.lang.String title, java.lang.String newParentTitle,
427 com.liferay.portal.service.ServiceContext serviceContext)
428 throws com.liferay.portal.kernel.exception.PortalException,
429 com.liferay.portal.kernel.exception.SystemException {
430 getService()
431 .changeParent(userId, nodeId, title, newParentTitle, serviceContext);
432 }
433
434 public static void copyPageAttachments(long userId, long templateNodeId,
435 java.lang.String templateTitle, long nodeId, java.lang.String title)
436 throws com.liferay.portal.kernel.exception.PortalException,
437 com.liferay.portal.kernel.exception.SystemException {
438 getService()
439 .copyPageAttachments(userId, templateNodeId, templateTitle, nodeId,
440 title);
441 }
442
443 public static void deletePage(long nodeId, java.lang.String title)
444 throws com.liferay.portal.kernel.exception.PortalException,
445 com.liferay.portal.kernel.exception.SystemException {
446 getService().deletePage(nodeId, title);
447 }
448
449
453 public static void deletePage(long nodeId, java.lang.String title,
454 double version)
455 throws com.liferay.portal.kernel.exception.PortalException,
456 com.liferay.portal.kernel.exception.SystemException {
457 getService().deletePage(nodeId, title, version);
458 }
459
460 public static void deletePage(com.liferay.portlet.wiki.model.WikiPage page)
461 throws com.liferay.portal.kernel.exception.PortalException,
462 com.liferay.portal.kernel.exception.SystemException {
463 getService().deletePage(page);
464 }
465
466 public static void deletePageAttachment(long nodeId,
467 java.lang.String title, java.lang.String fileName)
468 throws com.liferay.portal.kernel.exception.PortalException,
469 com.liferay.portal.kernel.exception.SystemException {
470 getService().deletePageAttachment(nodeId, title, fileName);
471 }
472
473 public static void deletePageAttachments(long nodeId, java.lang.String title)
474 throws com.liferay.portal.kernel.exception.PortalException,
475 com.liferay.portal.kernel.exception.SystemException {
476 getService().deletePageAttachments(nodeId, title);
477 }
478
479 public static void deletePages(long nodeId)
480 throws com.liferay.portal.kernel.exception.PortalException,
481 com.liferay.portal.kernel.exception.SystemException {
482 getService().deletePages(nodeId);
483 }
484
485 public static void deleteTempPageAttachment(long groupId, long userId,
486 java.lang.String fileName, java.lang.String tempFolderName)
487 throws com.liferay.portal.kernel.exception.PortalException,
488 com.liferay.portal.kernel.exception.SystemException {
489 getService()
490 .deleteTempPageAttachment(groupId, userId, fileName, tempFolderName);
491 }
492
493 public static void deleteTrashPageAttachments(long nodeId,
494 java.lang.String title)
495 throws com.liferay.portal.kernel.exception.PortalException,
496 com.liferay.portal.kernel.exception.SystemException {
497 getService().deleteTrashPageAttachments(nodeId, title);
498 }
499
500 public static void discardDraft(long nodeId, java.lang.String title,
501 double version)
502 throws com.liferay.portal.kernel.exception.PortalException,
503 com.liferay.portal.kernel.exception.SystemException {
504 getService().discardDraft(nodeId, title, version);
505 }
506
507 public static com.liferay.portlet.wiki.model.WikiPage fetchPage(
508 long nodeId, java.lang.String title, double version)
509 throws com.liferay.portal.kernel.exception.SystemException {
510 return getService().fetchPage(nodeId, title, version);
511 }
512
513 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(
514 long nodeId, boolean head, java.lang.String parentTitle)
515 throws com.liferay.portal.kernel.exception.SystemException {
516 return getService().getChildren(nodeId, head, parentTitle);
517 }
518
519 public static com.liferay.portlet.wiki.model.WikiPage getDraftPage(
520 long nodeId, java.lang.String title)
521 throws com.liferay.portal.kernel.exception.PortalException,
522 com.liferay.portal.kernel.exception.SystemException {
523 return getService().getDraftPage(nodeId, title);
524 }
525
526 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getIncomingLinks(
527 long nodeId, java.lang.String title)
528 throws com.liferay.portal.kernel.exception.PortalException,
529 com.liferay.portal.kernel.exception.SystemException {
530 return getService().getIncomingLinks(nodeId, title);
531 }
532
533 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNoAssetPages()
534 throws com.liferay.portal.kernel.exception.SystemException {
535 return getService().getNoAssetPages();
536 }
537
538 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(
539 long nodeId)
540 throws com.liferay.portal.kernel.exception.PortalException,
541 com.liferay.portal.kernel.exception.SystemException {
542 return getService().getOrphans(nodeId);
543 }
544
545 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOutgoingLinks(
546 long nodeId, java.lang.String title)
547 throws com.liferay.portal.kernel.exception.PortalException,
548 com.liferay.portal.kernel.exception.SystemException {
549 return getService().getOutgoingLinks(nodeId, title);
550 }
551
552 public static com.liferay.portlet.wiki.model.WikiPage getPage(
553 long resourcePrimKey)
554 throws com.liferay.portal.kernel.exception.PortalException,
555 com.liferay.portal.kernel.exception.SystemException {
556 return getService().getPage(resourcePrimKey);
557 }
558
559 public static com.liferay.portlet.wiki.model.WikiPage getPage(
560 long resourcePrimKey, java.lang.Boolean head)
561 throws com.liferay.portal.kernel.exception.PortalException,
562 com.liferay.portal.kernel.exception.SystemException {
563 return getService().getPage(resourcePrimKey, head);
564 }
565
566 public static com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
567 java.lang.String title)
568 throws com.liferay.portal.kernel.exception.PortalException,
569 com.liferay.portal.kernel.exception.SystemException {
570 return getService().getPage(nodeId, title);
571 }
572
573 public static com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
574 java.lang.String title, java.lang.Boolean head)
575 throws com.liferay.portal.kernel.exception.PortalException,
576 com.liferay.portal.kernel.exception.SystemException {
577 return getService().getPage(nodeId, title, head);
578 }
579
580 public static com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
581 java.lang.String title, double version)
582 throws com.liferay.portal.kernel.exception.PortalException,
583 com.liferay.portal.kernel.exception.SystemException {
584 return getService().getPage(nodeId, title, version);
585 }
586
587 public static com.liferay.portlet.wiki.model.WikiPage getPageByPageId(
588 long pageId)
589 throws com.liferay.portal.kernel.exception.PortalException,
590 com.liferay.portal.kernel.exception.SystemException {
591 return getService().getPageByPageId(pageId);
592 }
593
594 public static com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
595 long nodeId, java.lang.String title,
596 javax.portlet.PortletURL viewPageURL,
597 javax.portlet.PortletURL editPageURL,
598 java.lang.String attachmentURLPrefix)
599 throws com.liferay.portal.kernel.exception.PortalException,
600 com.liferay.portal.kernel.exception.SystemException {
601 return getService()
602 .getPageDisplay(nodeId, title, viewPageURL, editPageURL,
603 attachmentURLPrefix);
604 }
605
606 public static com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
607 com.liferay.portlet.wiki.model.WikiPage page,
608 javax.portlet.PortletURL viewPageURL,
609 javax.portlet.PortletURL editPageURL,
610 java.lang.String attachmentURLPrefix)
611 throws com.liferay.portal.kernel.exception.PortalException,
612 com.liferay.portal.kernel.exception.SystemException {
613 return getService()
614 .getPageDisplay(page, viewPageURL, editPageURL,
615 attachmentURLPrefix);
616 }
617
618 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
619 long nodeId, boolean head, int start, int end)
620 throws com.liferay.portal.kernel.exception.SystemException {
621 return getService().getPages(nodeId, head, start, end);
622 }
623
624 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
625 long nodeId, boolean head, int status, int start, int end,
626 com.liferay.portal.kernel.util.OrderByComparator obc)
627 throws com.liferay.portal.kernel.exception.SystemException {
628 return getService().getPages(nodeId, head, status, start, end, obc);
629 }
630
631 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
632 long nodeId, boolean head, int start, int end,
633 com.liferay.portal.kernel.util.OrderByComparator obc)
634 throws com.liferay.portal.kernel.exception.SystemException {
635 return getService().getPages(nodeId, head, start, end, obc);
636 }
637
638 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
639 long nodeId, int start, int end)
640 throws com.liferay.portal.kernel.exception.SystemException {
641 return getService().getPages(nodeId, start, end);
642 }
643
644 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
645 long nodeId, int start, int end,
646 com.liferay.portal.kernel.util.OrderByComparator obc)
647 throws com.liferay.portal.kernel.exception.SystemException {
648 return getService().getPages(nodeId, start, end, obc);
649 }
650
651 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
652 long resourcePrimKey, long nodeId, int status)
653 throws com.liferay.portal.kernel.exception.SystemException {
654 return getService().getPages(resourcePrimKey, nodeId, status);
655 }
656
657 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
658 long userId, long nodeId, int status, int start, int end)
659 throws com.liferay.portal.kernel.exception.SystemException {
660 return getService().getPages(userId, nodeId, status, start, end);
661 }
662
663 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
664 long nodeId, java.lang.String title, boolean head, int start, int end)
665 throws com.liferay.portal.kernel.exception.SystemException {
666 return getService().getPages(nodeId, title, head, start, end);
667 }
668
669 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
670 long nodeId, java.lang.String title, int start, int end)
671 throws com.liferay.portal.kernel.exception.SystemException {
672 return getService().getPages(nodeId, title, start, end);
673 }
674
675 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
676 long nodeId, java.lang.String title, int start, int end,
677 com.liferay.portal.kernel.util.OrderByComparator obc)
678 throws com.liferay.portal.kernel.exception.SystemException {
679 return getService().getPages(nodeId, title, start, end, obc);
680 }
681
682 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
683 java.lang.String format)
684 throws com.liferay.portal.kernel.exception.SystemException {
685 return getService().getPages(format);
686 }
687
688 public static int getPagesCount(long nodeId)
689 throws com.liferay.portal.kernel.exception.SystemException {
690 return getService().getPagesCount(nodeId);
691 }
692
693 public static int getPagesCount(long nodeId, boolean head)
694 throws com.liferay.portal.kernel.exception.SystemException {
695 return getService().getPagesCount(nodeId, head);
696 }
697
698 public static int getPagesCount(long nodeId, boolean head, int status)
699 throws com.liferay.portal.kernel.exception.SystemException {
700 return getService().getPagesCount(nodeId, head, status);
701 }
702
703 public static int getPagesCount(long nodeId, int status)
704 throws com.liferay.portal.kernel.exception.SystemException {
705 return getService().getPagesCount(nodeId, status);
706 }
707
708 public static int getPagesCount(long userId, long nodeId, int status)
709 throws com.liferay.portal.kernel.exception.SystemException {
710 return getService().getPagesCount(userId, nodeId, status);
711 }
712
713 public static int getPagesCount(long nodeId, java.lang.String title)
714 throws com.liferay.portal.kernel.exception.SystemException {
715 return getService().getPagesCount(nodeId, title);
716 }
717
718 public static int getPagesCount(long nodeId, java.lang.String title,
719 boolean head)
720 throws com.liferay.portal.kernel.exception.SystemException {
721 return getService().getPagesCount(nodeId, title, head);
722 }
723
724 public static int getPagesCount(java.lang.String format)
725 throws com.liferay.portal.kernel.exception.SystemException {
726 return getService().getPagesCount(format);
727 }
728
729
733 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
734 long nodeId, int start, int end)
735 throws com.liferay.portal.kernel.exception.PortalException,
736 com.liferay.portal.kernel.exception.SystemException {
737 return getService().getRecentChanges(nodeId, start, end);
738 }
739
740 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
741 long groupId, long nodeId, int start, int end)
742 throws com.liferay.portal.kernel.exception.SystemException {
743 return getService().getRecentChanges(groupId, nodeId, start, end);
744 }
745
746
750 public static int getRecentChangesCount(long nodeId)
751 throws com.liferay.portal.kernel.exception.PortalException,
752 com.liferay.portal.kernel.exception.SystemException {
753 return getService().getRecentChangesCount(nodeId);
754 }
755
756 public static int getRecentChangesCount(long groupId, long nodeId)
757 throws com.liferay.portal.kernel.exception.SystemException {
758 return getService().getRecentChangesCount(groupId, nodeId);
759 }
760
761 public static java.lang.String[] getTempPageAttachmentNames(long groupId,
762 long userId, java.lang.String tempFolderName)
763 throws com.liferay.portal.kernel.exception.PortalException,
764 com.liferay.portal.kernel.exception.SystemException {
765 return getService()
766 .getTempPageAttachmentNames(groupId, userId, tempFolderName);
767 }
768
769 public static boolean hasDraftPage(long nodeId, java.lang.String title)
770 throws com.liferay.portal.kernel.exception.SystemException {
771 return getService().hasDraftPage(nodeId, title);
772 }
773
774 public static void movePage(long userId, long nodeId,
775 java.lang.String title, java.lang.String newTitle, boolean strict,
776 com.liferay.portal.service.ServiceContext serviceContext)
777 throws com.liferay.portal.kernel.exception.PortalException,
778 com.liferay.portal.kernel.exception.SystemException {
779 getService()
780 .movePage(userId, nodeId, title, newTitle, strict, serviceContext);
781 }
782
783 public static void movePage(long userId, long nodeId,
784 java.lang.String title, java.lang.String newTitle,
785 com.liferay.portal.service.ServiceContext serviceContext)
786 throws com.liferay.portal.kernel.exception.PortalException,
787 com.liferay.portal.kernel.exception.SystemException {
788 getService().movePage(userId, nodeId, title, newTitle, serviceContext);
789 }
790
791 public static com.liferay.portal.kernel.repository.model.FileEntry movePageAttachmentToTrash(
792 long userId, long nodeId, java.lang.String title,
793 java.lang.String fileName)
794 throws com.liferay.portal.kernel.exception.PortalException,
795 com.liferay.portal.kernel.exception.SystemException {
796 return getService()
797 .movePageAttachmentToTrash(userId, nodeId, title, fileName);
798 }
799
800 public static com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
801 long userId, long nodeId, java.lang.String title)
802 throws com.liferay.portal.kernel.exception.PortalException,
803 com.liferay.portal.kernel.exception.SystemException {
804 return getService().movePageToTrash(userId, nodeId, title);
805 }
806
807 public static com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
808 long userId, long nodeId, java.lang.String title, double version)
809 throws com.liferay.portal.kernel.exception.PortalException,
810 com.liferay.portal.kernel.exception.SystemException {
811 return getService().movePageToTrash(userId, nodeId, title, version);
812 }
813
814 public static com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
815 long userId, com.liferay.portlet.wiki.model.WikiPage page)
816 throws com.liferay.portal.kernel.exception.PortalException,
817 com.liferay.portal.kernel.exception.SystemException {
818 return getService().movePageToTrash(userId, page);
819 }
820
821 public static void restorePageAttachmentFromTrash(long userId, long nodeId,
822 java.lang.String title, java.lang.String fileName)
823 throws com.liferay.portal.kernel.exception.PortalException,
824 com.liferay.portal.kernel.exception.SystemException {
825 getService()
826 .restorePageAttachmentFromTrash(userId, nodeId, title, fileName);
827 }
828
829 public static void restorePageFromTrash(long userId,
830 com.liferay.portlet.wiki.model.WikiPage page)
831 throws com.liferay.portal.kernel.exception.PortalException,
832 com.liferay.portal.kernel.exception.SystemException {
833 getService().restorePageFromTrash(userId, page);
834 }
835
836 public static com.liferay.portlet.wiki.model.WikiPage revertPage(
837 long userId, long nodeId, java.lang.String title, double version,
838 com.liferay.portal.service.ServiceContext serviceContext)
839 throws com.liferay.portal.kernel.exception.PortalException,
840 com.liferay.portal.kernel.exception.SystemException {
841 return getService()
842 .revertPage(userId, nodeId, title, version, serviceContext);
843 }
844
845 public static void subscribePage(long userId, long nodeId,
846 java.lang.String title)
847 throws com.liferay.portal.kernel.exception.PortalException,
848 com.liferay.portal.kernel.exception.SystemException {
849 getService().subscribePage(userId, nodeId, title);
850 }
851
852 public static void unsubscribePage(long userId, long nodeId,
853 java.lang.String title)
854 throws com.liferay.portal.kernel.exception.PortalException,
855 com.liferay.portal.kernel.exception.SystemException {
856 getService().unsubscribePage(userId, nodeId, title);
857 }
858
859 public static void updateAsset(long userId,
860 com.liferay.portlet.wiki.model.WikiPage page, long[] assetCategoryIds,
861 java.lang.String[] assetTagNames, long[] assetLinkEntryIds)
862 throws com.liferay.portal.kernel.exception.PortalException,
863 com.liferay.portal.kernel.exception.SystemException {
864 getService()
865 .updateAsset(userId, page, assetCategoryIds, assetTagNames,
866 assetLinkEntryIds);
867 }
868
869 public static com.liferay.portlet.wiki.model.WikiPage updatePage(
870 long userId, long nodeId, java.lang.String title, double version,
871 java.lang.String content, java.lang.String summary, boolean minorEdit,
872 java.lang.String format, java.lang.String parentTitle,
873 java.lang.String redirectTitle,
874 com.liferay.portal.service.ServiceContext serviceContext)
875 throws com.liferay.portal.kernel.exception.PortalException,
876 com.liferay.portal.kernel.exception.SystemException {
877 return getService()
878 .updatePage(userId, nodeId, title, version, content,
879 summary, minorEdit, format, parentTitle, redirectTitle,
880 serviceContext);
881 }
882
883 public static com.liferay.portlet.wiki.model.WikiPage updateStatus(
884 long userId, long resourcePrimKey, int status,
885 com.liferay.portal.service.ServiceContext serviceContext)
886 throws com.liferay.portal.kernel.exception.PortalException,
887 com.liferay.portal.kernel.exception.SystemException {
888 return getService()
889 .updateStatus(userId, resourcePrimKey, status, serviceContext);
890 }
891
892 public static com.liferay.portlet.wiki.model.WikiPage updateStatus(
893 long userId, com.liferay.portlet.wiki.model.WikiPage page, int status,
894 com.liferay.portal.service.ServiceContext serviceContext)
895 throws com.liferay.portal.kernel.exception.PortalException,
896 com.liferay.portal.kernel.exception.SystemException {
897 return getService().updateStatus(userId, page, status, serviceContext);
898 }
899
900 public static void validateTitle(java.lang.String title)
901 throws com.liferay.portal.kernel.exception.PortalException {
902 getService().validateTitle(title);
903 }
904
905 public static WikiPageLocalService getService() {
906 if (_service == null) {
907 _service = (WikiPageLocalService)PortalBeanLocatorUtil.locate(WikiPageLocalService.class.getName());
908
909 ReferenceRegistry.registerReference(WikiPageLocalServiceUtil.class,
910 "_service");
911 }
912
913 return _service;
914 }
915
916
919 public void setService(WikiPageLocalService service) {
920 }
921
922 private static WikiPageLocalService _service;
923 }