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
033 public class WikiPageLocalServiceUtil {
034
039
040
047 public static com.liferay.portlet.wiki.model.WikiPage addWikiPage(
048 com.liferay.portlet.wiki.model.WikiPage wikiPage)
049 throws com.liferay.portal.kernel.exception.SystemException {
050 return getService().addWikiPage(wikiPage);
051 }
052
053
059 public static com.liferay.portlet.wiki.model.WikiPage createWikiPage(
060 long pageId) {
061 return getService().createWikiPage(pageId);
062 }
063
064
072 public static com.liferay.portlet.wiki.model.WikiPage deleteWikiPage(
073 long pageId)
074 throws com.liferay.portal.kernel.exception.PortalException,
075 com.liferay.portal.kernel.exception.SystemException {
076 return getService().deleteWikiPage(pageId);
077 }
078
079
086 public static com.liferay.portlet.wiki.model.WikiPage deleteWikiPage(
087 com.liferay.portlet.wiki.model.WikiPage wikiPage)
088 throws com.liferay.portal.kernel.exception.SystemException {
089 return getService().deleteWikiPage(wikiPage);
090 }
091
092 public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
093 return getService().dynamicQuery();
094 }
095
096
103 @SuppressWarnings("rawtypes")
104 public static java.util.List dynamicQuery(
105 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
106 throws com.liferay.portal.kernel.exception.SystemException {
107 return getService().dynamicQuery(dynamicQuery);
108 }
109
110
123 @SuppressWarnings("rawtypes")
124 public static java.util.List dynamicQuery(
125 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
126 int end) throws com.liferay.portal.kernel.exception.SystemException {
127 return getService().dynamicQuery(dynamicQuery, start, end);
128 }
129
130
144 @SuppressWarnings("rawtypes")
145 public static java.util.List dynamicQuery(
146 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
147 int end,
148 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
149 throws com.liferay.portal.kernel.exception.SystemException {
150 return getService()
151 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
152 }
153
154
161 public static long dynamicQueryCount(
162 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
163 throws com.liferay.portal.kernel.exception.SystemException {
164 return getService().dynamicQueryCount(dynamicQuery);
165 }
166
167 public static com.liferay.portlet.wiki.model.WikiPage fetchWikiPage(
168 long pageId) throws com.liferay.portal.kernel.exception.SystemException {
169 return getService().fetchWikiPage(pageId);
170 }
171
172
180 public static com.liferay.portlet.wiki.model.WikiPage getWikiPage(
181 long pageId)
182 throws com.liferay.portal.kernel.exception.PortalException,
183 com.liferay.portal.kernel.exception.SystemException {
184 return getService().getWikiPage(pageId);
185 }
186
187 public static com.liferay.portal.model.PersistedModel getPersistedModel(
188 java.io.Serializable primaryKeyObj)
189 throws com.liferay.portal.kernel.exception.PortalException,
190 com.liferay.portal.kernel.exception.SystemException {
191 return getService().getPersistedModel(primaryKeyObj);
192 }
193
194
203 public static com.liferay.portlet.wiki.model.WikiPage getWikiPageByUuidAndGroupId(
204 java.lang.String uuid, long groupId)
205 throws com.liferay.portal.kernel.exception.PortalException,
206 com.liferay.portal.kernel.exception.SystemException {
207 return getService().getWikiPageByUuidAndGroupId(uuid, groupId);
208 }
209
210
222 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getWikiPages(
223 int start, int end)
224 throws com.liferay.portal.kernel.exception.SystemException {
225 return getService().getWikiPages(start, end);
226 }
227
228
234 public static int getWikiPagesCount()
235 throws com.liferay.portal.kernel.exception.SystemException {
236 return getService().getWikiPagesCount();
237 }
238
239
246 public static com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
247 com.liferay.portlet.wiki.model.WikiPage wikiPage)
248 throws com.liferay.portal.kernel.exception.SystemException {
249 return getService().updateWikiPage(wikiPage);
250 }
251
252
260 public static com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
261 com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
262 throws com.liferay.portal.kernel.exception.SystemException {
263 return getService().updateWikiPage(wikiPage, merge);
264 }
265
266
271 public static java.lang.String getBeanIdentifier() {
272 return getService().getBeanIdentifier();
273 }
274
275
280 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
281 getService().setBeanIdentifier(beanIdentifier);
282 }
283
284 public static com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
285 long nodeId, java.lang.String title, double version,
286 java.lang.String content, java.lang.String summary, boolean minorEdit,
287 java.lang.String format, boolean head, java.lang.String parentTitle,
288 java.lang.String redirectTitle,
289 com.liferay.portal.service.ServiceContext serviceContext)
290 throws com.liferay.portal.kernel.exception.PortalException,
291 com.liferay.portal.kernel.exception.SystemException {
292 return getService()
293 .addPage(userId, nodeId, title, version, content, summary,
294 minorEdit, format, head, parentTitle, redirectTitle, serviceContext);
295 }
296
297 public static com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
298 long nodeId, java.lang.String title, java.lang.String content,
299 java.lang.String summary, boolean minorEdit,
300 com.liferay.portal.service.ServiceContext serviceContext)
301 throws com.liferay.portal.kernel.exception.PortalException,
302 com.liferay.portal.kernel.exception.SystemException {
303 return getService()
304 .addPage(userId, nodeId, title, content, summary, minorEdit,
305 serviceContext);
306 }
307
308 public static void addPageAttachment(long userId, long nodeId,
309 java.lang.String title, java.lang.String fileName, java.io.File file)
310 throws com.liferay.portal.kernel.exception.PortalException,
311 com.liferay.portal.kernel.exception.SystemException {
312 getService().addPageAttachment(userId, nodeId, title, fileName, file);
313 }
314
315 public static void addPageAttachment(long userId, long nodeId,
316 java.lang.String title, java.lang.String fileName,
317 java.io.InputStream inputStream)
318 throws com.liferay.portal.kernel.exception.PortalException,
319 com.liferay.portal.kernel.exception.SystemException {
320 getService()
321 .addPageAttachment(userId, nodeId, title, fileName, inputStream);
322 }
323
324 public static void addPageAttachment(long companyId,
325 java.lang.String dirName, java.util.Date modifiedDate,
326 java.lang.String fileName, java.io.InputStream inputStream)
327 throws com.liferay.portal.kernel.exception.PortalException,
328 com.liferay.portal.kernel.exception.SystemException {
329 getService()
330 .addPageAttachment(companyId, dirName, modifiedDate, fileName,
331 inputStream);
332 }
333
334 public static void addPageAttachments(long userId, long nodeId,
335 java.lang.String title,
336 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreams)
337 throws com.liferay.portal.kernel.exception.PortalException,
338 com.liferay.portal.kernel.exception.SystemException {
339 getService().addPageAttachments(userId, nodeId, title, inputStreams);
340 }
341
342 public static void addPageResources(long nodeId, java.lang.String title,
343 boolean addGroupPermissions, boolean addGuestPermissions)
344 throws com.liferay.portal.kernel.exception.PortalException,
345 com.liferay.portal.kernel.exception.SystemException {
346 getService()
347 .addPageResources(nodeId, title, addGroupPermissions,
348 addGuestPermissions);
349 }
350
351 public static void addPageResources(long nodeId, java.lang.String title,
352 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
353 throws com.liferay.portal.kernel.exception.PortalException,
354 com.liferay.portal.kernel.exception.SystemException {
355 getService()
356 .addPageResources(nodeId, title, groupPermissions, guestPermissions);
357 }
358
359 public static void addPageResources(
360 com.liferay.portlet.wiki.model.WikiPage page,
361 boolean addGroupPermissions, boolean addGuestPermissions)
362 throws com.liferay.portal.kernel.exception.PortalException,
363 com.liferay.portal.kernel.exception.SystemException {
364 getService()
365 .addPageResources(page, addGroupPermissions, addGuestPermissions);
366 }
367
368 public static void addPageResources(
369 com.liferay.portlet.wiki.model.WikiPage page,
370 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
371 throws com.liferay.portal.kernel.exception.PortalException,
372 com.liferay.portal.kernel.exception.SystemException {
373 getService().addPageResources(page, groupPermissions, guestPermissions);
374 }
375
376 public static java.lang.String addTempPageAttachment(long userId,
377 java.lang.String fileName, java.lang.String tempFolderName,
378 java.io.InputStream inputStream)
379 throws com.liferay.portal.kernel.exception.PortalException,
380 com.liferay.portal.kernel.exception.SystemException {
381 return getService()
382 .addTempPageAttachment(userId, fileName, tempFolderName,
383 inputStream);
384 }
385
386 public static void changeParent(long userId, long nodeId,
387 java.lang.String title, java.lang.String newParentTitle,
388 com.liferay.portal.service.ServiceContext serviceContext)
389 throws com.liferay.portal.kernel.exception.PortalException,
390 com.liferay.portal.kernel.exception.SystemException {
391 getService()
392 .changeParent(userId, nodeId, title, newParentTitle, serviceContext);
393 }
394
395 public static void deletePage(long nodeId, java.lang.String title)
396 throws com.liferay.portal.kernel.exception.PortalException,
397 com.liferay.portal.kernel.exception.SystemException {
398 getService().deletePage(nodeId, title);
399 }
400
401 public static void deletePage(long nodeId, java.lang.String title,
402 double version)
403 throws com.liferay.portal.kernel.exception.PortalException,
404 com.liferay.portal.kernel.exception.SystemException {
405 getService().deletePage(nodeId, title, version);
406 }
407
408 public static void deletePage(com.liferay.portlet.wiki.model.WikiPage page)
409 throws com.liferay.portal.kernel.exception.PortalException,
410 com.liferay.portal.kernel.exception.SystemException {
411 getService().deletePage(page);
412 }
413
414 public static void deletePageAttachment(long nodeId,
415 java.lang.String title, java.lang.String fileName)
416 throws com.liferay.portal.kernel.exception.PortalException,
417 com.liferay.portal.kernel.exception.SystemException {
418 getService().deletePageAttachment(nodeId, title, fileName);
419 }
420
421 public static void deletePages(long nodeId)
422 throws com.liferay.portal.kernel.exception.PortalException,
423 com.liferay.portal.kernel.exception.SystemException {
424 getService().deletePages(nodeId);
425 }
426
427 public static void deleteTempPageAttachment(long userId,
428 java.lang.String fileName, java.lang.String tempFolderName)
429 throws com.liferay.portal.kernel.exception.PortalException,
430 com.liferay.portal.kernel.exception.SystemException {
431 getService().deleteTempPageAttachment(userId, fileName, tempFolderName);
432 }
433
434 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(
435 long nodeId, boolean head, java.lang.String parentTitle)
436 throws com.liferay.portal.kernel.exception.SystemException {
437 return getService().getChildren(nodeId, head, parentTitle);
438 }
439
440 public static com.liferay.portlet.wiki.model.WikiPage getDraftPage(
441 long nodeId, java.lang.String title)
442 throws com.liferay.portal.kernel.exception.PortalException,
443 com.liferay.portal.kernel.exception.SystemException {
444 return getService().getDraftPage(nodeId, title);
445 }
446
447 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getIncomingLinks(
448 long nodeId, java.lang.String title)
449 throws com.liferay.portal.kernel.exception.PortalException,
450 com.liferay.portal.kernel.exception.SystemException {
451 return getService().getIncomingLinks(nodeId, title);
452 }
453
454 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNoAssetPages()
455 throws com.liferay.portal.kernel.exception.SystemException {
456 return getService().getNoAssetPages();
457 }
458
459 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(
460 long nodeId)
461 throws com.liferay.portal.kernel.exception.PortalException,
462 com.liferay.portal.kernel.exception.SystemException {
463 return getService().getOrphans(nodeId);
464 }
465
466 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOutgoingLinks(
467 long nodeId, java.lang.String title)
468 throws com.liferay.portal.kernel.exception.PortalException,
469 com.liferay.portal.kernel.exception.SystemException {
470 return getService().getOutgoingLinks(nodeId, title);
471 }
472
473 public static com.liferay.portlet.wiki.model.WikiPage getPage(
474 long resourcePrimKey)
475 throws com.liferay.portal.kernel.exception.PortalException,
476 com.liferay.portal.kernel.exception.SystemException {
477 return getService().getPage(resourcePrimKey);
478 }
479
480 public static com.liferay.portlet.wiki.model.WikiPage getPage(
481 long resourcePrimKey, java.lang.Boolean head)
482 throws com.liferay.portal.kernel.exception.PortalException,
483 com.liferay.portal.kernel.exception.SystemException {
484 return getService().getPage(resourcePrimKey, head);
485 }
486
487 public static com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
488 java.lang.String title)
489 throws com.liferay.portal.kernel.exception.PortalException,
490 com.liferay.portal.kernel.exception.SystemException {
491 return getService().getPage(nodeId, title);
492 }
493
494 public static com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
495 java.lang.String title, java.lang.Boolean head)
496 throws com.liferay.portal.kernel.exception.PortalException,
497 com.liferay.portal.kernel.exception.SystemException {
498 return getService().getPage(nodeId, title, head);
499 }
500
501 public static com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
502 java.lang.String title, double version)
503 throws com.liferay.portal.kernel.exception.PortalException,
504 com.liferay.portal.kernel.exception.SystemException {
505 return getService().getPage(nodeId, title, version);
506 }
507
508 public static com.liferay.portlet.wiki.model.WikiPage getPageByPageId(
509 long pageId)
510 throws com.liferay.portal.kernel.exception.PortalException,
511 com.liferay.portal.kernel.exception.SystemException {
512 return getService().getPageByPageId(pageId);
513 }
514
515 public static com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
516 long nodeId, java.lang.String title,
517 javax.portlet.PortletURL viewPageURL,
518 javax.portlet.PortletURL editPageURL,
519 java.lang.String attachmentURLPrefix)
520 throws com.liferay.portal.kernel.exception.PortalException,
521 com.liferay.portal.kernel.exception.SystemException {
522 return getService()
523 .getPageDisplay(nodeId, title, viewPageURL, editPageURL,
524 attachmentURLPrefix);
525 }
526
527 public static com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
528 com.liferay.portlet.wiki.model.WikiPage page,
529 javax.portlet.PortletURL viewPageURL,
530 javax.portlet.PortletURL editPageURL,
531 java.lang.String attachmentURLPrefix)
532 throws com.liferay.portal.kernel.exception.PortalException,
533 com.liferay.portal.kernel.exception.SystemException {
534 return getService()
535 .getPageDisplay(page, viewPageURL, editPageURL,
536 attachmentURLPrefix);
537 }
538
539 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
540 long nodeId, boolean head, int start, int end)
541 throws com.liferay.portal.kernel.exception.SystemException {
542 return getService().getPages(nodeId, head, start, end);
543 }
544
545 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
546 long nodeId, boolean head, int start, int end,
547 com.liferay.portal.kernel.util.OrderByComparator obc)
548 throws com.liferay.portal.kernel.exception.SystemException {
549 return getService().getPages(nodeId, head, start, end, obc);
550 }
551
552 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
553 long nodeId, int start, int end)
554 throws com.liferay.portal.kernel.exception.SystemException {
555 return getService().getPages(nodeId, start, end);
556 }
557
558 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
559 long nodeId, int start, int end,
560 com.liferay.portal.kernel.util.OrderByComparator obc)
561 throws com.liferay.portal.kernel.exception.SystemException {
562 return getService().getPages(nodeId, start, end, obc);
563 }
564
565 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
566 long resourcePrimKey, long nodeId, int status)
567 throws com.liferay.portal.kernel.exception.SystemException {
568 return getService().getPages(resourcePrimKey, nodeId, status);
569 }
570
571 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
572 long userId, long nodeId, int status, int start, int end)
573 throws com.liferay.portal.kernel.exception.SystemException {
574 return getService().getPages(userId, nodeId, status, start, end);
575 }
576
577 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
578 long nodeId, java.lang.String title, boolean head, int start, int end)
579 throws com.liferay.portal.kernel.exception.SystemException {
580 return getService().getPages(nodeId, title, head, start, end);
581 }
582
583 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
584 long nodeId, java.lang.String title, int start, int end)
585 throws com.liferay.portal.kernel.exception.SystemException {
586 return getService().getPages(nodeId, title, start, end);
587 }
588
589 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
590 long nodeId, java.lang.String title, int start, int end,
591 com.liferay.portal.kernel.util.OrderByComparator obc)
592 throws com.liferay.portal.kernel.exception.SystemException {
593 return getService().getPages(nodeId, title, start, end, obc);
594 }
595
596 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
597 java.lang.String format)
598 throws com.liferay.portal.kernel.exception.SystemException {
599 return getService().getPages(format);
600 }
601
602 public static int getPagesCount(long nodeId)
603 throws com.liferay.portal.kernel.exception.SystemException {
604 return getService().getPagesCount(nodeId);
605 }
606
607 public static int getPagesCount(long nodeId, boolean head)
608 throws com.liferay.portal.kernel.exception.SystemException {
609 return getService().getPagesCount(nodeId, head);
610 }
611
612 public static int getPagesCount(long userId, long nodeId, int status)
613 throws com.liferay.portal.kernel.exception.SystemException {
614 return getService().getPagesCount(userId, nodeId, status);
615 }
616
617 public static int getPagesCount(long nodeId, java.lang.String title)
618 throws com.liferay.portal.kernel.exception.SystemException {
619 return getService().getPagesCount(nodeId, title);
620 }
621
622 public static int getPagesCount(long nodeId, java.lang.String title,
623 boolean head)
624 throws com.liferay.portal.kernel.exception.SystemException {
625 return getService().getPagesCount(nodeId, title, head);
626 }
627
628 public static int getPagesCount(java.lang.String format)
629 throws com.liferay.portal.kernel.exception.SystemException {
630 return getService().getPagesCount(format);
631 }
632
633
636 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
637 long nodeId, int start, int end)
638 throws com.liferay.portal.kernel.exception.PortalException,
639 com.liferay.portal.kernel.exception.SystemException {
640 return getService().getRecentChanges(nodeId, start, end);
641 }
642
643 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
644 long groupId, long nodeId, int start, int end)
645 throws com.liferay.portal.kernel.exception.SystemException {
646 return getService().getRecentChanges(groupId, nodeId, start, end);
647 }
648
649
652 public static int getRecentChangesCount(long nodeId)
653 throws com.liferay.portal.kernel.exception.PortalException,
654 com.liferay.portal.kernel.exception.SystemException {
655 return getService().getRecentChangesCount(nodeId);
656 }
657
658 public static int getRecentChangesCount(long groupId, long nodeId)
659 throws com.liferay.portal.kernel.exception.SystemException {
660 return getService().getRecentChangesCount(groupId, nodeId);
661 }
662
663 public static java.lang.String[] getTempPageAttachmentNames(long userId,
664 java.lang.String tempFolderName) {
665 return getService().getTempPageAttachmentNames(userId, tempFolderName);
666 }
667
668 public static boolean hasDraftPage(long nodeId, java.lang.String title)
669 throws com.liferay.portal.kernel.exception.SystemException {
670 return getService().hasDraftPage(nodeId, title);
671 }
672
673 public static void movePage(long userId, long nodeId,
674 java.lang.String title, java.lang.String newTitle, boolean strict,
675 com.liferay.portal.service.ServiceContext serviceContext)
676 throws com.liferay.portal.kernel.exception.PortalException,
677 com.liferay.portal.kernel.exception.SystemException {
678 getService()
679 .movePage(userId, nodeId, title, newTitle, strict, serviceContext);
680 }
681
682 public static void movePage(long userId, long nodeId,
683 java.lang.String title, java.lang.String newTitle,
684 com.liferay.portal.service.ServiceContext serviceContext)
685 throws com.liferay.portal.kernel.exception.PortalException,
686 com.liferay.portal.kernel.exception.SystemException {
687 getService().movePage(userId, nodeId, title, newTitle, serviceContext);
688 }
689
690 public static com.liferay.portlet.wiki.model.WikiPage revertPage(
691 long userId, long nodeId, java.lang.String title, double version,
692 com.liferay.portal.service.ServiceContext serviceContext)
693 throws com.liferay.portal.kernel.exception.PortalException,
694 com.liferay.portal.kernel.exception.SystemException {
695 return getService()
696 .revertPage(userId, nodeId, title, version, serviceContext);
697 }
698
699 public static void subscribePage(long userId, long nodeId,
700 java.lang.String title)
701 throws com.liferay.portal.kernel.exception.PortalException,
702 com.liferay.portal.kernel.exception.SystemException {
703 getService().subscribePage(userId, nodeId, title);
704 }
705
706 public static void unsubscribePage(long userId, long nodeId,
707 java.lang.String title)
708 throws com.liferay.portal.kernel.exception.PortalException,
709 com.liferay.portal.kernel.exception.SystemException {
710 getService().unsubscribePage(userId, nodeId, title);
711 }
712
713 public static void updateAsset(long userId,
714 com.liferay.portlet.wiki.model.WikiPage page, long[] assetCategoryIds,
715 java.lang.String[] assetTagNames, long[] assetLinkEntryIds)
716 throws com.liferay.portal.kernel.exception.PortalException,
717 com.liferay.portal.kernel.exception.SystemException {
718 getService()
719 .updateAsset(userId, page, assetCategoryIds, assetTagNames,
720 assetLinkEntryIds);
721 }
722
723 public static com.liferay.portlet.wiki.model.WikiPage updatePage(
724 long userId, long nodeId, java.lang.String title, double version,
725 java.lang.String content, java.lang.String summary, boolean minorEdit,
726 java.lang.String format, java.lang.String parentTitle,
727 java.lang.String redirectTitle,
728 com.liferay.portal.service.ServiceContext serviceContext)
729 throws com.liferay.portal.kernel.exception.PortalException,
730 com.liferay.portal.kernel.exception.SystemException {
731 return getService()
732 .updatePage(userId, nodeId, title, version, content,
733 summary, minorEdit, format, parentTitle, redirectTitle,
734 serviceContext);
735 }
736
737 public static com.liferay.portlet.wiki.model.WikiPage updateStatus(
738 long userId, long resourcePrimKey, int status,
739 com.liferay.portal.service.ServiceContext serviceContext)
740 throws com.liferay.portal.kernel.exception.PortalException,
741 com.liferay.portal.kernel.exception.SystemException {
742 return getService()
743 .updateStatus(userId, resourcePrimKey, status, serviceContext);
744 }
745
746 public static com.liferay.portlet.wiki.model.WikiPage updateStatus(
747 long userId, com.liferay.portlet.wiki.model.WikiPage page, int status,
748 com.liferay.portal.service.ServiceContext serviceContext)
749 throws com.liferay.portal.kernel.exception.PortalException,
750 com.liferay.portal.kernel.exception.SystemException {
751 return getService().updateStatus(userId, page, status, serviceContext);
752 }
753
754 public static void validateTitle(java.lang.String title)
755 throws com.liferay.portal.kernel.exception.PortalException {
756 getService().validateTitle(title);
757 }
758
759 public static WikiPageLocalService getService() {
760 if (_service == null) {
761 _service = (WikiPageLocalService)PortalBeanLocatorUtil.locate(WikiPageLocalService.class.getName());
762
763 ReferenceRegistry.registerReference(WikiPageLocalServiceUtil.class,
764 "_service");
765 }
766
767 return _service;
768 }
769
770
773 public void setService(WikiPageLocalService service) {
774 }
775
776 private static WikiPageLocalService _service;
777 }