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