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, send = false, 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)
439 throws com.liferay.portal.kernel.exception.SystemException;
440
441 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
442 public com.liferay.portlet.wiki.model.WikiPage fetchPage(long nodeId,
443 java.lang.String title, double version)
444 throws com.liferay.portal.kernel.exception.SystemException;
445
446 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
447 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(
448 long nodeId, boolean head, java.lang.String parentTitle)
449 throws com.liferay.portal.kernel.exception.SystemException;
450
451 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
452 public com.liferay.portlet.wiki.model.WikiPage getDraftPage(long nodeId,
453 java.lang.String title)
454 throws com.liferay.portal.kernel.exception.PortalException,
455 com.liferay.portal.kernel.exception.SystemException;
456
457 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
458 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getIncomingLinks(
459 long nodeId, java.lang.String title)
460 throws com.liferay.portal.kernel.exception.PortalException,
461 com.liferay.portal.kernel.exception.SystemException;
462
463 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
464 public com.liferay.portlet.wiki.model.WikiPage getLatestPage(
465 long resourcePrimKey, int status, boolean preferApproved)
466 throws com.liferay.portal.kernel.exception.PortalException,
467 com.liferay.portal.kernel.exception.SystemException;
468
469 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
470 public com.liferay.portlet.wiki.model.WikiPage getLatestPage(
471 long resourcePrimKey, long nodeId, int status, boolean preferApproved)
472 throws com.liferay.portal.kernel.exception.PortalException,
473 com.liferay.portal.kernel.exception.SystemException;
474
475 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
476 public com.liferay.portlet.wiki.model.WikiPage getLatestPage(long nodeId,
477 java.lang.String title, int status, boolean preferApproved)
478 throws com.liferay.portal.kernel.exception.PortalException,
479 com.liferay.portal.kernel.exception.SystemException;
480
481 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
482 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNoAssetPages()
483 throws com.liferay.portal.kernel.exception.SystemException;
484
485 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
486 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(
487 long nodeId)
488 throws com.liferay.portal.kernel.exception.PortalException,
489 com.liferay.portal.kernel.exception.SystemException;
490
491 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
492 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOutgoingLinks(
493 long nodeId, java.lang.String title)
494 throws com.liferay.portal.kernel.exception.PortalException,
495 com.liferay.portal.kernel.exception.SystemException;
496
497 public com.liferay.portlet.wiki.model.WikiPage getPage(long resourcePrimKey)
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(
502 long resourcePrimKey, java.lang.Boolean head)
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)
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, java.lang.Boolean head)
513 throws com.liferay.portal.kernel.exception.PortalException,
514 com.liferay.portal.kernel.exception.SystemException;
515
516 public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
517 java.lang.String title, double version)
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.WikiPage getPageByPageId(long pageId)
523 throws com.liferay.portal.kernel.exception.PortalException,
524 com.liferay.portal.kernel.exception.SystemException;
525
526 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
527 public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
528 long nodeId, java.lang.String title,
529 javax.portlet.PortletURL viewPageURL,
530 javax.portlet.PortletURL editPageURL,
531 java.lang.String attachmentURLPrefix)
532 throws com.liferay.portal.kernel.exception.PortalException,
533 com.liferay.portal.kernel.exception.SystemException;
534
535 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
536 public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
537 com.liferay.portlet.wiki.model.WikiPage page,
538 javax.portlet.PortletURL viewPageURL,
539 javax.portlet.PortletURL editPageURL,
540 java.lang.String attachmentURLPrefix)
541 throws com.liferay.portal.kernel.exception.PortalException,
542 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 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 throws com.liferay.portal.kernel.exception.SystemException;
553
554 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
555 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
556 long nodeId, boolean head, int status, int start, int end,
557 com.liferay.portal.kernel.util.OrderByComparator obc)
558 throws com.liferay.portal.kernel.exception.SystemException;
559
560 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
561 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
562 long nodeId, boolean head, int start, int end,
563 com.liferay.portal.kernel.util.OrderByComparator obc)
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 throws com.liferay.portal.kernel.exception.SystemException;
570
571 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
572 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
573 long nodeId, int start, int end,
574 com.liferay.portal.kernel.util.OrderByComparator obc)
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 resourcePrimKey, long nodeId, int status)
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 userId, long nodeId, int status, 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, boolean head, 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 throws 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> getPages(
599 long nodeId, java.lang.String title, int start, int end,
600 com.liferay.portal.kernel.util.OrderByComparator obc)
601 throws com.liferay.portal.kernel.exception.SystemException;
602
603 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
604 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
605 java.lang.String format)
606 throws com.liferay.portal.kernel.exception.SystemException;
607
608 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
609 public int getPagesCount(long nodeId)
610 throws com.liferay.portal.kernel.exception.SystemException;
611
612 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
613 public int getPagesCount(long nodeId, boolean head)
614 throws com.liferay.portal.kernel.exception.SystemException;
615
616 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
617 public int getPagesCount(long nodeId, boolean head, int status)
618 throws com.liferay.portal.kernel.exception.SystemException;
619
620 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
621 public int getPagesCount(long nodeId, int status)
622 throws com.liferay.portal.kernel.exception.SystemException;
623
624 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
625 public int getPagesCount(long userId, long nodeId, int status)
626 throws com.liferay.portal.kernel.exception.SystemException;
627
628 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
629 public int getPagesCount(long nodeId, java.lang.String title)
630 throws com.liferay.portal.kernel.exception.SystemException;
631
632 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
633 public int getPagesCount(long nodeId, java.lang.String title, boolean head)
634 throws com.liferay.portal.kernel.exception.SystemException;
635
636 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
637 public int getPagesCount(java.lang.String format)
638 throws com.liferay.portal.kernel.exception.SystemException;
639
640
644 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
645 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
646 long nodeId, int start, int end)
647 throws com.liferay.portal.kernel.exception.PortalException,
648 com.liferay.portal.kernel.exception.SystemException;
649
650 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
651 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
652 long groupId, long nodeId, int start, int end)
653 throws com.liferay.portal.kernel.exception.SystemException;
654
655
659 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
660 public int getRecentChangesCount(long nodeId)
661 throws com.liferay.portal.kernel.exception.PortalException,
662 com.liferay.portal.kernel.exception.SystemException;
663
664 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
665 public int getRecentChangesCount(long groupId, long nodeId)
666 throws com.liferay.portal.kernel.exception.SystemException;
667
668 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
669 public java.lang.String[] getTempPageAttachmentNames(long groupId,
670 long userId, java.lang.String tempFolderName)
671 throws com.liferay.portal.kernel.exception.PortalException,
672 com.liferay.portal.kernel.exception.SystemException;
673
674 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
675 public boolean hasDraftPage(long nodeId, java.lang.String title)
676 throws com.liferay.portal.kernel.exception.SystemException;
677
678 public void movePage(long userId, long nodeId, java.lang.String title,
679 java.lang.String newTitle, boolean strict,
680 com.liferay.portal.service.ServiceContext serviceContext)
681 throws com.liferay.portal.kernel.exception.PortalException,
682 com.liferay.portal.kernel.exception.SystemException;
683
684 public void movePage(long userId, long nodeId, java.lang.String title,
685 java.lang.String newTitle,
686 com.liferay.portal.service.ServiceContext serviceContext)
687 throws com.liferay.portal.kernel.exception.PortalException,
688 com.liferay.portal.kernel.exception.SystemException;
689
690 public com.liferay.portal.kernel.repository.model.FileEntry movePageAttachmentToTrash(
691 long userId, long nodeId, java.lang.String title,
692 java.lang.String fileName)
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)
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, long nodeId, java.lang.String title, double version)
703 throws com.liferay.portal.kernel.exception.PortalException,
704 com.liferay.portal.kernel.exception.SystemException;
705
706 public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
707 long userId, com.liferay.portlet.wiki.model.WikiPage page)
708 throws com.liferay.portal.kernel.exception.PortalException,
709 com.liferay.portal.kernel.exception.SystemException;
710
711 public void restorePageAttachmentFromTrash(long userId, long nodeId,
712 java.lang.String title, java.lang.String fileName)
713 throws com.liferay.portal.kernel.exception.PortalException,
714 com.liferay.portal.kernel.exception.SystemException;
715
716 public void restorePageFromTrash(long userId,
717 com.liferay.portlet.wiki.model.WikiPage page)
718 throws com.liferay.portal.kernel.exception.PortalException,
719 com.liferay.portal.kernel.exception.SystemException;
720
721 public com.liferay.portlet.wiki.model.WikiPage revertPage(long userId,
722 long nodeId, java.lang.String title, double version,
723 com.liferay.portal.service.ServiceContext serviceContext)
724 throws com.liferay.portal.kernel.exception.PortalException,
725 com.liferay.portal.kernel.exception.SystemException;
726
727 public void subscribePage(long userId, long nodeId, java.lang.String title)
728 throws com.liferay.portal.kernel.exception.PortalException,
729 com.liferay.portal.kernel.exception.SystemException;
730
731 public void unsubscribePage(long userId, long nodeId, java.lang.String title)
732 throws com.liferay.portal.kernel.exception.PortalException,
733 com.liferay.portal.kernel.exception.SystemException;
734
735 public void updateAsset(long userId,
736 com.liferay.portlet.wiki.model.WikiPage page, long[] assetCategoryIds,
737 java.lang.String[] assetTagNames, long[] assetLinkEntryIds)
738 throws com.liferay.portal.kernel.exception.PortalException,
739 com.liferay.portal.kernel.exception.SystemException;
740
741 public com.liferay.portlet.wiki.model.WikiPage updatePage(long userId,
742 long nodeId, java.lang.String title, double version,
743 java.lang.String content, java.lang.String summary, boolean minorEdit,
744 java.lang.String format, java.lang.String parentTitle,
745 java.lang.String redirectTitle,
746 com.liferay.portal.service.ServiceContext serviceContext)
747 throws com.liferay.portal.kernel.exception.PortalException,
748 com.liferay.portal.kernel.exception.SystemException;
749
750 public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
751 long resourcePrimKey, int status,
752 com.liferay.portal.service.ServiceContext serviceContext)
753 throws com.liferay.portal.kernel.exception.PortalException,
754 com.liferay.portal.kernel.exception.SystemException;
755
756 public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
757 com.liferay.portlet.wiki.model.WikiPage page, int status,
758 com.liferay.portal.service.ServiceContext serviceContext)
759 throws com.liferay.portal.kernel.exception.PortalException,
760 com.liferay.portal.kernel.exception.SystemException;
761
762 public void validateTitle(java.lang.String title)
763 throws com.liferay.portal.kernel.exception.PortalException;
764 }