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.MethodCache;
019 import com.liferay.portal.kernel.util.ReferenceRegistry;
020
021
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
072 public static void deleteWikiPage(long pageId)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException {
075 getService().deleteWikiPage(pageId);
076 }
077
078
084 public static void deleteWikiPage(
085 com.liferay.portlet.wiki.model.WikiPage wikiPage)
086 throws com.liferay.portal.kernel.exception.SystemException {
087 getService().deleteWikiPage(wikiPage);
088 }
089
090
097 @SuppressWarnings("rawtypes")
098 public static java.util.List dynamicQuery(
099 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
100 throws com.liferay.portal.kernel.exception.SystemException {
101 return getService().dynamicQuery(dynamicQuery);
102 }
103
104
117 @SuppressWarnings("rawtypes")
118 public static java.util.List dynamicQuery(
119 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
120 int end) throws com.liferay.portal.kernel.exception.SystemException {
121 return getService().dynamicQuery(dynamicQuery, start, end);
122 }
123
124
138 @SuppressWarnings("rawtypes")
139 public static java.util.List dynamicQuery(
140 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
141 int end,
142 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
143 throws com.liferay.portal.kernel.exception.SystemException {
144 return getService()
145 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
146 }
147
148
155 public static long dynamicQueryCount(
156 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
157 throws com.liferay.portal.kernel.exception.SystemException {
158 return getService().dynamicQueryCount(dynamicQuery);
159 }
160
161 public static com.liferay.portlet.wiki.model.WikiPage fetchWikiPage(
162 long pageId) throws com.liferay.portal.kernel.exception.SystemException {
163 return getService().fetchWikiPage(pageId);
164 }
165
166
174 public static com.liferay.portlet.wiki.model.WikiPage getWikiPage(
175 long pageId)
176 throws com.liferay.portal.kernel.exception.PortalException,
177 com.liferay.portal.kernel.exception.SystemException {
178 return getService().getWikiPage(pageId);
179 }
180
181 public static com.liferay.portal.model.PersistedModel getPersistedModel(
182 java.io.Serializable primaryKeyObj)
183 throws com.liferay.portal.kernel.exception.PortalException,
184 com.liferay.portal.kernel.exception.SystemException {
185 return getService().getPersistedModel(primaryKeyObj);
186 }
187
188
197 public static com.liferay.portlet.wiki.model.WikiPage getWikiPageByUuidAndGroupId(
198 java.lang.String uuid, long groupId)
199 throws com.liferay.portal.kernel.exception.PortalException,
200 com.liferay.portal.kernel.exception.SystemException {
201 return getService().getWikiPageByUuidAndGroupId(uuid, groupId);
202 }
203
204
216 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getWikiPages(
217 int start, int end)
218 throws com.liferay.portal.kernel.exception.SystemException {
219 return getService().getWikiPages(start, end);
220 }
221
222
228 public static int getWikiPagesCount()
229 throws com.liferay.portal.kernel.exception.SystemException {
230 return getService().getWikiPagesCount();
231 }
232
233
240 public static com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
241 com.liferay.portlet.wiki.model.WikiPage wikiPage)
242 throws com.liferay.portal.kernel.exception.SystemException {
243 return getService().updateWikiPage(wikiPage);
244 }
245
246
254 public static com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
255 com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
256 throws com.liferay.portal.kernel.exception.SystemException {
257 return getService().updateWikiPage(wikiPage, merge);
258 }
259
260
265 public static java.lang.String getBeanIdentifier() {
266 return getService().getBeanIdentifier();
267 }
268
269
274 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
275 getService().setBeanIdentifier(beanIdentifier);
276 }
277
278 public static com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
279 long nodeId, java.lang.String title, double version,
280 java.lang.String content, java.lang.String summary, boolean minorEdit,
281 java.lang.String format, boolean head, java.lang.String parentTitle,
282 java.lang.String redirectTitle,
283 com.liferay.portal.service.ServiceContext serviceContext)
284 throws com.liferay.portal.kernel.exception.PortalException,
285 com.liferay.portal.kernel.exception.SystemException {
286 return getService()
287 .addPage(userId, nodeId, title, version, content, summary,
288 minorEdit, format, head, parentTitle, redirectTitle, serviceContext);
289 }
290
291 public static com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
292 long nodeId, java.lang.String title, java.lang.String content,
293 java.lang.String summary, boolean minorEdit,
294 com.liferay.portal.service.ServiceContext serviceContext)
295 throws com.liferay.portal.kernel.exception.PortalException,
296 com.liferay.portal.kernel.exception.SystemException {
297 return getService()
298 .addPage(userId, nodeId, title, content, summary, minorEdit,
299 serviceContext);
300 }
301
302 public static void addPageAttachment(long userId, long nodeId,
303 java.lang.String title, java.lang.String fileName, java.io.File file)
304 throws com.liferay.portal.kernel.exception.PortalException,
305 com.liferay.portal.kernel.exception.SystemException {
306 getService().addPageAttachment(userId, nodeId, title, fileName, file);
307 }
308
309 public static void addPageAttachment(long userId, long nodeId,
310 java.lang.String title, java.lang.String fileName,
311 java.io.InputStream inputStream)
312 throws com.liferay.portal.kernel.exception.PortalException,
313 com.liferay.portal.kernel.exception.SystemException {
314 getService()
315 .addPageAttachment(userId, nodeId, title, fileName, inputStream);
316 }
317
318 public static void addPageAttachment(long companyId,
319 java.lang.String dirName, java.util.Date modifiedDate,
320 java.lang.String fileName, java.io.InputStream inputStream)
321 throws com.liferay.portal.kernel.exception.PortalException,
322 com.liferay.portal.kernel.exception.SystemException {
323 getService()
324 .addPageAttachment(companyId, dirName, modifiedDate, fileName,
325 inputStream);
326 }
327
328 public static void addPageAttachments(long userId, long nodeId,
329 java.lang.String title,
330 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreams)
331 throws com.liferay.portal.kernel.exception.PortalException,
332 com.liferay.portal.kernel.exception.SystemException {
333 getService().addPageAttachments(userId, nodeId, title, inputStreams);
334 }
335
336 public static void addPageResources(long nodeId, java.lang.String title,
337 boolean addGroupPermissions, boolean addGuestPermissions)
338 throws com.liferay.portal.kernel.exception.PortalException,
339 com.liferay.portal.kernel.exception.SystemException {
340 getService()
341 .addPageResources(nodeId, title, addGroupPermissions,
342 addGuestPermissions);
343 }
344
345 public static void addPageResources(long nodeId, java.lang.String title,
346 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
347 throws com.liferay.portal.kernel.exception.PortalException,
348 com.liferay.portal.kernel.exception.SystemException {
349 getService()
350 .addPageResources(nodeId, title, groupPermissions, guestPermissions);
351 }
352
353 public static void addPageResources(
354 com.liferay.portlet.wiki.model.WikiPage page,
355 boolean addGroupPermissions, boolean addGuestPermissions)
356 throws com.liferay.portal.kernel.exception.PortalException,
357 com.liferay.portal.kernel.exception.SystemException {
358 getService()
359 .addPageResources(page, addGroupPermissions, addGuestPermissions);
360 }
361
362 public static void addPageResources(
363 com.liferay.portlet.wiki.model.WikiPage page,
364 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
365 throws com.liferay.portal.kernel.exception.PortalException,
366 com.liferay.portal.kernel.exception.SystemException {
367 getService().addPageResources(page, groupPermissions, guestPermissions);
368 }
369
370 public static java.lang.String addTempPageAttachment(long userId,
371 java.lang.String fileName, java.lang.String tempFolderName,
372 java.io.InputStream inputStream)
373 throws com.liferay.portal.kernel.exception.PortalException,
374 com.liferay.portal.kernel.exception.SystemException,
375 java.io.IOException {
376 return getService()
377 .addTempPageAttachment(userId, fileName, tempFolderName,
378 inputStream);
379 }
380
381 public static void changeParent(long userId, long nodeId,
382 java.lang.String title, java.lang.String newParentTitle,
383 com.liferay.portal.service.ServiceContext serviceContext)
384 throws com.liferay.portal.kernel.exception.PortalException,
385 com.liferay.portal.kernel.exception.SystemException {
386 getService()
387 .changeParent(userId, nodeId, title, newParentTitle, serviceContext);
388 }
389
390 public static void deletePage(long nodeId, java.lang.String title)
391 throws com.liferay.portal.kernel.exception.PortalException,
392 com.liferay.portal.kernel.exception.SystemException {
393 getService().deletePage(nodeId, title);
394 }
395
396 public static void deletePage(long nodeId, java.lang.String title,
397 double version)
398 throws com.liferay.portal.kernel.exception.PortalException,
399 com.liferay.portal.kernel.exception.SystemException {
400 getService().deletePage(nodeId, title, version);
401 }
402
403 public static void deletePage(com.liferay.portlet.wiki.model.WikiPage page)
404 throws com.liferay.portal.kernel.exception.PortalException,
405 com.liferay.portal.kernel.exception.SystemException {
406 getService().deletePage(page);
407 }
408
409 public static void deletePageAttachment(long nodeId,
410 java.lang.String title, java.lang.String fileName)
411 throws com.liferay.portal.kernel.exception.PortalException,
412 com.liferay.portal.kernel.exception.SystemException {
413 getService().deletePageAttachment(nodeId, title, fileName);
414 }
415
416 public static void deletePages(long nodeId)
417 throws com.liferay.portal.kernel.exception.PortalException,
418 com.liferay.portal.kernel.exception.SystemException {
419 getService().deletePages(nodeId);
420 }
421
422 public static void deleteTempPageAttachment(long userId,
423 java.lang.String fileName, java.lang.String tempFolderName) {
424 getService().deleteTempPageAttachment(userId, fileName, tempFolderName);
425 }
426
427 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(
428 long nodeId, boolean head, java.lang.String parentTitle)
429 throws com.liferay.portal.kernel.exception.SystemException {
430 return getService().getChildren(nodeId, head, parentTitle);
431 }
432
433 public static com.liferay.portlet.wiki.model.WikiPage getDraftPage(
434 long nodeId, java.lang.String title)
435 throws com.liferay.portal.kernel.exception.PortalException,
436 com.liferay.portal.kernel.exception.SystemException {
437 return getService().getDraftPage(nodeId, title);
438 }
439
440 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getIncomingLinks(
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().getIncomingLinks(nodeId, title);
445 }
446
447 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNoAssetPages()
448 throws com.liferay.portal.kernel.exception.SystemException {
449 return getService().getNoAssetPages();
450 }
451
452 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(
453 long nodeId)
454 throws com.liferay.portal.kernel.exception.PortalException,
455 com.liferay.portal.kernel.exception.SystemException {
456 return getService().getOrphans(nodeId);
457 }
458
459 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOutgoingLinks(
460 long nodeId, java.lang.String title)
461 throws com.liferay.portal.kernel.exception.PortalException,
462 com.liferay.portal.kernel.exception.SystemException {
463 return getService().getOutgoingLinks(nodeId, title);
464 }
465
466 public static com.liferay.portlet.wiki.model.WikiPage getPage(
467 long resourcePrimKey)
468 throws com.liferay.portal.kernel.exception.PortalException,
469 com.liferay.portal.kernel.exception.SystemException {
470 return getService().getPage(resourcePrimKey);
471 }
472
473 public static com.liferay.portlet.wiki.model.WikiPage getPage(
474 long resourcePrimKey, java.lang.Boolean head)
475 throws com.liferay.portal.kernel.exception.PortalException,
476 com.liferay.portal.kernel.exception.SystemException {
477 return getService().getPage(resourcePrimKey, head);
478 }
479
480 public static com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
481 java.lang.String title)
482 throws com.liferay.portal.kernel.exception.PortalException,
483 com.liferay.portal.kernel.exception.SystemException {
484 return getService().getPage(nodeId, title);
485 }
486
487 public static com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
488 java.lang.String title, java.lang.Boolean head)
489 throws com.liferay.portal.kernel.exception.PortalException,
490 com.liferay.portal.kernel.exception.SystemException {
491 return getService().getPage(nodeId, title, head);
492 }
493
494 public static com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
495 java.lang.String title, double version)
496 throws com.liferay.portal.kernel.exception.PortalException,
497 com.liferay.portal.kernel.exception.SystemException {
498 return getService().getPage(nodeId, title, version);
499 }
500
501 public static com.liferay.portlet.wiki.model.WikiPage getPageByPageId(
502 long pageId)
503 throws com.liferay.portal.kernel.exception.PortalException,
504 com.liferay.portal.kernel.exception.SystemException {
505 return getService().getPageByPageId(pageId);
506 }
507
508 public static com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
509 long nodeId, java.lang.String title,
510 javax.portlet.PortletURL viewPageURL,
511 javax.portlet.PortletURL editPageURL,
512 java.lang.String attachmentURLPrefix)
513 throws com.liferay.portal.kernel.exception.PortalException,
514 com.liferay.portal.kernel.exception.SystemException {
515 return getService()
516 .getPageDisplay(nodeId, title, viewPageURL, editPageURL,
517 attachmentURLPrefix);
518 }
519
520 public static com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
521 com.liferay.portlet.wiki.model.WikiPage page,
522 javax.portlet.PortletURL viewPageURL,
523 javax.portlet.PortletURL editPageURL,
524 java.lang.String attachmentURLPrefix)
525 throws com.liferay.portal.kernel.exception.PortalException,
526 com.liferay.portal.kernel.exception.SystemException {
527 return getService()
528 .getPageDisplay(page, viewPageURL, editPageURL,
529 attachmentURLPrefix);
530 }
531
532 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
533 long nodeId, boolean head, int start, int end)
534 throws com.liferay.portal.kernel.exception.SystemException {
535 return getService().getPages(nodeId, head, start, end);
536 }
537
538 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
539 long nodeId, boolean head, int start, int end,
540 com.liferay.portal.kernel.util.OrderByComparator obc)
541 throws com.liferay.portal.kernel.exception.SystemException {
542 return getService().getPages(nodeId, head, start, end, obc);
543 }
544
545 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
546 long nodeId, int start, int end)
547 throws com.liferay.portal.kernel.exception.SystemException {
548 return getService().getPages(nodeId, start, end);
549 }
550
551 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
552 long nodeId, int start, int end,
553 com.liferay.portal.kernel.util.OrderByComparator obc)
554 throws com.liferay.portal.kernel.exception.SystemException {
555 return getService().getPages(nodeId, start, end, obc);
556 }
557
558 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
559 long resourcePrimKey, long nodeId, int status)
560 throws com.liferay.portal.kernel.exception.SystemException {
561 return getService().getPages(resourcePrimKey, nodeId, status);
562 }
563
564 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
565 long userId, long nodeId, int status, int start, int end)
566 throws com.liferay.portal.kernel.exception.SystemException {
567 return getService().getPages(userId, nodeId, status, start, end);
568 }
569
570 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
571 long nodeId, java.lang.String title, boolean head, int start, int end)
572 throws com.liferay.portal.kernel.exception.SystemException {
573 return getService().getPages(nodeId, title, head, start, end);
574 }
575
576 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
577 long nodeId, java.lang.String title, int start, int end)
578 throws com.liferay.portal.kernel.exception.SystemException {
579 return getService().getPages(nodeId, title, start, end);
580 }
581
582 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
583 long nodeId, java.lang.String title, int start, int end,
584 com.liferay.portal.kernel.util.OrderByComparator obc)
585 throws com.liferay.portal.kernel.exception.SystemException {
586 return getService().getPages(nodeId, title, start, end, obc);
587 }
588
589 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
590 java.lang.String format)
591 throws com.liferay.portal.kernel.exception.SystemException {
592 return getService().getPages(format);
593 }
594
595 public static int getPagesCount(long nodeId)
596 throws com.liferay.portal.kernel.exception.SystemException {
597 return getService().getPagesCount(nodeId);
598 }
599
600 public static int getPagesCount(long nodeId, boolean head)
601 throws com.liferay.portal.kernel.exception.SystemException {
602 return getService().getPagesCount(nodeId, head);
603 }
604
605 public static int getPagesCount(long userId, long nodeId, int status)
606 throws com.liferay.portal.kernel.exception.SystemException {
607 return getService().getPagesCount(userId, nodeId, status);
608 }
609
610 public static int getPagesCount(long nodeId, java.lang.String title)
611 throws com.liferay.portal.kernel.exception.SystemException {
612 return getService().getPagesCount(nodeId, title);
613 }
614
615 public static int getPagesCount(long nodeId, java.lang.String title,
616 boolean head)
617 throws com.liferay.portal.kernel.exception.SystemException {
618 return getService().getPagesCount(nodeId, title, head);
619 }
620
621 public static int getPagesCount(java.lang.String format)
622 throws com.liferay.portal.kernel.exception.SystemException {
623 return getService().getPagesCount(format);
624 }
625
626 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
627 long nodeId, int start, int end)
628 throws com.liferay.portal.kernel.exception.SystemException {
629 return getService().getRecentChanges(nodeId, start, end);
630 }
631
632 public static int getRecentChangesCount(long nodeId)
633 throws com.liferay.portal.kernel.exception.SystemException {
634 return getService().getRecentChangesCount(nodeId);
635 }
636
637 public static java.lang.String[] getTempPageAttachmentNames(long userId,
638 java.lang.String tempFolderName) {
639 return getService().getTempPageAttachmentNames(userId, tempFolderName);
640 }
641
642 public static boolean hasDraftPage(long nodeId, java.lang.String title)
643 throws com.liferay.portal.kernel.exception.SystemException {
644 return getService().hasDraftPage(nodeId, title);
645 }
646
647 public static void movePage(long userId, long nodeId,
648 java.lang.String title, java.lang.String newTitle, boolean strict,
649 com.liferay.portal.service.ServiceContext serviceContext)
650 throws com.liferay.portal.kernel.exception.PortalException,
651 com.liferay.portal.kernel.exception.SystemException {
652 getService()
653 .movePage(userId, nodeId, title, newTitle, strict, serviceContext);
654 }
655
656 public static void movePage(long userId, long nodeId,
657 java.lang.String title, java.lang.String newTitle,
658 com.liferay.portal.service.ServiceContext serviceContext)
659 throws com.liferay.portal.kernel.exception.PortalException,
660 com.liferay.portal.kernel.exception.SystemException {
661 getService().movePage(userId, nodeId, title, newTitle, serviceContext);
662 }
663
664 public static com.liferay.portlet.wiki.model.WikiPage revertPage(
665 long userId, long nodeId, java.lang.String title, double version,
666 com.liferay.portal.service.ServiceContext serviceContext)
667 throws com.liferay.portal.kernel.exception.PortalException,
668 com.liferay.portal.kernel.exception.SystemException {
669 return getService()
670 .revertPage(userId, nodeId, title, version, serviceContext);
671 }
672
673 public static void subscribePage(long userId, long nodeId,
674 java.lang.String title)
675 throws com.liferay.portal.kernel.exception.PortalException,
676 com.liferay.portal.kernel.exception.SystemException {
677 getService().subscribePage(userId, nodeId, title);
678 }
679
680 public static void unsubscribePage(long userId, long nodeId,
681 java.lang.String title)
682 throws com.liferay.portal.kernel.exception.PortalException,
683 com.liferay.portal.kernel.exception.SystemException {
684 getService().unsubscribePage(userId, nodeId, title);
685 }
686
687 public static void updateAsset(long userId,
688 com.liferay.portlet.wiki.model.WikiPage page, long[] assetCategoryIds,
689 java.lang.String[] assetTagNames, long[] assetLinkEntryIds)
690 throws com.liferay.portal.kernel.exception.PortalException,
691 com.liferay.portal.kernel.exception.SystemException {
692 getService()
693 .updateAsset(userId, page, assetCategoryIds, assetTagNames,
694 assetLinkEntryIds);
695 }
696
697 public static com.liferay.portlet.wiki.model.WikiPage updatePage(
698 long userId, long nodeId, java.lang.String title, double version,
699 java.lang.String content, java.lang.String summary, boolean minorEdit,
700 java.lang.String format, java.lang.String parentTitle,
701 java.lang.String redirectTitle,
702 com.liferay.portal.service.ServiceContext serviceContext)
703 throws com.liferay.portal.kernel.exception.PortalException,
704 com.liferay.portal.kernel.exception.SystemException {
705 return getService()
706 .updatePage(userId, nodeId, title, version, content,
707 summary, minorEdit, format, parentTitle, redirectTitle,
708 serviceContext);
709 }
710
711 public static com.liferay.portlet.wiki.model.WikiPage updateStatus(
712 long userId, long resourcePrimKey, int status,
713 com.liferay.portal.service.ServiceContext serviceContext)
714 throws com.liferay.portal.kernel.exception.PortalException,
715 com.liferay.portal.kernel.exception.SystemException {
716 return getService()
717 .updateStatus(userId, resourcePrimKey, status, serviceContext);
718 }
719
720 public static com.liferay.portlet.wiki.model.WikiPage updateStatus(
721 long userId, com.liferay.portlet.wiki.model.WikiPage page, int status,
722 com.liferay.portal.service.ServiceContext serviceContext)
723 throws com.liferay.portal.kernel.exception.PortalException,
724 com.liferay.portal.kernel.exception.SystemException {
725 return getService().updateStatus(userId, page, status, serviceContext);
726 }
727
728 public static void validateTitle(java.lang.String title)
729 throws com.liferay.portal.kernel.exception.PortalException {
730 getService().validateTitle(title);
731 }
732
733 public static WikiPageLocalService getService() {
734 if (_service == null) {
735 _service = (WikiPageLocalService)PortalBeanLocatorUtil.locate(WikiPageLocalService.class.getName());
736
737 ReferenceRegistry.registerReference(WikiPageLocalServiceUtil.class,
738 "_service");
739 MethodCache.remove(WikiPageLocalService.class);
740 }
741
742 return _service;
743 }
744
745 public void setService(WikiPageLocalService service) {
746 MethodCache.remove(WikiPageLocalService.class);
747
748 _service = service;
749
750 ReferenceRegistry.registerReference(WikiPageLocalServiceUtil.class,
751 "_service");
752 MethodCache.remove(WikiPageLocalService.class);
753 }
754
755 private static WikiPageLocalService _service;
756 }