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.transaction.Isolation;
022 import com.liferay.portal.kernel.transaction.Propagation;
023 import com.liferay.portal.kernel.transaction.Transactional;
024 import com.liferay.portal.service.BaseLocalService;
025 import com.liferay.portal.service.PersistedModelLocalService;
026
027
039 @ProviderType
040 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
041 PortalException.class, SystemException.class})
042 public interface WikiPageLocalService extends BaseLocalService,
043 PersistedModelLocalService {
044
049
050
057 public com.liferay.portlet.wiki.model.WikiPage addWikiPage(
058 com.liferay.portlet.wiki.model.WikiPage wikiPage)
059 throws com.liferay.portal.kernel.exception.SystemException;
060
061
067 public com.liferay.portlet.wiki.model.WikiPage createWikiPage(long pageId);
068
069
077 public com.liferay.portlet.wiki.model.WikiPage deleteWikiPage(long pageId)
078 throws com.liferay.portal.kernel.exception.PortalException,
079 com.liferay.portal.kernel.exception.SystemException;
080
081
088 public com.liferay.portlet.wiki.model.WikiPage deleteWikiPage(
089 com.liferay.portlet.wiki.model.WikiPage wikiPage)
090 throws com.liferay.portal.kernel.exception.SystemException;
091
092 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
093
094
101 @SuppressWarnings("rawtypes")
102 public java.util.List dynamicQuery(
103 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
104 throws com.liferay.portal.kernel.exception.SystemException;
105
106
119 @SuppressWarnings("rawtypes")
120 public java.util.List dynamicQuery(
121 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
122 int end) throws com.liferay.portal.kernel.exception.SystemException;
123
124
138 @SuppressWarnings("rawtypes")
139 public java.util.List dynamicQuery(
140 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
141 int end,
142 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
143 throws com.liferay.portal.kernel.exception.SystemException;
144
145
152 public long dynamicQueryCount(
153 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
154 throws com.liferay.portal.kernel.exception.SystemException;
155
156
164 public long dynamicQueryCount(
165 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
166 com.liferay.portal.kernel.dao.orm.Projection projection)
167 throws com.liferay.portal.kernel.exception.SystemException;
168
169 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
170 public com.liferay.portlet.wiki.model.WikiPage fetchWikiPage(long pageId)
171 throws com.liferay.portal.kernel.exception.SystemException;
172
173
181 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
182 public com.liferay.portlet.wiki.model.WikiPage fetchWikiPageByUuidAndCompanyId(
183 java.lang.String uuid, long companyId)
184 throws com.liferay.portal.kernel.exception.SystemException;
185
186
194 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
195 public com.liferay.portlet.wiki.model.WikiPage fetchWikiPageByUuidAndGroupId(
196 java.lang.String uuid, long groupId)
197 throws com.liferay.portal.kernel.exception.SystemException;
198
199
207 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
208 public com.liferay.portlet.wiki.model.WikiPage getWikiPage(long pageId)
209 throws com.liferay.portal.kernel.exception.PortalException,
210 com.liferay.portal.kernel.exception.SystemException;
211
212 @Override
213 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
214 public com.liferay.portal.model.PersistedModel getPersistedModel(
215 java.io.Serializable primaryKeyObj)
216 throws com.liferay.portal.kernel.exception.PortalException,
217 com.liferay.portal.kernel.exception.SystemException;
218
219
228 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
229 public com.liferay.portlet.wiki.model.WikiPage getWikiPageByUuidAndCompanyId(
230 java.lang.String uuid, long companyId)
231 throws com.liferay.portal.kernel.exception.PortalException,
232 com.liferay.portal.kernel.exception.SystemException;
233
234
243 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
244 public com.liferay.portlet.wiki.model.WikiPage getWikiPageByUuidAndGroupId(
245 java.lang.String uuid, long groupId)
246 throws com.liferay.portal.kernel.exception.PortalException,
247 com.liferay.portal.kernel.exception.SystemException;
248
249
261 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
262 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getWikiPages(
263 int start, int end)
264 throws com.liferay.portal.kernel.exception.SystemException;
265
266
272 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
273 public int getWikiPagesCount()
274 throws com.liferay.portal.kernel.exception.SystemException;
275
276
283 public com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
284 com.liferay.portlet.wiki.model.WikiPage wikiPage)
285 throws com.liferay.portal.kernel.exception.SystemException;
286
287
292 public java.lang.String getBeanIdentifier();
293
294
299 public void setBeanIdentifier(java.lang.String beanIdentifier);
300
301 public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
302 long nodeId, java.lang.String title, double version,
303 java.lang.String content, java.lang.String summary, boolean minorEdit,
304 java.lang.String format, boolean head, java.lang.String parentTitle,
305 java.lang.String redirectTitle,
306 com.liferay.portal.service.ServiceContext serviceContext)
307 throws com.liferay.portal.kernel.exception.PortalException,
308 com.liferay.portal.kernel.exception.SystemException;
309
310 public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
311 long nodeId, java.lang.String title, java.lang.String content,
312 java.lang.String summary, boolean minorEdit,
313 com.liferay.portal.service.ServiceContext serviceContext)
314 throws com.liferay.portal.kernel.exception.PortalException,
315 com.liferay.portal.kernel.exception.SystemException;
316
317 public void addPageAttachment(long userId, long nodeId,
318 java.lang.String title, java.lang.String fileName, java.io.File file,
319 java.lang.String mimeType)
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,
325 java.io.InputStream inputStream, java.lang.String mimeType)
326 throws com.liferay.portal.kernel.exception.PortalException,
327 com.liferay.portal.kernel.exception.SystemException;
328
329 public void addPageAttachments(long userId, long nodeId,
330 java.lang.String title,
331 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs)
332 throws com.liferay.portal.kernel.exception.PortalException,
333 com.liferay.portal.kernel.exception.SystemException;
334
335 public void addPageResources(long nodeId, java.lang.String title,
336 boolean addGroupPermissions, boolean addGuestPermissions)
337 throws com.liferay.portal.kernel.exception.PortalException,
338 com.liferay.portal.kernel.exception.SystemException;
339
340 public void addPageResources(long nodeId, java.lang.String title,
341 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
342 throws com.liferay.portal.kernel.exception.PortalException,
343 com.liferay.portal.kernel.exception.SystemException;
344
345 public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
346 boolean addGroupPermissions, boolean addGuestPermissions)
347 throws com.liferay.portal.kernel.exception.PortalException,
348 com.liferay.portal.kernel.exception.SystemException;
349
350 public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
351 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
352 throws com.liferay.portal.kernel.exception.PortalException,
353 com.liferay.portal.kernel.exception.SystemException;
354
355 public void addTempPageAttachment(long groupId, long userId,
356 java.lang.String fileName, java.lang.String tempFolderName,
357 java.io.InputStream inputStream, java.lang.String mimeType)
358 throws com.liferay.portal.kernel.exception.PortalException,
359 com.liferay.portal.kernel.exception.SystemException;
360
361 public void changeParent(long userId, long nodeId, java.lang.String title,
362 java.lang.String newParentTitle,
363 com.liferay.portal.service.ServiceContext serviceContext)
364 throws com.liferay.portal.kernel.exception.PortalException,
365 com.liferay.portal.kernel.exception.SystemException;
366
367 public void copyPageAttachments(long userId, long templateNodeId,
368 java.lang.String templateTitle, long nodeId, java.lang.String title)
369 throws com.liferay.portal.kernel.exception.PortalException,
370 com.liferay.portal.kernel.exception.SystemException;
371
372 public void deletePage(long nodeId, java.lang.String title)
373 throws com.liferay.portal.kernel.exception.PortalException,
374 com.liferay.portal.kernel.exception.SystemException;
375
376
380 public void deletePage(long nodeId, java.lang.String title, double version)
381 throws com.liferay.portal.kernel.exception.PortalException,
382 com.liferay.portal.kernel.exception.SystemException;
383
384 public void deletePage(com.liferay.portlet.wiki.model.WikiPage page)
385 throws com.liferay.portal.kernel.exception.PortalException,
386 com.liferay.portal.kernel.exception.SystemException;
387
388 public void deletePageAttachment(long nodeId, java.lang.String title,
389 java.lang.String fileName)
390 throws com.liferay.portal.kernel.exception.PortalException,
391 com.liferay.portal.kernel.exception.SystemException;
392
393 public void deletePageAttachments(long nodeId, java.lang.String title)
394 throws com.liferay.portal.kernel.exception.PortalException,
395 com.liferay.portal.kernel.exception.SystemException;
396
397 public void deletePages(long nodeId)
398 throws com.liferay.portal.kernel.exception.PortalException,
399 com.liferay.portal.kernel.exception.SystemException;
400
401 public void deleteTempPageAttachment(long groupId, long userId,
402 java.lang.String fileName, java.lang.String tempFolderName)
403 throws com.liferay.portal.kernel.exception.PortalException,
404 com.liferay.portal.kernel.exception.SystemException;
405
406 public void deleteTrashPageAttachments(long nodeId, java.lang.String title)
407 throws com.liferay.portal.kernel.exception.PortalException,
408 com.liferay.portal.kernel.exception.SystemException;
409
410 public void discardDraft(long nodeId, java.lang.String title, double version)
411 throws com.liferay.portal.kernel.exception.PortalException,
412 com.liferay.portal.kernel.exception.SystemException;
413
414 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
415 public com.liferay.portlet.wiki.model.WikiPage fetchLatestPage(
416 long resourcePrimKey, int status, boolean preferApproved)
417 throws com.liferay.portal.kernel.exception.SystemException;
418
419 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
420 public com.liferay.portlet.wiki.model.WikiPage fetchLatestPage(
421 long resourcePrimKey, long nodeId, int status, boolean preferApproved)
422 throws com.liferay.portal.kernel.exception.SystemException;
423
424 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
425 public com.liferay.portlet.wiki.model.WikiPage fetchLatestPage(
426 long nodeId, java.lang.String title, int status, boolean preferApproved)
427 throws com.liferay.portal.kernel.exception.SystemException;
428
429 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
430 public com.liferay.portlet.wiki.model.WikiPage fetchPage(long nodeId,
431 java.lang.String title, double version)
432 throws com.liferay.portal.kernel.exception.SystemException;
433
434 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
435 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(
436 long nodeId, boolean head, java.lang.String parentTitle)
437 throws com.liferay.portal.kernel.exception.SystemException;
438
439 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
440 public com.liferay.portlet.wiki.model.WikiPage getDraftPage(long nodeId,
441 java.lang.String title)
442 throws com.liferay.portal.kernel.exception.PortalException,
443 com.liferay.portal.kernel.exception.SystemException;
444
445 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
446 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getIncomingLinks(
447 long nodeId, java.lang.String title)
448 throws com.liferay.portal.kernel.exception.PortalException,
449 com.liferay.portal.kernel.exception.SystemException;
450
451 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
452 public com.liferay.portlet.wiki.model.WikiPage getLatestPage(
453 long resourcePrimKey, int status, boolean preferApproved)
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 com.liferay.portlet.wiki.model.WikiPage getLatestPage(
459 long resourcePrimKey, long nodeId, int status, boolean preferApproved)
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(long nodeId,
465 java.lang.String title, 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 java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNoAssetPages()
471 throws com.liferay.portal.kernel.exception.SystemException;
472
473 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
474 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(
475 long nodeId)
476 throws com.liferay.portal.kernel.exception.PortalException,
477 com.liferay.portal.kernel.exception.SystemException;
478
479 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
480 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOutgoingLinks(
481 long nodeId, java.lang.String title)
482 throws com.liferay.portal.kernel.exception.PortalException,
483 com.liferay.portal.kernel.exception.SystemException;
484
485 public com.liferay.portlet.wiki.model.WikiPage getPage(long resourcePrimKey)
486 throws com.liferay.portal.kernel.exception.PortalException,
487 com.liferay.portal.kernel.exception.SystemException;
488
489 public com.liferay.portlet.wiki.model.WikiPage getPage(
490 long resourcePrimKey, java.lang.Boolean head)
491 throws com.liferay.portal.kernel.exception.PortalException,
492 com.liferay.portal.kernel.exception.SystemException;
493
494 public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
495 java.lang.String title)
496 throws com.liferay.portal.kernel.exception.PortalException,
497 com.liferay.portal.kernel.exception.SystemException;
498
499 public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
500 java.lang.String title, java.lang.Boolean head)
501 throws com.liferay.portal.kernel.exception.PortalException,
502 com.liferay.portal.kernel.exception.SystemException;
503
504 public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
505 java.lang.String title, double version)
506 throws com.liferay.portal.kernel.exception.PortalException,
507 com.liferay.portal.kernel.exception.SystemException;
508
509 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
510 public com.liferay.portlet.wiki.model.WikiPage getPageByPageId(long pageId)
511 throws com.liferay.portal.kernel.exception.PortalException,
512 com.liferay.portal.kernel.exception.SystemException;
513
514 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
515 public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
516 long nodeId, java.lang.String title,
517 javax.portlet.PortletURL viewPageURL,
518 javax.portlet.PortletURL editPageURL,
519 java.lang.String attachmentURLPrefix)
520 throws com.liferay.portal.kernel.exception.PortalException,
521 com.liferay.portal.kernel.exception.SystemException;
522
523 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
524 public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
525 com.liferay.portlet.wiki.model.WikiPage page,
526 javax.portlet.PortletURL viewPageURL,
527 javax.portlet.PortletURL editPageURL,
528 java.lang.String attachmentURLPrefix)
529 throws com.liferay.portal.kernel.exception.PortalException,
530 com.liferay.portal.kernel.exception.SystemException;
531
532 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
533 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
534 long nodeId, boolean head, int start, int end)
535 throws com.liferay.portal.kernel.exception.SystemException;
536
537 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
538 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
539 long nodeId, boolean head, int status, int start, int end)
540 throws com.liferay.portal.kernel.exception.SystemException;
541
542 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
543 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
544 long nodeId, boolean head, int status, int start, int end,
545 com.liferay.portal.kernel.util.OrderByComparator obc)
546 throws com.liferay.portal.kernel.exception.SystemException;
547
548 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
549 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
550 long nodeId, boolean head, int start, int end,
551 com.liferay.portal.kernel.util.OrderByComparator obc)
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, int start, int end)
557 throws com.liferay.portal.kernel.exception.SystemException;
558
559 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
560 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
561 long nodeId, int start, int end,
562 com.liferay.portal.kernel.util.OrderByComparator obc)
563 throws com.liferay.portal.kernel.exception.SystemException;
564
565 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
566 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
567 long resourcePrimKey, long nodeId, int status)
568 throws com.liferay.portal.kernel.exception.SystemException;
569
570 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
571 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
572 long userId, long nodeId, int status, int start, int end)
573 throws com.liferay.portal.kernel.exception.SystemException;
574
575 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
576 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
577 long nodeId, java.lang.String title, boolean head, int start, int end)
578 throws com.liferay.portal.kernel.exception.SystemException;
579
580 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
581 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
582 long nodeId, java.lang.String title, int start, int end)
583 throws com.liferay.portal.kernel.exception.SystemException;
584
585 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
586 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
587 long nodeId, java.lang.String title, int start, int end,
588 com.liferay.portal.kernel.util.OrderByComparator obc)
589 throws com.liferay.portal.kernel.exception.SystemException;
590
591 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
592 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
593 java.lang.String format)
594 throws com.liferay.portal.kernel.exception.SystemException;
595
596 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
597 public int getPagesCount(long nodeId)
598 throws com.liferay.portal.kernel.exception.SystemException;
599
600 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
601 public int getPagesCount(long nodeId, boolean head)
602 throws com.liferay.portal.kernel.exception.SystemException;
603
604 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
605 public int getPagesCount(long nodeId, boolean head, int status)
606 throws com.liferay.portal.kernel.exception.SystemException;
607
608 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
609 public int getPagesCount(long nodeId, int status)
610 throws com.liferay.portal.kernel.exception.SystemException;
611
612 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
613 public int getPagesCount(long userId, long nodeId, int status)
614 throws com.liferay.portal.kernel.exception.SystemException;
615
616 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
617 public int getPagesCount(long nodeId, java.lang.String title)
618 throws com.liferay.portal.kernel.exception.SystemException;
619
620 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
621 public int getPagesCount(long nodeId, java.lang.String title, boolean head)
622 throws com.liferay.portal.kernel.exception.SystemException;
623
624 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
625 public int getPagesCount(java.lang.String format)
626 throws com.liferay.portal.kernel.exception.SystemException;
627
628
632 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
633 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
634 long nodeId, int start, int end)
635 throws com.liferay.portal.kernel.exception.PortalException,
636 com.liferay.portal.kernel.exception.SystemException;
637
638 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
639 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
640 long groupId, long nodeId, int start, int end)
641 throws com.liferay.portal.kernel.exception.SystemException;
642
643
647 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
648 public int getRecentChangesCount(long nodeId)
649 throws com.liferay.portal.kernel.exception.PortalException,
650 com.liferay.portal.kernel.exception.SystemException;
651
652 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
653 public int getRecentChangesCount(long groupId, long nodeId)
654 throws com.liferay.portal.kernel.exception.SystemException;
655
656 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
657 public java.lang.String[] getTempPageAttachmentNames(long groupId,
658 long userId, java.lang.String tempFolderName)
659 throws com.liferay.portal.kernel.exception.PortalException,
660 com.liferay.portal.kernel.exception.SystemException;
661
662 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
663 public boolean hasDraftPage(long nodeId, java.lang.String title)
664 throws com.liferay.portal.kernel.exception.SystemException;
665
666 public void movePage(long userId, long nodeId, java.lang.String title,
667 java.lang.String newTitle, boolean strict,
668 com.liferay.portal.service.ServiceContext serviceContext)
669 throws com.liferay.portal.kernel.exception.PortalException,
670 com.liferay.portal.kernel.exception.SystemException;
671
672 public void movePage(long userId, long nodeId, java.lang.String title,
673 java.lang.String newTitle,
674 com.liferay.portal.service.ServiceContext serviceContext)
675 throws com.liferay.portal.kernel.exception.PortalException,
676 com.liferay.portal.kernel.exception.SystemException;
677
678 public com.liferay.portal.kernel.repository.model.FileEntry movePageAttachmentToTrash(
679 long userId, long nodeId, java.lang.String title,
680 java.lang.String fileName)
681 throws com.liferay.portal.kernel.exception.PortalException,
682 com.liferay.portal.kernel.exception.SystemException;
683
684 public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
685 long userId, long nodeId, java.lang.String title)
686 throws com.liferay.portal.kernel.exception.PortalException,
687 com.liferay.portal.kernel.exception.SystemException;
688
689 public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
690 long userId, long nodeId, java.lang.String title, double version)
691 throws com.liferay.portal.kernel.exception.PortalException,
692 com.liferay.portal.kernel.exception.SystemException;
693
694 public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
695 long userId, com.liferay.portlet.wiki.model.WikiPage page)
696 throws com.liferay.portal.kernel.exception.PortalException,
697 com.liferay.portal.kernel.exception.SystemException;
698
699 public void restorePageAttachmentFromTrash(long userId, long nodeId,
700 java.lang.String title, java.lang.String fileName)
701 throws com.liferay.portal.kernel.exception.PortalException,
702 com.liferay.portal.kernel.exception.SystemException;
703
704 public void restorePageFromTrash(long userId,
705 com.liferay.portlet.wiki.model.WikiPage page)
706 throws com.liferay.portal.kernel.exception.PortalException,
707 com.liferay.portal.kernel.exception.SystemException;
708
709 public com.liferay.portlet.wiki.model.WikiPage revertPage(long userId,
710 long nodeId, java.lang.String title, double version,
711 com.liferay.portal.service.ServiceContext serviceContext)
712 throws com.liferay.portal.kernel.exception.PortalException,
713 com.liferay.portal.kernel.exception.SystemException;
714
715 public void subscribePage(long userId, long nodeId, java.lang.String title)
716 throws com.liferay.portal.kernel.exception.PortalException,
717 com.liferay.portal.kernel.exception.SystemException;
718
719 public void unsubscribePage(long userId, long nodeId, java.lang.String title)
720 throws com.liferay.portal.kernel.exception.PortalException,
721 com.liferay.portal.kernel.exception.SystemException;
722
723 public void updateAsset(long userId,
724 com.liferay.portlet.wiki.model.WikiPage page, long[] assetCategoryIds,
725 java.lang.String[] assetTagNames, long[] assetLinkEntryIds)
726 throws com.liferay.portal.kernel.exception.PortalException,
727 com.liferay.portal.kernel.exception.SystemException;
728
729 public com.liferay.portlet.wiki.model.WikiPage updatePage(long userId,
730 long nodeId, java.lang.String title, double version,
731 java.lang.String content, java.lang.String summary, boolean minorEdit,
732 java.lang.String format, java.lang.String parentTitle,
733 java.lang.String redirectTitle,
734 com.liferay.portal.service.ServiceContext serviceContext)
735 throws com.liferay.portal.kernel.exception.PortalException,
736 com.liferay.portal.kernel.exception.SystemException;
737
738 public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
739 long resourcePrimKey, int status,
740 com.liferay.portal.service.ServiceContext serviceContext)
741 throws com.liferay.portal.kernel.exception.PortalException,
742 com.liferay.portal.kernel.exception.SystemException;
743
744 public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
745 com.liferay.portlet.wiki.model.WikiPage page, int status,
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 void validateTitle(java.lang.String title)
751 throws com.liferay.portal.kernel.exception.PortalException;
752 }