001
014
015 package com.liferay.portlet.wiki.service;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018 import com.liferay.portal.kernel.exception.SystemException;
019 import com.liferay.portal.kernel.transaction.Isolation;
020 import com.liferay.portal.kernel.transaction.Propagation;
021 import com.liferay.portal.kernel.transaction.Transactional;
022 import com.liferay.portal.service.BaseLocalService;
023 import com.liferay.portal.service.PersistedModelLocalService;
024
025
037 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
038 PortalException.class, SystemException.class})
039 public interface WikiPageLocalService extends BaseLocalService,
040 PersistedModelLocalService {
041
046
047
054 public com.liferay.portlet.wiki.model.WikiPage addWikiPage(
055 com.liferay.portlet.wiki.model.WikiPage wikiPage)
056 throws com.liferay.portal.kernel.exception.SystemException;
057
058
064 public com.liferay.portlet.wiki.model.WikiPage createWikiPage(long pageId);
065
066
074 public com.liferay.portlet.wiki.model.WikiPage deleteWikiPage(long pageId)
075 throws com.liferay.portal.kernel.exception.PortalException,
076 com.liferay.portal.kernel.exception.SystemException;
077
078
085 public com.liferay.portlet.wiki.model.WikiPage deleteWikiPage(
086 com.liferay.portlet.wiki.model.WikiPage wikiPage)
087 throws com.liferay.portal.kernel.exception.SystemException;
088
089 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
090
091
098 @SuppressWarnings("rawtypes")
099 public java.util.List dynamicQuery(
100 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
101 throws com.liferay.portal.kernel.exception.SystemException;
102
103
116 @SuppressWarnings("rawtypes")
117 public java.util.List dynamicQuery(
118 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
119 int end) throws com.liferay.portal.kernel.exception.SystemException;
120
121
135 @SuppressWarnings("rawtypes")
136 public java.util.List dynamicQuery(
137 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
138 int end,
139 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
140 throws com.liferay.portal.kernel.exception.SystemException;
141
142
149 public long dynamicQueryCount(
150 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
151 throws com.liferay.portal.kernel.exception.SystemException;
152
153
161 public long dynamicQueryCount(
162 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
163 com.liferay.portal.kernel.dao.orm.Projection projection)
164 throws com.liferay.portal.kernel.exception.SystemException;
165
166 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
167 public com.liferay.portlet.wiki.model.WikiPage fetchWikiPage(long pageId)
168 throws com.liferay.portal.kernel.exception.SystemException;
169
170
178 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
179 public com.liferay.portlet.wiki.model.WikiPage fetchWikiPageByUuidAndCompanyId(
180 java.lang.String uuid, long companyId)
181 throws com.liferay.portal.kernel.exception.SystemException;
182
183
191 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
192 public com.liferay.portlet.wiki.model.WikiPage fetchWikiPageByUuidAndGroupId(
193 java.lang.String uuid, long groupId)
194 throws com.liferay.portal.kernel.exception.SystemException;
195
196
204 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
205 public com.liferay.portlet.wiki.model.WikiPage getWikiPage(long pageId)
206 throws com.liferay.portal.kernel.exception.PortalException,
207 com.liferay.portal.kernel.exception.SystemException;
208
209 @Override
210 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
211 public com.liferay.portal.model.PersistedModel getPersistedModel(
212 java.io.Serializable primaryKeyObj)
213 throws com.liferay.portal.kernel.exception.PortalException,
214 com.liferay.portal.kernel.exception.SystemException;
215
216
225 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
226 public com.liferay.portlet.wiki.model.WikiPage getWikiPageByUuidAndCompanyId(
227 java.lang.String uuid, long companyId)
228 throws com.liferay.portal.kernel.exception.PortalException,
229 com.liferay.portal.kernel.exception.SystemException;
230
231
240 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
241 public com.liferay.portlet.wiki.model.WikiPage getWikiPageByUuidAndGroupId(
242 java.lang.String uuid, long groupId)
243 throws com.liferay.portal.kernel.exception.PortalException,
244 com.liferay.portal.kernel.exception.SystemException;
245
246
258 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
259 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getWikiPages(
260 int start, int end)
261 throws com.liferay.portal.kernel.exception.SystemException;
262
263
269 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
270 public int getWikiPagesCount()
271 throws com.liferay.portal.kernel.exception.SystemException;
272
273
280 public com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
281 com.liferay.portlet.wiki.model.WikiPage wikiPage)
282 throws com.liferay.portal.kernel.exception.SystemException;
283
284
289 public java.lang.String getBeanIdentifier();
290
291
296 public void setBeanIdentifier(java.lang.String beanIdentifier);
297
298 public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
299 long nodeId, java.lang.String title, double version,
300 java.lang.String content, java.lang.String summary, boolean minorEdit,
301 java.lang.String format, boolean head, java.lang.String parentTitle,
302 java.lang.String redirectTitle,
303 com.liferay.portal.service.ServiceContext serviceContext)
304 throws com.liferay.portal.kernel.exception.PortalException,
305 com.liferay.portal.kernel.exception.SystemException;
306
307 public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
308 long nodeId, java.lang.String title, java.lang.String content,
309 java.lang.String summary, boolean minorEdit,
310 com.liferay.portal.service.ServiceContext serviceContext)
311 throws com.liferay.portal.kernel.exception.PortalException,
312 com.liferay.portal.kernel.exception.SystemException;
313
314 public void addPageAttachment(long userId, long nodeId,
315 java.lang.String title, java.lang.String fileName, java.io.File file,
316 java.lang.String mimeType)
317 throws com.liferay.portal.kernel.exception.PortalException,
318 com.liferay.portal.kernel.exception.SystemException;
319
320 public void addPageAttachment(long userId, long nodeId,
321 java.lang.String title, java.lang.String fileName,
322 java.io.InputStream inputStream, java.lang.String mimeType)
323 throws com.liferay.portal.kernel.exception.PortalException,
324 com.liferay.portal.kernel.exception.SystemException;
325
326 public void addPageAttachments(long userId, long nodeId,
327 java.lang.String title,
328 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs)
329 throws com.liferay.portal.kernel.exception.PortalException,
330 com.liferay.portal.kernel.exception.SystemException;
331
332 public void addPageResources(long nodeId, java.lang.String title,
333 boolean addGroupPermissions, boolean addGuestPermissions)
334 throws com.liferay.portal.kernel.exception.PortalException,
335 com.liferay.portal.kernel.exception.SystemException;
336
337 public void addPageResources(long nodeId, java.lang.String title,
338 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
339 throws com.liferay.portal.kernel.exception.PortalException,
340 com.liferay.portal.kernel.exception.SystemException;
341
342 public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
343 boolean addGroupPermissions, boolean addGuestPermissions)
344 throws com.liferay.portal.kernel.exception.PortalException,
345 com.liferay.portal.kernel.exception.SystemException;
346
347 public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
348 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
349 throws com.liferay.portal.kernel.exception.PortalException,
350 com.liferay.portal.kernel.exception.SystemException;
351
352 public void addTempPageAttachment(long groupId, long userId,
353 java.lang.String fileName, java.lang.String tempFolderName,
354 java.io.InputStream inputStream, java.lang.String mimeType)
355 throws com.liferay.portal.kernel.exception.PortalException,
356 com.liferay.portal.kernel.exception.SystemException;
357
358 public void changeParent(long userId, long nodeId, java.lang.String title,
359 java.lang.String newParentTitle,
360 com.liferay.portal.service.ServiceContext serviceContext)
361 throws com.liferay.portal.kernel.exception.PortalException,
362 com.liferay.portal.kernel.exception.SystemException;
363
364 public void copyPageAttachments(long userId, long templateNodeId,
365 java.lang.String templateTitle, long nodeId, java.lang.String title)
366 throws com.liferay.portal.kernel.exception.PortalException,
367 com.liferay.portal.kernel.exception.SystemException;
368
369 public void deletePage(long nodeId, java.lang.String title)
370 throws com.liferay.portal.kernel.exception.PortalException,
371 com.liferay.portal.kernel.exception.SystemException;
372
373
377 public void deletePage(long nodeId, java.lang.String title, double version)
378 throws com.liferay.portal.kernel.exception.PortalException,
379 com.liferay.portal.kernel.exception.SystemException;
380
381 public void deletePage(com.liferay.portlet.wiki.model.WikiPage page)
382 throws com.liferay.portal.kernel.exception.PortalException,
383 com.liferay.portal.kernel.exception.SystemException;
384
385 public void deletePageAttachment(long nodeId, java.lang.String title,
386 java.lang.String fileName)
387 throws com.liferay.portal.kernel.exception.PortalException,
388 com.liferay.portal.kernel.exception.SystemException;
389
390 public void deletePageAttachments(long nodeId, java.lang.String title)
391 throws com.liferay.portal.kernel.exception.PortalException,
392 com.liferay.portal.kernel.exception.SystemException;
393
394 public void deletePages(long nodeId)
395 throws com.liferay.portal.kernel.exception.PortalException,
396 com.liferay.portal.kernel.exception.SystemException;
397
398 public void deleteTempPageAttachment(long groupId, long userId,
399 java.lang.String fileName, java.lang.String tempFolderName)
400 throws com.liferay.portal.kernel.exception.PortalException,
401 com.liferay.portal.kernel.exception.SystemException;
402
403 public void deleteTrashPageAttachments(long nodeId, java.lang.String title)
404 throws com.liferay.portal.kernel.exception.PortalException,
405 com.liferay.portal.kernel.exception.SystemException;
406
407 public void discardDraft(long nodeId, java.lang.String title, double version)
408 throws com.liferay.portal.kernel.exception.PortalException,
409 com.liferay.portal.kernel.exception.SystemException;
410
411 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
412 public com.liferay.portlet.wiki.model.WikiPage fetchPage(long nodeId,
413 java.lang.String title, double version)
414 throws com.liferay.portal.kernel.exception.SystemException;
415
416 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
417 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(
418 long nodeId, boolean head, java.lang.String parentTitle)
419 throws com.liferay.portal.kernel.exception.SystemException;
420
421 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
422 public com.liferay.portlet.wiki.model.WikiPage getDraftPage(long nodeId,
423 java.lang.String title)
424 throws com.liferay.portal.kernel.exception.PortalException,
425 com.liferay.portal.kernel.exception.SystemException;
426
427 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
428 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getIncomingLinks(
429 long nodeId, java.lang.String title)
430 throws com.liferay.portal.kernel.exception.PortalException,
431 com.liferay.portal.kernel.exception.SystemException;
432
433 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
434 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNoAssetPages()
435 throws com.liferay.portal.kernel.exception.SystemException;
436
437 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
438 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(
439 long nodeId)
440 throws com.liferay.portal.kernel.exception.PortalException,
441 com.liferay.portal.kernel.exception.SystemException;
442
443 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
444 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOutgoingLinks(
445 long nodeId, java.lang.String title)
446 throws com.liferay.portal.kernel.exception.PortalException,
447 com.liferay.portal.kernel.exception.SystemException;
448
449 public com.liferay.portlet.wiki.model.WikiPage getPage(long resourcePrimKey)
450 throws com.liferay.portal.kernel.exception.PortalException,
451 com.liferay.portal.kernel.exception.SystemException;
452
453 public com.liferay.portlet.wiki.model.WikiPage getPage(
454 long resourcePrimKey, java.lang.Boolean head)
455 throws com.liferay.portal.kernel.exception.PortalException,
456 com.liferay.portal.kernel.exception.SystemException;
457
458 public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
459 java.lang.String title)
460 throws com.liferay.portal.kernel.exception.PortalException,
461 com.liferay.portal.kernel.exception.SystemException;
462
463 public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
464 java.lang.String title, java.lang.Boolean head)
465 throws com.liferay.portal.kernel.exception.PortalException,
466 com.liferay.portal.kernel.exception.SystemException;
467
468 public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
469 java.lang.String title, double version)
470 throws com.liferay.portal.kernel.exception.PortalException,
471 com.liferay.portal.kernel.exception.SystemException;
472
473 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
474 public com.liferay.portlet.wiki.model.WikiPage getPageByPageId(long pageId)
475 throws com.liferay.portal.kernel.exception.PortalException,
476 com.liferay.portal.kernel.exception.SystemException;
477
478 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
479 public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
480 long nodeId, java.lang.String title,
481 javax.portlet.PortletURL viewPageURL,
482 javax.portlet.PortletURL editPageURL,
483 java.lang.String attachmentURLPrefix)
484 throws com.liferay.portal.kernel.exception.PortalException,
485 com.liferay.portal.kernel.exception.SystemException;
486
487 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
488 public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
489 com.liferay.portlet.wiki.model.WikiPage page,
490 javax.portlet.PortletURL viewPageURL,
491 javax.portlet.PortletURL editPageURL,
492 java.lang.String attachmentURLPrefix)
493 throws com.liferay.portal.kernel.exception.PortalException,
494 com.liferay.portal.kernel.exception.SystemException;
495
496 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
497 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
498 long nodeId, boolean head, int start, int end)
499 throws com.liferay.portal.kernel.exception.SystemException;
500
501 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
502 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
503 long nodeId, boolean head, int status, int start, int end,
504 com.liferay.portal.kernel.util.OrderByComparator obc)
505 throws com.liferay.portal.kernel.exception.SystemException;
506
507 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
508 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
509 long nodeId, boolean head, int start, int end,
510 com.liferay.portal.kernel.util.OrderByComparator obc)
511 throws com.liferay.portal.kernel.exception.SystemException;
512
513 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
514 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
515 long nodeId, int start, int end)
516 throws com.liferay.portal.kernel.exception.SystemException;
517
518 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
519 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
520 long nodeId, int start, int end,
521 com.liferay.portal.kernel.util.OrderByComparator obc)
522 throws com.liferay.portal.kernel.exception.SystemException;
523
524 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
525 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
526 long resourcePrimKey, long nodeId, int status)
527 throws com.liferay.portal.kernel.exception.SystemException;
528
529 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
530 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
531 long userId, long nodeId, int status, int start, int end)
532 throws com.liferay.portal.kernel.exception.SystemException;
533
534 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
535 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
536 long nodeId, java.lang.String title, boolean head, int start, int end)
537 throws com.liferay.portal.kernel.exception.SystemException;
538
539 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
540 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
541 long nodeId, java.lang.String title, int start, int end)
542 throws com.liferay.portal.kernel.exception.SystemException;
543
544 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
545 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
546 long nodeId, java.lang.String title, int start, int end,
547 com.liferay.portal.kernel.util.OrderByComparator obc)
548 throws com.liferay.portal.kernel.exception.SystemException;
549
550 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
551 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
552 java.lang.String format)
553 throws com.liferay.portal.kernel.exception.SystemException;
554
555 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
556 public int getPagesCount(long nodeId)
557 throws com.liferay.portal.kernel.exception.SystemException;
558
559 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
560 public int getPagesCount(long nodeId, boolean head)
561 throws com.liferay.portal.kernel.exception.SystemException;
562
563 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
564 public int getPagesCount(long nodeId, boolean head, int status)
565 throws com.liferay.portal.kernel.exception.SystemException;
566
567 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
568 public int getPagesCount(long nodeId, int status)
569 throws com.liferay.portal.kernel.exception.SystemException;
570
571 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
572 public int getPagesCount(long userId, long nodeId, int status)
573 throws com.liferay.portal.kernel.exception.SystemException;
574
575 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
576 public int getPagesCount(long nodeId, java.lang.String title)
577 throws com.liferay.portal.kernel.exception.SystemException;
578
579 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
580 public int getPagesCount(long nodeId, java.lang.String title, boolean head)
581 throws com.liferay.portal.kernel.exception.SystemException;
582
583 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
584 public int getPagesCount(java.lang.String format)
585 throws com.liferay.portal.kernel.exception.SystemException;
586
587
591 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
592 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
593 long nodeId, int start, int end)
594 throws com.liferay.portal.kernel.exception.PortalException,
595 com.liferay.portal.kernel.exception.SystemException;
596
597 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
598 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
599 long groupId, long nodeId, int start, int end)
600 throws com.liferay.portal.kernel.exception.SystemException;
601
602
606 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
607 public int getRecentChangesCount(long nodeId)
608 throws com.liferay.portal.kernel.exception.PortalException,
609 com.liferay.portal.kernel.exception.SystemException;
610
611 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
612 public int getRecentChangesCount(long groupId, long nodeId)
613 throws com.liferay.portal.kernel.exception.SystemException;
614
615 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
616 public java.lang.String[] getTempPageAttachmentNames(long groupId,
617 long userId, java.lang.String tempFolderName)
618 throws com.liferay.portal.kernel.exception.PortalException,
619 com.liferay.portal.kernel.exception.SystemException;
620
621 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
622 public boolean hasDraftPage(long nodeId, java.lang.String title)
623 throws com.liferay.portal.kernel.exception.SystemException;
624
625 public void movePage(long userId, long nodeId, java.lang.String title,
626 java.lang.String newTitle, boolean strict,
627 com.liferay.portal.service.ServiceContext serviceContext)
628 throws com.liferay.portal.kernel.exception.PortalException,
629 com.liferay.portal.kernel.exception.SystemException;
630
631 public void movePage(long userId, long nodeId, java.lang.String title,
632 java.lang.String newTitle,
633 com.liferay.portal.service.ServiceContext serviceContext)
634 throws com.liferay.portal.kernel.exception.PortalException,
635 com.liferay.portal.kernel.exception.SystemException;
636
637 public com.liferay.portal.kernel.repository.model.FileEntry movePageAttachmentToTrash(
638 long userId, long nodeId, java.lang.String title,
639 java.lang.String fileName)
640 throws com.liferay.portal.kernel.exception.PortalException,
641 com.liferay.portal.kernel.exception.SystemException;
642
643 public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
644 long userId, long nodeId, java.lang.String title)
645 throws com.liferay.portal.kernel.exception.PortalException,
646 com.liferay.portal.kernel.exception.SystemException;
647
648 public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
649 long userId, long nodeId, java.lang.String title, double version)
650 throws com.liferay.portal.kernel.exception.PortalException,
651 com.liferay.portal.kernel.exception.SystemException;
652
653 public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
654 long userId, com.liferay.portlet.wiki.model.WikiPage page)
655 throws com.liferay.portal.kernel.exception.PortalException,
656 com.liferay.portal.kernel.exception.SystemException;
657
658 public void restorePageAttachmentFromTrash(long userId, long nodeId,
659 java.lang.String title, java.lang.String fileName)
660 throws com.liferay.portal.kernel.exception.PortalException,
661 com.liferay.portal.kernel.exception.SystemException;
662
663 public void restorePageFromTrash(long userId,
664 com.liferay.portlet.wiki.model.WikiPage page)
665 throws com.liferay.portal.kernel.exception.PortalException,
666 com.liferay.portal.kernel.exception.SystemException;
667
668 public com.liferay.portlet.wiki.model.WikiPage revertPage(long userId,
669 long nodeId, java.lang.String title, double version,
670 com.liferay.portal.service.ServiceContext serviceContext)
671 throws com.liferay.portal.kernel.exception.PortalException,
672 com.liferay.portal.kernel.exception.SystemException;
673
674 public void subscribePage(long userId, long nodeId, java.lang.String title)
675 throws com.liferay.portal.kernel.exception.PortalException,
676 com.liferay.portal.kernel.exception.SystemException;
677
678 public void unsubscribePage(long userId, long nodeId, java.lang.String title)
679 throws com.liferay.portal.kernel.exception.PortalException,
680 com.liferay.portal.kernel.exception.SystemException;
681
682 public 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
688 public com.liferay.portlet.wiki.model.WikiPage updatePage(long userId,
689 long nodeId, java.lang.String title, double version,
690 java.lang.String content, java.lang.String summary, boolean minorEdit,
691 java.lang.String format, java.lang.String parentTitle,
692 java.lang.String redirectTitle,
693 com.liferay.portal.service.ServiceContext serviceContext)
694 throws com.liferay.portal.kernel.exception.PortalException,
695 com.liferay.portal.kernel.exception.SystemException;
696
697 public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
698 long resourcePrimKey, int status,
699 com.liferay.portal.service.ServiceContext serviceContext)
700 throws com.liferay.portal.kernel.exception.PortalException,
701 com.liferay.portal.kernel.exception.SystemException;
702
703 public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
704 com.liferay.portlet.wiki.model.WikiPage page, int status,
705 com.liferay.portal.service.ServiceContext serviceContext)
706 throws com.liferay.portal.kernel.exception.PortalException,
707 com.liferay.portal.kernel.exception.SystemException;
708
709 public void validateTitle(java.lang.String title)
710 throws com.liferay.portal.kernel.exception.PortalException;
711 }