001
014
015 package com.liferay.portlet.wiki.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.exception.PortalException;
020 import com.liferay.portal.kernel.exception.SystemException;
021 import com.liferay.portal.kernel.search.IndexableType;
022 import com.liferay.portal.kernel.transaction.Isolation;
023 import com.liferay.portal.kernel.transaction.Propagation;
024 import com.liferay.portal.kernel.transaction.Transactional;
025 import com.liferay.portal.model.SystemEventConstants;
026 import com.liferay.portal.service.BaseLocalService;
027 import com.liferay.portal.service.PersistedModelLocalService;
028
029
041 @ProviderType
042 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
043 PortalException.class, SystemException.class})
044 public interface WikiPageLocalService extends BaseLocalService,
045 PersistedModelLocalService {
046
051
052
059 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
060 public com.liferay.portlet.wiki.model.WikiPage addWikiPage(
061 com.liferay.portlet.wiki.model.WikiPage wikiPage)
062 throws com.liferay.portal.kernel.exception.SystemException;
063
064
070 public com.liferay.portlet.wiki.model.WikiPage createWikiPage(long pageId);
071
072
080 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
081 public com.liferay.portlet.wiki.model.WikiPage deleteWikiPage(long pageId)
082 throws com.liferay.portal.kernel.exception.PortalException,
083 com.liferay.portal.kernel.exception.SystemException;
084
085
092 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
093 public com.liferay.portlet.wiki.model.WikiPage deleteWikiPage(
094 com.liferay.portlet.wiki.model.WikiPage wikiPage)
095 throws com.liferay.portal.kernel.exception.SystemException;
096
097 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
098
099
106 @SuppressWarnings("rawtypes")
107 public java.util.List dynamicQuery(
108 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
109 throws com.liferay.portal.kernel.exception.SystemException;
110
111
124 @SuppressWarnings("rawtypes")
125 public java.util.List dynamicQuery(
126 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
127 int end) throws com.liferay.portal.kernel.exception.SystemException;
128
129
143 @SuppressWarnings("rawtypes")
144 public java.util.List dynamicQuery(
145 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
146 int end,
147 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
148 throws com.liferay.portal.kernel.exception.SystemException;
149
150
157 public long dynamicQueryCount(
158 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
159 throws com.liferay.portal.kernel.exception.SystemException;
160
161
169 public long dynamicQueryCount(
170 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
171 com.liferay.portal.kernel.dao.orm.Projection projection)
172 throws com.liferay.portal.kernel.exception.SystemException;
173
174 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
175 public com.liferay.portlet.wiki.model.WikiPage fetchWikiPage(long pageId)
176 throws com.liferay.portal.kernel.exception.SystemException;
177
178
186 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
187 public com.liferay.portlet.wiki.model.WikiPage fetchWikiPageByUuidAndCompanyId(
188 java.lang.String uuid, long companyId)
189 throws com.liferay.portal.kernel.exception.SystemException;
190
191
199 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
200 public com.liferay.portlet.wiki.model.WikiPage fetchWikiPageByUuidAndGroupId(
201 java.lang.String uuid, long groupId)
202 throws com.liferay.portal.kernel.exception.SystemException;
203
204
212 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
213 public com.liferay.portlet.wiki.model.WikiPage getWikiPage(long pageId)
214 throws com.liferay.portal.kernel.exception.PortalException,
215 com.liferay.portal.kernel.exception.SystemException;
216
217 @Override
218 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
219 public com.liferay.portal.model.PersistedModel getPersistedModel(
220 java.io.Serializable primaryKeyObj)
221 throws com.liferay.portal.kernel.exception.PortalException,
222 com.liferay.portal.kernel.exception.SystemException;
223
224
233 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
234 public com.liferay.portlet.wiki.model.WikiPage getWikiPageByUuidAndCompanyId(
235 java.lang.String uuid, long companyId)
236 throws com.liferay.portal.kernel.exception.PortalException,
237 com.liferay.portal.kernel.exception.SystemException;
238
239
248 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
249 public com.liferay.portlet.wiki.model.WikiPage getWikiPageByUuidAndGroupId(
250 java.lang.String uuid, long groupId)
251 throws com.liferay.portal.kernel.exception.PortalException,
252 com.liferay.portal.kernel.exception.SystemException;
253
254
266 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
267 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getWikiPages(
268 int start, int end)
269 throws com.liferay.portal.kernel.exception.SystemException;
270
271
277 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
278 public int getWikiPagesCount()
279 throws com.liferay.portal.kernel.exception.SystemException;
280
281
288 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
289 public com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
290 com.liferay.portlet.wiki.model.WikiPage wikiPage)
291 throws com.liferay.portal.kernel.exception.SystemException;
292
293
298 public java.lang.String getBeanIdentifier();
299
300
305 public void setBeanIdentifier(java.lang.String beanIdentifier);
306
307 public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
308 long nodeId, java.lang.String title, double version,
309 java.lang.String content, java.lang.String summary, boolean minorEdit,
310 java.lang.String format, boolean head, java.lang.String parentTitle,
311 java.lang.String redirectTitle,
312 com.liferay.portal.service.ServiceContext serviceContext)
313 throws com.liferay.portal.kernel.exception.PortalException,
314 com.liferay.portal.kernel.exception.SystemException;
315
316 public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
317 long nodeId, java.lang.String title, java.lang.String content,
318 java.lang.String summary, boolean minorEdit,
319 com.liferay.portal.service.ServiceContext serviceContext)
320 throws com.liferay.portal.kernel.exception.PortalException,
321 com.liferay.portal.kernel.exception.SystemException;
322
323 public void addPageAttachment(long userId, long nodeId,
324 java.lang.String title, java.lang.String fileName, java.io.File file,
325 java.lang.String mimeType)
326 throws com.liferay.portal.kernel.exception.PortalException,
327 com.liferay.portal.kernel.exception.SystemException;
328
329 public void addPageAttachment(long userId, long nodeId,
330 java.lang.String title, java.lang.String fileName,
331 java.io.InputStream inputStream, java.lang.String mimeType)
332 throws com.liferay.portal.kernel.exception.PortalException,
333 com.liferay.portal.kernel.exception.SystemException;
334
335 public void addPageAttachments(long userId, long nodeId,
336 java.lang.String title,
337 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs)
338 throws com.liferay.portal.kernel.exception.PortalException,
339 com.liferay.portal.kernel.exception.SystemException;
340
341 public void addPageResources(long nodeId, java.lang.String title,
342 boolean addGroupPermissions, boolean addGuestPermissions)
343 throws com.liferay.portal.kernel.exception.PortalException,
344 com.liferay.portal.kernel.exception.SystemException;
345
346 public void addPageResources(long nodeId, java.lang.String title,
347 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
348 throws com.liferay.portal.kernel.exception.PortalException,
349 com.liferay.portal.kernel.exception.SystemException;
350
351 public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
352 boolean addGroupPermissions, boolean addGuestPermissions)
353 throws com.liferay.portal.kernel.exception.PortalException,
354 com.liferay.portal.kernel.exception.SystemException;
355
356 public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
357 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
358 throws com.liferay.portal.kernel.exception.PortalException,
359 com.liferay.portal.kernel.exception.SystemException;
360
361 public void addTempPageAttachment(long groupId, long userId,
362 java.lang.String fileName, java.lang.String tempFolderName,
363 java.io.InputStream inputStream, java.lang.String mimeType)
364 throws com.liferay.portal.kernel.exception.PortalException,
365 com.liferay.portal.kernel.exception.SystemException;
366
367 public void changeParent(long userId, long nodeId, java.lang.String title,
368 java.lang.String newParentTitle,
369 com.liferay.portal.service.ServiceContext serviceContext)
370 throws com.liferay.portal.kernel.exception.PortalException,
371 com.liferay.portal.kernel.exception.SystemException;
372
373 public void copyPageAttachments(long userId, long templateNodeId,
374 java.lang.String templateTitle, long nodeId, java.lang.String title)
375 throws com.liferay.portal.kernel.exception.PortalException,
376 com.liferay.portal.kernel.exception.SystemException;
377
378 public void deletePage(long nodeId, java.lang.String title)
379 throws com.liferay.portal.kernel.exception.PortalException,
380 com.liferay.portal.kernel.exception.SystemException;
381
382
386 public void deletePage(long nodeId, java.lang.String title, double version)
387 throws com.liferay.portal.kernel.exception.PortalException,
388 com.liferay.portal.kernel.exception.SystemException;
389
390 @com.liferay.portal.kernel.systemevent.SystemEvent(action = SystemEventConstants.ACTION_SKIP, type = SystemEventConstants.TYPE_DELETE)
391 public void deletePage(com.liferay.portlet.wiki.model.WikiPage page)
392 throws com.liferay.portal.kernel.exception.PortalException,
393 com.liferay.portal.kernel.exception.SystemException;
394
395 public void deletePageAttachment(long nodeId, java.lang.String title,
396 java.lang.String fileName)
397 throws com.liferay.portal.kernel.exception.PortalException,
398 com.liferay.portal.kernel.exception.SystemException;
399
400 public void deletePageAttachments(long nodeId, java.lang.String title)
401 throws com.liferay.portal.kernel.exception.PortalException,
402 com.liferay.portal.kernel.exception.SystemException;
403
404 public void deletePages(long nodeId)
405 throws com.liferay.portal.kernel.exception.PortalException,
406 com.liferay.portal.kernel.exception.SystemException;
407
408 public void deleteTempPageAttachment(long groupId, long userId,
409 java.lang.String fileName, java.lang.String tempFolderName)
410 throws com.liferay.portal.kernel.exception.PortalException,
411 com.liferay.portal.kernel.exception.SystemException;
412
413 public void deleteTrashPageAttachments(long nodeId, java.lang.String title)
414 throws com.liferay.portal.kernel.exception.PortalException,
415 com.liferay.portal.kernel.exception.SystemException;
416
417 public void discardDraft(long nodeId, java.lang.String title, double version)
418 throws com.liferay.portal.kernel.exception.PortalException,
419 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 resourcePrimKey, 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 fetchLatestPage(
428 long resourcePrimKey, long nodeId, int status, boolean preferApproved)
429 throws com.liferay.portal.kernel.exception.SystemException;
430
431 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
432 public com.liferay.portlet.wiki.model.WikiPage fetchLatestPage(
433 long nodeId, java.lang.String title, int status, boolean preferApproved)
434 throws com.liferay.portal.kernel.exception.SystemException;
435
436 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
437 public com.liferay.portlet.wiki.model.WikiPage fetchPage(long nodeId,
438 java.lang.String title, double version)
439 throws com.liferay.portal.kernel.exception.SystemException;
440
441 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
442 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(
443 long nodeId, boolean head, java.lang.String parentTitle)
444 throws com.liferay.portal.kernel.exception.SystemException;
445
446 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
447 public com.liferay.portlet.wiki.model.WikiPage getDraftPage(long nodeId,
448 java.lang.String title)
449 throws com.liferay.portal.kernel.exception.PortalException,
450 com.liferay.portal.kernel.exception.SystemException;
451
452 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
453 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getIncomingLinks(
454 long nodeId, java.lang.String title)
455 throws com.liferay.portal.kernel.exception.PortalException,
456 com.liferay.portal.kernel.exception.SystemException;
457
458 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
459 public com.liferay.portlet.wiki.model.WikiPage getLatestPage(
460 long resourcePrimKey, int status, boolean preferApproved)
461 throws com.liferay.portal.kernel.exception.PortalException,
462 com.liferay.portal.kernel.exception.SystemException;
463
464 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
465 public com.liferay.portlet.wiki.model.WikiPage getLatestPage(
466 long resourcePrimKey, long nodeId, int status, boolean preferApproved)
467 throws com.liferay.portal.kernel.exception.PortalException,
468 com.liferay.portal.kernel.exception.SystemException;
469
470 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
471 public com.liferay.portlet.wiki.model.WikiPage getLatestPage(long nodeId,
472 java.lang.String title, int status, boolean preferApproved)
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> getNoAssetPages()
478 throws com.liferay.portal.kernel.exception.SystemException;
479
480 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
481 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(
482 long nodeId)
483 throws com.liferay.portal.kernel.exception.PortalException,
484 com.liferay.portal.kernel.exception.SystemException;
485
486 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
487 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOutgoingLinks(
488 long nodeId, java.lang.String title)
489 throws com.liferay.portal.kernel.exception.PortalException,
490 com.liferay.portal.kernel.exception.SystemException;
491
492 public com.liferay.portlet.wiki.model.WikiPage getPage(long resourcePrimKey)
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(
497 long resourcePrimKey, 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)
503 throws com.liferay.portal.kernel.exception.PortalException,
504 com.liferay.portal.kernel.exception.SystemException;
505
506 public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
507 java.lang.String title, java.lang.Boolean head)
508 throws com.liferay.portal.kernel.exception.PortalException,
509 com.liferay.portal.kernel.exception.SystemException;
510
511 public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
512 java.lang.String title, double version)
513 throws com.liferay.portal.kernel.exception.PortalException,
514 com.liferay.portal.kernel.exception.SystemException;
515
516 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
517 public com.liferay.portlet.wiki.model.WikiPage getPageByPageId(long pageId)
518 throws com.liferay.portal.kernel.exception.PortalException,
519 com.liferay.portal.kernel.exception.SystemException;
520
521 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
522 public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
523 long nodeId, java.lang.String title,
524 javax.portlet.PortletURL viewPageURL,
525 javax.portlet.PortletURL editPageURL,
526 java.lang.String attachmentURLPrefix)
527 throws com.liferay.portal.kernel.exception.PortalException,
528 com.liferay.portal.kernel.exception.SystemException;
529
530 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
531 public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
532 com.liferay.portlet.wiki.model.WikiPage page,
533 javax.portlet.PortletURL viewPageURL,
534 javax.portlet.PortletURL editPageURL,
535 java.lang.String attachmentURLPrefix)
536 throws com.liferay.portal.kernel.exception.PortalException,
537 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, boolean head, 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, boolean head, int status, int start, int end)
547 throws com.liferay.portal.kernel.exception.SystemException;
548
549 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
550 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
551 long nodeId, boolean head, int status, int start, int end,
552 com.liferay.portal.kernel.util.OrderByComparator obc)
553 throws com.liferay.portal.kernel.exception.SystemException;
554
555 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
556 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
557 long nodeId, boolean head, int start, int end,
558 com.liferay.portal.kernel.util.OrderByComparator obc)
559 throws com.liferay.portal.kernel.exception.SystemException;
560
561 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
562 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
563 long nodeId, int start, int end)
564 throws com.liferay.portal.kernel.exception.SystemException;
565
566 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
567 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
568 long nodeId, int start, int end,
569 com.liferay.portal.kernel.util.OrderByComparator obc)
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 resourcePrimKey, long nodeId, int status)
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 userId, long nodeId, int status, int start, int end)
580 throws com.liferay.portal.kernel.exception.SystemException;
581
582 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
583 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
584 long nodeId, java.lang.String title, boolean head, int start, int end)
585 throws com.liferay.portal.kernel.exception.SystemException;
586
587 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
588 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
589 long nodeId, java.lang.String title, int start, int end)
590 throws com.liferay.portal.kernel.exception.SystemException;
591
592 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
593 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
594 long nodeId, java.lang.String title, int start, int end,
595 com.liferay.portal.kernel.util.OrderByComparator obc)
596 throws com.liferay.portal.kernel.exception.SystemException;
597
598 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
599 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
600 java.lang.String format)
601 throws com.liferay.portal.kernel.exception.SystemException;
602
603 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
604 public int getPagesCount(long nodeId)
605 throws com.liferay.portal.kernel.exception.SystemException;
606
607 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
608 public int getPagesCount(long nodeId, boolean head)
609 throws com.liferay.portal.kernel.exception.SystemException;
610
611 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
612 public int getPagesCount(long nodeId, boolean head, int status)
613 throws com.liferay.portal.kernel.exception.SystemException;
614
615 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
616 public int getPagesCount(long nodeId, int status)
617 throws com.liferay.portal.kernel.exception.SystemException;
618
619 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
620 public int getPagesCount(long userId, long nodeId, int status)
621 throws com.liferay.portal.kernel.exception.SystemException;
622
623 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
624 public int getPagesCount(long nodeId, java.lang.String title)
625 throws com.liferay.portal.kernel.exception.SystemException;
626
627 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
628 public int getPagesCount(long nodeId, java.lang.String title, boolean head)
629 throws com.liferay.portal.kernel.exception.SystemException;
630
631 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
632 public int getPagesCount(java.lang.String format)
633 throws com.liferay.portal.kernel.exception.SystemException;
634
635
639 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
640 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
641 long nodeId, int start, int end)
642 throws com.liferay.portal.kernel.exception.PortalException,
643 com.liferay.portal.kernel.exception.SystemException;
644
645 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
646 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
647 long groupId, long nodeId, int start, int end)
648 throws com.liferay.portal.kernel.exception.SystemException;
649
650
654 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
655 public int getRecentChangesCount(long nodeId)
656 throws com.liferay.portal.kernel.exception.PortalException,
657 com.liferay.portal.kernel.exception.SystemException;
658
659 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
660 public int getRecentChangesCount(long groupId, long nodeId)
661 throws com.liferay.portal.kernel.exception.SystemException;
662
663 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
664 public java.lang.String[] getTempPageAttachmentNames(long groupId,
665 long userId, java.lang.String tempFolderName)
666 throws com.liferay.portal.kernel.exception.PortalException,
667 com.liferay.portal.kernel.exception.SystemException;
668
669 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
670 public boolean hasDraftPage(long nodeId, java.lang.String title)
671 throws com.liferay.portal.kernel.exception.SystemException;
672
673 public void movePage(long userId, long nodeId, java.lang.String title,
674 java.lang.String newTitle, boolean strict,
675 com.liferay.portal.service.ServiceContext serviceContext)
676 throws com.liferay.portal.kernel.exception.PortalException,
677 com.liferay.portal.kernel.exception.SystemException;
678
679 public void movePage(long userId, long nodeId, java.lang.String title,
680 java.lang.String newTitle,
681 com.liferay.portal.service.ServiceContext serviceContext)
682 throws com.liferay.portal.kernel.exception.PortalException,
683 com.liferay.portal.kernel.exception.SystemException;
684
685 public com.liferay.portal.kernel.repository.model.FileEntry movePageAttachmentToTrash(
686 long userId, long nodeId, java.lang.String title,
687 java.lang.String fileName)
688 throws com.liferay.portal.kernel.exception.PortalException,
689 com.liferay.portal.kernel.exception.SystemException;
690
691 public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
692 long userId, long nodeId, java.lang.String title)
693 throws com.liferay.portal.kernel.exception.PortalException,
694 com.liferay.portal.kernel.exception.SystemException;
695
696 public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
697 long userId, long nodeId, java.lang.String title, double version)
698 throws com.liferay.portal.kernel.exception.PortalException,
699 com.liferay.portal.kernel.exception.SystemException;
700
701 public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
702 long userId, com.liferay.portlet.wiki.model.WikiPage page)
703 throws com.liferay.portal.kernel.exception.PortalException,
704 com.liferay.portal.kernel.exception.SystemException;
705
706 public void restorePageAttachmentFromTrash(long userId, long nodeId,
707 java.lang.String title, java.lang.String fileName)
708 throws com.liferay.portal.kernel.exception.PortalException,
709 com.liferay.portal.kernel.exception.SystemException;
710
711 public void restorePageFromTrash(long userId,
712 com.liferay.portlet.wiki.model.WikiPage page)
713 throws com.liferay.portal.kernel.exception.PortalException,
714 com.liferay.portal.kernel.exception.SystemException;
715
716 public com.liferay.portlet.wiki.model.WikiPage revertPage(long userId,
717 long nodeId, java.lang.String title, double version,
718 com.liferay.portal.service.ServiceContext serviceContext)
719 throws com.liferay.portal.kernel.exception.PortalException,
720 com.liferay.portal.kernel.exception.SystemException;
721
722 public void subscribePage(long userId, long nodeId, java.lang.String title)
723 throws com.liferay.portal.kernel.exception.PortalException,
724 com.liferay.portal.kernel.exception.SystemException;
725
726 public void unsubscribePage(long userId, long nodeId, java.lang.String title)
727 throws com.liferay.portal.kernel.exception.PortalException,
728 com.liferay.portal.kernel.exception.SystemException;
729
730 public void updateAsset(long userId,
731 com.liferay.portlet.wiki.model.WikiPage page, long[] assetCategoryIds,
732 java.lang.String[] assetTagNames, long[] assetLinkEntryIds)
733 throws com.liferay.portal.kernel.exception.PortalException,
734 com.liferay.portal.kernel.exception.SystemException;
735
736 public com.liferay.portlet.wiki.model.WikiPage updatePage(long userId,
737 long nodeId, java.lang.String title, double version,
738 java.lang.String content, java.lang.String summary, boolean minorEdit,
739 java.lang.String format, java.lang.String parentTitle,
740 java.lang.String redirectTitle,
741 com.liferay.portal.service.ServiceContext serviceContext)
742 throws com.liferay.portal.kernel.exception.PortalException,
743 com.liferay.portal.kernel.exception.SystemException;
744
745 public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
746 long resourcePrimKey, int status,
747 com.liferay.portal.service.ServiceContext serviceContext)
748 throws com.liferay.portal.kernel.exception.PortalException,
749 com.liferay.portal.kernel.exception.SystemException;
750
751 public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
752 com.liferay.portlet.wiki.model.WikiPage page, int status,
753 com.liferay.portal.service.ServiceContext serviceContext)
754 throws com.liferay.portal.kernel.exception.PortalException,
755 com.liferay.portal.kernel.exception.SystemException;
756
757 public void validateTitle(java.lang.String title)
758 throws com.liferay.portal.kernel.exception.PortalException;
759 }