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 fetchLatestPage(
413 long resourcePrimKey, int status, boolean preferApproved)
414 throws com.liferay.portal.kernel.exception.SystemException;
415
416 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
417 public com.liferay.portlet.wiki.model.WikiPage fetchLatestPage(
418 long resourcePrimKey, long nodeId, int status, boolean preferApproved)
419 throws com.liferay.portal.kernel.exception.SystemException;
420
421 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
422 public com.liferay.portlet.wiki.model.WikiPage fetchLatestPage(
423 long nodeId, java.lang.String title, int status, boolean preferApproved)
424 throws com.liferay.portal.kernel.exception.SystemException;
425
426 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
427 public com.liferay.portlet.wiki.model.WikiPage fetchPage(long nodeId,
428 java.lang.String title, double version)
429 throws com.liferay.portal.kernel.exception.SystemException;
430
431 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
432 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(
433 long nodeId, boolean head, java.lang.String parentTitle)
434 throws com.liferay.portal.kernel.exception.SystemException;
435
436 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
437 public com.liferay.portlet.wiki.model.WikiPage getDraftPage(long nodeId,
438 java.lang.String title)
439 throws com.liferay.portal.kernel.exception.PortalException,
440 com.liferay.portal.kernel.exception.SystemException;
441
442 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
443 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getIncomingLinks(
444 long nodeId, java.lang.String title)
445 throws com.liferay.portal.kernel.exception.PortalException,
446 com.liferay.portal.kernel.exception.SystemException;
447
448 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
449 public com.liferay.portlet.wiki.model.WikiPage getLatestPage(
450 long resourcePrimKey, int status, boolean preferApproved)
451 throws com.liferay.portal.kernel.exception.PortalException,
452 com.liferay.portal.kernel.exception.SystemException;
453
454 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
455 public com.liferay.portlet.wiki.model.WikiPage getLatestPage(
456 long resourcePrimKey, long nodeId, int status, boolean preferApproved)
457 throws com.liferay.portal.kernel.exception.PortalException,
458 com.liferay.portal.kernel.exception.SystemException;
459
460 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
461 public com.liferay.portlet.wiki.model.WikiPage getLatestPage(long nodeId,
462 java.lang.String title, int status, boolean preferApproved)
463 throws com.liferay.portal.kernel.exception.PortalException,
464 com.liferay.portal.kernel.exception.SystemException;
465
466 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
467 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNoAssetPages()
468 throws com.liferay.portal.kernel.exception.SystemException;
469
470 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
471 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(
472 long nodeId)
473 throws com.liferay.portal.kernel.exception.PortalException,
474 com.liferay.portal.kernel.exception.SystemException;
475
476 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
477 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOutgoingLinks(
478 long nodeId, java.lang.String title)
479 throws com.liferay.portal.kernel.exception.PortalException,
480 com.liferay.portal.kernel.exception.SystemException;
481
482 public com.liferay.portlet.wiki.model.WikiPage getPage(long resourcePrimKey)
483 throws com.liferay.portal.kernel.exception.PortalException,
484 com.liferay.portal.kernel.exception.SystemException;
485
486 public com.liferay.portlet.wiki.model.WikiPage getPage(
487 long resourcePrimKey, java.lang.Boolean head)
488 throws com.liferay.portal.kernel.exception.PortalException,
489 com.liferay.portal.kernel.exception.SystemException;
490
491 public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
492 java.lang.String title)
493 throws com.liferay.portal.kernel.exception.PortalException,
494 com.liferay.portal.kernel.exception.SystemException;
495
496 public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
497 java.lang.String title, java.lang.Boolean head)
498 throws com.liferay.portal.kernel.exception.PortalException,
499 com.liferay.portal.kernel.exception.SystemException;
500
501 public 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
506 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
507 public com.liferay.portlet.wiki.model.WikiPage getPageByPageId(long pageId)
508 throws com.liferay.portal.kernel.exception.PortalException,
509 com.liferay.portal.kernel.exception.SystemException;
510
511 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
512 public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
513 long nodeId, java.lang.String title,
514 javax.portlet.PortletURL viewPageURL,
515 javax.portlet.PortletURL editPageURL,
516 java.lang.String attachmentURLPrefix)
517 throws com.liferay.portal.kernel.exception.PortalException,
518 com.liferay.portal.kernel.exception.SystemException;
519
520 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
521 public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
522 com.liferay.portlet.wiki.model.WikiPage page,
523 javax.portlet.PortletURL viewPageURL,
524 javax.portlet.PortletURL editPageURL,
525 java.lang.String attachmentURLPrefix)
526 throws com.liferay.portal.kernel.exception.PortalException,
527 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 nodeId, boolean head, 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, boolean head, int status, int start, int end,
537 com.liferay.portal.kernel.util.OrderByComparator obc)
538 throws com.liferay.portal.kernel.exception.SystemException;
539
540 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
541 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
542 long nodeId, boolean head, int start, int end,
543 com.liferay.portal.kernel.util.OrderByComparator obc)
544 throws com.liferay.portal.kernel.exception.SystemException;
545
546 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
547 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
548 long nodeId, int start, int end)
549 throws com.liferay.portal.kernel.exception.SystemException;
550
551 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
552 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
553 long nodeId, int start, int end,
554 com.liferay.portal.kernel.util.OrderByComparator obc)
555 throws com.liferay.portal.kernel.exception.SystemException;
556
557 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
558 public 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
562 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
563 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
564 long userId, long nodeId, int status, int start, int end)
565 throws com.liferay.portal.kernel.exception.SystemException;
566
567 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
568 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
569 long nodeId, java.lang.String title, boolean head, int start, int end)
570 throws com.liferay.portal.kernel.exception.SystemException;
571
572 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
573 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
574 long nodeId, java.lang.String title, int start, int end)
575 throws com.liferay.portal.kernel.exception.SystemException;
576
577 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
578 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
579 long nodeId, java.lang.String title, int start, int end,
580 com.liferay.portal.kernel.util.OrderByComparator obc)
581 throws com.liferay.portal.kernel.exception.SystemException;
582
583 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
584 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
585 java.lang.String format)
586 throws com.liferay.portal.kernel.exception.SystemException;
587
588 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
589 public int getPagesCount(long nodeId)
590 throws com.liferay.portal.kernel.exception.SystemException;
591
592 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
593 public int getPagesCount(long nodeId, boolean head)
594 throws com.liferay.portal.kernel.exception.SystemException;
595
596 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
597 public int getPagesCount(long nodeId, boolean head, int status)
598 throws com.liferay.portal.kernel.exception.SystemException;
599
600 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
601 public int getPagesCount(long nodeId, int status)
602 throws com.liferay.portal.kernel.exception.SystemException;
603
604 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
605 public int getPagesCount(long userId, long nodeId, int status)
606 throws com.liferay.portal.kernel.exception.SystemException;
607
608 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
609 public int getPagesCount(long nodeId, java.lang.String title)
610 throws com.liferay.portal.kernel.exception.SystemException;
611
612 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
613 public int getPagesCount(long nodeId, java.lang.String title, boolean head)
614 throws com.liferay.portal.kernel.exception.SystemException;
615
616 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
617 public int getPagesCount(java.lang.String format)
618 throws com.liferay.portal.kernel.exception.SystemException;
619
620
624 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
625 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
626 long nodeId, int start, int end)
627 throws com.liferay.portal.kernel.exception.PortalException,
628 com.liferay.portal.kernel.exception.SystemException;
629
630 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
631 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
632 long groupId, long nodeId, int start, int end)
633 throws com.liferay.portal.kernel.exception.SystemException;
634
635
639 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
640 public int getRecentChangesCount(long nodeId)
641 throws com.liferay.portal.kernel.exception.PortalException,
642 com.liferay.portal.kernel.exception.SystemException;
643
644 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
645 public int getRecentChangesCount(long groupId, long nodeId)
646 throws com.liferay.portal.kernel.exception.SystemException;
647
648 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
649 public java.lang.String[] getTempPageAttachmentNames(long groupId,
650 long userId, java.lang.String tempFolderName)
651 throws com.liferay.portal.kernel.exception.PortalException,
652 com.liferay.portal.kernel.exception.SystemException;
653
654 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
655 public boolean hasDraftPage(long nodeId, java.lang.String title)
656 throws com.liferay.portal.kernel.exception.SystemException;
657
658 public void movePage(long userId, long nodeId, java.lang.String title,
659 java.lang.String newTitle, boolean strict,
660 com.liferay.portal.service.ServiceContext serviceContext)
661 throws com.liferay.portal.kernel.exception.PortalException,
662 com.liferay.portal.kernel.exception.SystemException;
663
664 public void movePage(long userId, long nodeId, java.lang.String title,
665 java.lang.String newTitle,
666 com.liferay.portal.service.ServiceContext serviceContext)
667 throws com.liferay.portal.kernel.exception.PortalException,
668 com.liferay.portal.kernel.exception.SystemException;
669
670 public com.liferay.portal.kernel.repository.model.FileEntry movePageAttachmentToTrash(
671 long userId, long nodeId, java.lang.String title,
672 java.lang.String fileName)
673 throws com.liferay.portal.kernel.exception.PortalException,
674 com.liferay.portal.kernel.exception.SystemException;
675
676 public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
677 long userId, long nodeId, java.lang.String title)
678 throws com.liferay.portal.kernel.exception.PortalException,
679 com.liferay.portal.kernel.exception.SystemException;
680
681 public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
682 long userId, long nodeId, java.lang.String title, double version)
683 throws com.liferay.portal.kernel.exception.PortalException,
684 com.liferay.portal.kernel.exception.SystemException;
685
686 public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
687 long userId, com.liferay.portlet.wiki.model.WikiPage page)
688 throws com.liferay.portal.kernel.exception.PortalException,
689 com.liferay.portal.kernel.exception.SystemException;
690
691 public void restorePageAttachmentFromTrash(long userId, long nodeId,
692 java.lang.String title, java.lang.String fileName)
693 throws com.liferay.portal.kernel.exception.PortalException,
694 com.liferay.portal.kernel.exception.SystemException;
695
696 public void restorePageFromTrash(long userId,
697 com.liferay.portlet.wiki.model.WikiPage page)
698 throws com.liferay.portal.kernel.exception.PortalException,
699 com.liferay.portal.kernel.exception.SystemException;
700
701 public com.liferay.portlet.wiki.model.WikiPage revertPage(long userId,
702 long nodeId, java.lang.String title, double version,
703 com.liferay.portal.service.ServiceContext serviceContext)
704 throws com.liferay.portal.kernel.exception.PortalException,
705 com.liferay.portal.kernel.exception.SystemException;
706
707 public void subscribePage(long userId, long nodeId, java.lang.String title)
708 throws com.liferay.portal.kernel.exception.PortalException,
709 com.liferay.portal.kernel.exception.SystemException;
710
711 public void unsubscribePage(long userId, long nodeId, java.lang.String title)
712 throws com.liferay.portal.kernel.exception.PortalException,
713 com.liferay.portal.kernel.exception.SystemException;
714
715 public void updateAsset(long userId,
716 com.liferay.portlet.wiki.model.WikiPage page, long[] assetCategoryIds,
717 java.lang.String[] assetTagNames, long[] assetLinkEntryIds)
718 throws com.liferay.portal.kernel.exception.PortalException,
719 com.liferay.portal.kernel.exception.SystemException;
720
721 public com.liferay.portlet.wiki.model.WikiPage updatePage(long userId,
722 long nodeId, java.lang.String title, double version,
723 java.lang.String content, java.lang.String summary, boolean minorEdit,
724 java.lang.String format, java.lang.String parentTitle,
725 java.lang.String redirectTitle,
726 com.liferay.portal.service.ServiceContext serviceContext)
727 throws com.liferay.portal.kernel.exception.PortalException,
728 com.liferay.portal.kernel.exception.SystemException;
729
730 public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
731 long resourcePrimKey, int status,
732 com.liferay.portal.service.ServiceContext serviceContext)
733 throws com.liferay.portal.kernel.exception.PortalException,
734 com.liferay.portal.kernel.exception.SystemException;
735
736 public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
737 com.liferay.portlet.wiki.model.WikiPage page, int status,
738 com.liferay.portal.service.ServiceContext serviceContext)
739 throws com.liferay.portal.kernel.exception.PortalException,
740 com.liferay.portal.kernel.exception.SystemException;
741
742 public void validateTitle(java.lang.String title)
743 throws com.liferay.portal.kernel.exception.PortalException;
744 }