Uses of Class
org.exoplatform.wiki.WikiException
-
Packages that use WikiException Package Description org.exoplatform.wiki.jpa org.exoplatform.wiki.jpa.search org.exoplatform.wiki.service Handles all actions in Wiki.org.exoplatform.wiki.service.impl Implements services of the Wiki application.org.exoplatform.wiki.service.listener org.exoplatform.wiki.utils -
-
Uses of WikiException in org.exoplatform.wiki.jpa
Methods in org.exoplatform.wiki.jpa that throw WikiException Modifier and Type Method Description voidJPADataStorage. addAttachmentToPage(Attachment attachment, Page page)voidJPADataStorage. addPageVersion(Page page, String userName)voidJPADataStorage. addRelatedPage(Page page, Page relatedPage)voidJPADataStorage. addWatcherToPage(String username, Page page)static AttachmentEntityConverter. convertAttachmentEntityToAttachment(org.exoplatform.commons.file.services.FileService fileService, AttachmentEntity attachmentEntity, boolean loadContent)static DraftPageAttachmentEntityEntityConverter. convertAttachmentToDraftPageAttachmentEntity(org.exoplatform.commons.file.services.FileService fileService, Attachment attachment)static PageAttachmentEntityEntityConverter. convertAttachmentToPageAttachmentEntity(org.exoplatform.commons.file.services.FileService fileService, Attachment attachment)DraftPageJPADataStorage. createDraftPageForUser(DraftPage draftPage, String username)voidJPADataStorage. createEmotionIcon(EmotionIcon emotionIcon)PageJPADataStorage. createPage(Wiki wiki, Page parentPage, Page page)voidJPADataStorage. createTemplatePage(Wiki wiki, Template template)WikiJPADataStorage. createWiki(Wiki wiki)voidJPADataStorage. deleteAttachmentOfPage(String attachmentName, Page page)voidJPADataStorage. deleteAttachmentsOfDraftPage(DraftPageEntity page)voidJPADataStorage. deleteDraftByName(String draftPageName, String username)voidJPADataStorage. deleteDraftOfPage(Page page, String username)voidJPADataStorage. deletePage(String wikiType, String wikiOwner, String pageName)voidJPADataStorage. deleteTemplatePage(String wikiType, String wikiOwner, String templateName)voidJPADataStorage. deleteWatcherOfPage(String username, Page page)List<Attachment>JPADataStorage. getAttachmentsOfPage(Page page)List<Attachment>JPADataStorage. getAttachmentsOfPage(Page page, boolean loadContent)List<Page>JPADataStorage. getChildrenPageOf(Page page, String userId, boolean withDrafts)DraftPageJPADataStorage. getDraft(String draftName, String username)DraftPageJPADataStorage. getDraft(WikiPageParams wikiPageParams, String username)DraftPageJPADataStorage. getDraftPageById(String id)List<DraftPage>JPADataStorage. getDraftPagesOfUser(String username)EmotionIconJPADataStorage. getEmotionIconByName(String emotionIconName)List<EmotionIcon>JPADataStorage. getEmotionIcons()PageJPADataStorage. getExsitedOrNewDraftPageById(String wikiType, String wikiOwner, String pageName, String username)PageJPADataStorage. getHelpSyntaxPage(String syntaxId, boolean fullContent, List<org.exoplatform.container.xml.ValuesParam> syntaxHelpParams, org.exoplatform.container.configuration.ConfigurationManager configurationManager)Deprecated.List<PageHistory>JPADataStorage. getHistoryOfPage(Page page)DraftPageJPADataStorage. getLastestDraft(String username)PageJPADataStorage. getPageById(String id)PageJPADataStorage. getPageOfWikiByName(String wikiType, String wikiOwner, String pageName)PageJPADataStorage. getParentPageOf(Page page)List<String>JPADataStorage. getPreviousNamesOfPage(Page page)PageJPADataStorage. getRelatedPage(String wikiType, String wikiOwner, String pageName)List<Page>JPADataStorage. getRelatedPagesOfPage(Page page)TemplateJPADataStorage. getTemplatePage(WikiPageParams params, String templateName)Map<String,Template>JPADataStorage. getTemplates(WikiPageParams wikiPageParams)List<PageVersion>JPADataStorage. getVersionsOfPage(Page page)List<String>JPADataStorage. getWatchersOfPage(Page page)WikiJPADataStorage. getWikiByTypeAndOwner(String wikiType, String wikiOwner)List<PermissionEntry>JPADataStorage. getWikiPermission(String wikiType, String wikiOwner)List<Wiki>JPADataStorage. getWikisByType(String wikiType)booleanJPADataStorage. hasAdminPagePermission(String wikiType, String owner, org.exoplatform.services.security.Identity identity)booleanJPADataStorage. hasAdminSpacePermission(String wikiType, String owner, org.exoplatform.services.security.Identity identity)booleanJPADataStorage. hasChildren(long noteId)booleanJPADataStorage. hasPermissionOnPage(Page page, PermissionType permissionType, org.exoplatform.services.security.Identity identity)booleanJPADataStorage. hasPermissionOnWiki(Wiki wiki, PermissionType permissionType, org.exoplatform.services.security.Identity identity)voidJPADataStorage. movePage(WikiPageParams currentLocationParams, WikiPageParams newLocationParams)voidJPADataStorage. removeRelatedPage(Page page, Page relatedPage)voidJPADataStorage. renamePage(String wikiType, String wikiOwner, String pageName, String newName, String newTitle)voidJPADataStorage. restoreVersionOfPage(String versionName, Page page)List<TemplateSearchResult>JPADataStorage. searchTemplate(TemplateSearchData templateSearchData)DraftPageJPADataStorage. updateDraftPageForUser(DraftPage draftPage, String username)PageJPADataStorage. updatePage(Page page)voidJPADataStorage. updateTemplatePage(Template template)voidJPADataStorage. updateWikiPermission(String wikiType, String wikiOwner, List<PermissionEntry> permissionEntries) -
Uses of WikiException in org.exoplatform.wiki.jpa.search
Methods in org.exoplatform.wiki.jpa.search that throw WikiException Modifier and Type Method Description voidPageIndexingListener. postAddPage(String wikiType, String wikiOwner, String pageId, Page page)voidPageIndexingListener. postDeletePage(String wikiType, String wikiOwner, String pageId, Page page)voidPageIndexingListener. postgetPagefromBreadCrumb(String wikiType, String wikiOwner, String pageId, Page page)voidPageIndexingListener. postgetPagefromTree(String wikiType, String wikiOwner, String pageId, Page page)voidPageIndexingListener. postUpdatePage(String wikiType, String wikiOwner, String pageId, Page page, PageUpdateType wikiUpdateType) -
Uses of WikiException in org.exoplatform.wiki.service
Methods in org.exoplatform.wiki.service that throw WikiException Modifier and Type Method Description voidDataStorage. addAttachmentToPage(Attachment attachment, Page page)voidWikiService. addAttachmentToPage(Attachment attachment, Page page)Add the given attachment to the given pagevoidDataStorage. addPageVersion(Page page, String userName)voidDataStorage. addRelatedPage(Page page, Page relatedPage)voidWikiService. addRelatedPage(WikiPageParams orginaryPageParams, WikiPageParams relatedPageParams)Adds a related page to the current wiki page.voidDataStorage. addWatcherToPage(String username, Page page)voidWikiService. addWatcherToPage(String username, Page page)Add the given user as watcher of the wiki pagebooleanWikiService. canModifyPagePermission(Page currentPage, String currentUser)Check if the given user can update the pagebooleanWikiService. canPublicAndRetrictPage(Page currentPage, String currentUser)Check if the given user can public or restrict the pageDraftPageNoteService. createDraftForExistPage(DraftPage draftNoteToSave, Page targetNote, String revision, long currentTimeMillis, String username)Creates a draft for an existing pageDraftPageWikiService. createDraftForExistPage(DraftPage draftPage, Page targetPage, String revision, long clientTime)Creates a draft page for a wiki page which is specified by a given param object.DraftPageNoteService. createDraftForNewPage(DraftPage draftNoteToSave, long currentTimeMillis)Creates a draft for a new pageDraftPageWikiService. createDraftForNewPage(DraftPage draftPage, Page parentPage, long clientTime)Creates a draft page for a new wiki page whose parent is specified by a given param object.DraftPageDataStorage. createDraftPageForUser(DraftPage draftPage, String username)Creates a new draft notevoidDataStorage. createEmotionIcon(EmotionIcon emotionIcon)voidWikiService. createEmotionIcon(EmotionIcon emotionIcon)Creates a emotion iconPageNoteService. createNote(Wiki noteBook, String parentNoteName, Page note, org.exoplatform.services.security.Identity userIdentity)Create a new note in the given notebook, under the given parent note.PageNoteService. createNote(Wiki noteBook, Page parentNote, Page note)Create a new note in the given notebook, under the given parent note.PageDataStorage. createPage(Wiki wiki, Page parentPage, Page page)PageWikiService. createPage(Wiki wiki, String parentPageName, Page page)Create a new wiki page in the given wiki, under the given parent page.voidDataStorage. createTemplatePage(Wiki wiki, Template template)voidWikiService. createTemplatePage(Wiki wiki, Template template)Creates a new Wiki template.voidNoteService. createVersionOfNote(Page note, String userName)Creates a version of a note.voidWikiService. createVersionOfPage(Page page)Creates a version of a page.WikiDataStorage. createWiki(Wiki wiki)WikiWikiService. createWiki(String wikiType, String owner)Creates a wiki with the given type and ownervoidDataStorage. deleteAttachmentOfPage(String attachmentId, Page page)voidWikiService. deleteAttachmentOfPage(String attachmentId, Page page)Deletes the given attachment of the given pagevoidDataStorage. deleteDraftByName(String newDraftPageName, String username)voidDataStorage. deleteDraftOfPage(Page page, String username)booleanNoteService. deleteNote(String noteType, String noteOwner, String noteId)Deletes a note.booleanNoteService. deleteNote(String noteType, String noteOwner, String noteName, org.exoplatform.services.security.Identity userIdentity)voidDataStorage. deletePage(String wikiType, String wikiOwner, String pageId)booleanWikiService. deletePage(String wikiType, String wikiOwner, String pageId, String userId)Deletes a wiki page.voidDataStorage. deleteTemplatePage(String wikiType, String wikiOwner, String templateName)voidWikiService. deleteTemplatePage(String wikiType, String wikiOwner, String templateName)Deletes a Wiki template.voidDataStorage. deleteWatcherOfPage(String username, Page page)voidWikiService. deleteWatcherOfPage(String username, Page page)Delete a user as watcher of the given pageAttachmentWikiService. getAttachmentOfPageByName(String attachmentName, Page page)Get a attachment of a the given page by name, without loading its contentdefault AttachmentWikiService. getAttachmentOfPageByName(String attachmentName, Page page, boolean loadContent)Get a attachment of a the given page by name, and allow to load the attachment content by setting loadContent to trueList<Attachment>DataStorage. getAttachmentsOfPage(Page page)default List<Attachment>DataStorage. getAttachmentsOfPage(Page page, boolean loadContent)List<Attachment>WikiService. getAttachmentsOfPage(Page page)Gets attachments of the given page, without loading their contentdefault List<Attachment>WikiService. getAttachmentsOfPage(Page page, boolean loadContent)Gets attachments of the given page, and allow to load their attachment content by setting loadContent to trueList<BreadcrumbData>NoteService. getBreadCrumb(String noteType, String noteOwner, String noteId, boolean isDraftNote)Gets a list of data which is used for composing the breadcrumb.List<BreadcrumbData>WikiService. getBreadcumb(String wikiType, String wikiOwner, String pageId)Gets a list of data which is used for composing the breadcrumb.List<NoteToExport>NoteService. getChildrenNoteOf(NoteToExport note, String userId)List<Page>NoteService. getChildrenNoteOf(Page note, String userId, boolean withDrafts, boolean withChild)Get all the children notes of a noteList<Page>DataStorage. getChildrenPageOf(Page page, String userId, boolean withDrafts)Get children notes and draft notes of pageList<Page>WikiService. getChildrenPageOf(Page page, String userId, boolean withDrafts)Get all the children pages of a wiki pageDraftPageDataStorage. getDraft(String draftName, String username)DraftPageDataStorage. getDraft(WikiPageParams param, String username)DraftPageWikiService. getDraft(String draftName)Gets a draft page by its name.org.exoplatform.commons.diff.DiffResultWikiService. getDraftChanges(DraftPage draftPage)Gets the changes between the draft page and the target pageDraftPageNoteService. getDraftNoteById(String id, String userId)Gets a draft note based on its unique id.DraftPageWikiService. getDraftOfPage(Page page)Gets a draft page of a wiki page which is specified by a given param object.DraftPageDataStorage. getDraftPageById(String id)PageWikiService. getDraftPageById(String id)Gets a wiki draft page based on its unique id.List<DraftPage>DataStorage. getDraftPagesOfUser(String username)List<DraftPage>WikiService. getDraftsOfUser(String username)Gets a list of draft pages belonging to a given user.List<Page>NoteService. getDuplicateNotes(Page parentNote, Wiki targetNoteBook, List<Page> resultList, String userId)Checks if a note and its children are duplicated with ones in the target NoteBook or not, then gets a list of duplicated notes if any.List<Page>WikiService. getDuplicatePages(Page parentPage, Wiki targetWiki, List<Page> resultList, String userId)Checks if a page and its children are duplicated with ones in the target Wiki or not, then gets a list of duplicated pages if any.EmotionIconDataStorage. getEmotionIconByName(String name)EmotionIconWikiService. getEmotionIconByName(String name)Gets an emotion icon by nameList<EmotionIcon>DataStorage. getEmotionIcons()List<EmotionIcon>WikiService. getEmotionIcons()Gets all the emotion iconsPageDataStorage. getExsitedOrNewDraftPageById(String wikiType, String wikiOwner, String pageId, String username)PageWikiService. getExsitedOrNewDraftPageById(String wikiType, String wikiOwner, String pageId)Gets a wiki page or its draft if existing by its Id.List<File>ExportThread. getFilesfromContent(NoteToExport note, List<File> files, String userId)PageDataStorage. getHelpSyntaxPage(String syntaxId, boolean fullContent, List<org.exoplatform.container.xml.ValuesParam> syntaxHelpParams, org.exoplatform.container.configuration.ConfigurationManager configurationManager)PageWikiService. getHelpSyntaxPage(String syntaxId, boolean fullContent)Deprecated.List<PageHistory>DataStorage. getHistoryOfPage(Page page)DraftPageDataStorage. getLastestDraft(String username)DraftPageWikiService. getLastestDraft()Gets the last created draft of a wiki page.DraftPageDataStorage. getLatestDraftOfPage(Page targetPage, String username)Returns latest draft of given page.DraftPageNoteService. getLatestDraftOfPage(Page targetPage, String username)Returns latest draft of given page.intWikiService. getNbOfAttachmentsOfPage(Page page)Get the number of attachment of the given pagePageNoteService. getNoteById(String id)Gets a note based on its unique id.PageNoteService. getNoteById(String id, org.exoplatform.services.security.Identity userIdentity)PageNoteService. getNoteById(String id, org.exoplatform.services.security.Identity userIdentity, String source)PageNoteService. getNoteByRootPermission(String noteBookType, String noteBookOwner, String noteId)PageNoteService. getNoteOfNoteBookByName(String noteType, String noteOwner, String noteName)Gets a note by its unique name in the noteBook.PageNoteService. getNoteOfNoteBookByName(String noteType, String noteOwner, String noteName, org.exoplatform.services.security.Identity userIdentity)PageNoteService. getNoteOfNoteBookByName(String noteType, String noteOwner, String noteName, org.exoplatform.services.security.Identity userIdentity, String source)NoteToExportExportThread. getNoteToExport(NoteToExport note, int exportId, org.exoplatform.services.security.Identity identity)Recursive method to build the children and parent of a noteWikiWikiService. getOrCreateUserWiki(String username)Gets a user Wiki.PageDataStorage. getPageById(String id)Get a wiki page by its unique idPageWikiService. getPageById(String id)Gets a wiki page based on its unique id.PageWikiService. getPageByRootPermission(String wikiType, String wikiOwner, String pageId)Gets a wiki page regardless of the current user's permission.PageDataStorage. getPageOfWikiByName(String wikiType, String wikiOwner, String pageName)Get a wiki page by its unique name in the wikiPageWikiService. getPageOfWikiByName(String wikiType, String wikiOwner, String pageName)Gets a wiki page by its unique name in the wiki.NoteToExportNoteService. getParentNoteOf(NoteToExport note)PageNoteService. getParentNoteOf(Page note)Get parent note of a notePageDataStorage. getParentPageOf(Page page)PageWikiService. getParentPageOf(Page page)Get parent page of a wiki pageList<String>NoteService. getPreviousNamesOfNote(Page note)Get previous names of a noteList<String>DataStorage. getPreviousNamesOfPage(Page page)List<String>WikiService. getPreviousNamesOfPage(Page page)Get previous names of a pagePageDataStorage. getRelatedPage(String wikiType, String wikiOwner, String pageId)PageWikiService. getRelatedPage(String wikiType, String wikiOwner, String pageId)Gets a related page of a wiki page which is specified by a given Id.List<Page>DataStorage. getRelatedPagesOfPage(Page page)List<Page>WikiService. getRelatedPagesOfPage(Page page)Gets a list of related pages based on a given param.TemplateDataStorage. getTemplatePage(WikiPageParams params, String templateId)TemplateWikiService. getTemplatePage(WikiPageParams params, String templateId)Gets a Wiki template.Map<String,Template>DataStorage. getTemplates(WikiPageParams params)Map<String,Template>WikiService. getTemplates(WikiPageParams params)Gets a map of wiki templates based on a given params object.PageVersionWikiService. getVersionOfPageByName(String versionName, Page page)Gets a specific version by name of the given pageList<PageHistory>NoteService. getVersionsHistoryOfNote(Page note, String userName)Gets all the Histories of the given noteList<PageVersion>DataStorage. getVersionsOfPage(Page page)List<PageVersion>WikiService. getVersionsOfPage(Page page)Gets all the versions of the given pageList<String>DataStorage. getWatchersOfPage(Page page)List<String>WikiService. getWatchersOfPage(Page page)Get all the watchers of a pageWikiWikiService. getWikiById(String wikiId)Gets a Wiki by its Id.WikiDataStorage. getWikiByTypeAndOwner(String wikiType, String owner)WikiWikiService. getWikiByTypeAndOwner(String wikiType, String owner)Gets a Wiki which is defined by its type and owner.List<PermissionEntry>WikiService. getWikiDefaultPermissions(String wikiType, String wikiOwner)Gets a list of Wiki default permissions.StringWikiService. getWikiNameById(String wikiId)Gets a Wiki name by its Id.WikiPageParamsWikiService. getWikiPageParams(BreadcrumbData data)Gets parameters of a wiki page based on the data stored in the breadcrumb.List<PermissionEntry>DataStorage. getWikiPermission(String wikiType, String wikiOwner)List<PermissionEntry>WikiService. getWikiPermission(String wikiType, String wikiOwner)Gets a list of Wiki permissions based on its type and owner.List<Wiki>DataStorage. getWikisByType(String wikiType)List<Wiki>WikiService. getWikisByType(String wikiType)Gets all wikis of the given typebooleanDataStorage. hasAdminPagePermission(String wikiType, String owner, org.exoplatform.services.security.Identity user)booleanWikiService. hasAdminPagePermission(String wikiType, String owner)Checks if the current user has the admin permission on a wiki page.booleanDataStorage. hasAdminSpacePermission(String wikiType, String owner, org.exoplatform.services.security.Identity user)booleanWikiService. hasAdminSpacePermission(String wikiType, String owner)Checks if the current user has the admin permission on a space or not.booleanDataStorage. hasChildren(long noteId)booleanDataStorage. hasPermissionOnPage(Page page, PermissionType permissionType, org.exoplatform.services.security.Identity user)Check if the identity has the given permission type on a pagebooleanWikiService. hasPermissionOnPage(Page page, PermissionType permissionType, org.exoplatform.services.security.Identity user)Checks if the given user has the permission on a pagebooleanDataStorage. hasPermissionOnWiki(Wiki wiki, PermissionType permissionType, org.exoplatform.services.security.Identity identity)Check if the identity has the given permission type on a wikibooleanWikiService. hasPermissionOnWiki(Wiki wiki, PermissionType permissionType, org.exoplatform.services.security.Identity user)Check if the identity has the given permission type on a wikivoidNoteService. importNotes(String zipLocation, Page parent, String conflict, org.exoplatform.services.security.Identity userIdentity)voidNoteService. importNotes(List<String> files, Page parent, String conflict, org.exoplatform.services.security.Identity userIdentity)booleanWikiService. isDraftOutDated(DraftPage draftPage)Check if a draft page is outdatedbooleanNoteService. isExisting(String noteBookType, String noteBookOwner, String noteId)booleanWikiService. isExisting(String wikiType, String wikiOwner, String pageId)Checks if a wiki page exists or not.voidNoteService. moveNote(WikiPageParams currentLocationParams, WikiPageParams newLocationParams)Move a notebooleanNoteService. moveNote(WikiPageParams currentLocationParams, WikiPageParams newLocationParams, org.exoplatform.services.security.Identity userIdentity)Move a notevoidDataStorage. movePage(WikiPageParams currentLocationParams, WikiPageParams newLocationParams)booleanWikiService. movePage(WikiPageParams currentLocationParams, WikiPageParams newLocationParams)Move a wiki PageStringExportThread. processImagesForExport(Page note)Process images by creting images found in the contentStringExportThread. processNotesLinkForExport(NoteToExport note)voidNoteService. removeDraft(String draftName)Removes a draft page by its name.voidWikiService. removeDraft(String draftName)Removes a draft page by its name.voidNoteService. removeDraftOfNote(WikiPageParams param)voidWikiService. removeDraftOfPage(WikiPageParams param)Removes a draft page of a wiki page which is specified by the wiki page param.voidDataStorage. removeRelatedPage(Page page, Page relatedPage)voidWikiService. removeRelatedPage(WikiPageParams orginaryPageParams, WikiPageParams relatedPageParams)Removes a related page of the current wiki page.booleanNoteService. renameNote(String noteType, String noteOwner, String noteName, String newName, String newTitle)Renames a note.voidDataStorage. renamePage(String wikiType, String wikiOwner, String pageName, String newName, String newTitle)booleanWikiService. renamePage(String wikiType, String wikiOwner, String pageName, String newName, String newTitle)Renames a wiki page.voidNoteService. restoreVersionOfNote(String versionName, Page note, String userName)Restores a version of a notevoidDataStorage. restoreVersionOfPage(String versionName, Page page)voidWikiService. restoreVersionOfPage(String versionName, Page page)Restores a version of a pageorg.exoplatform.commons.utils.PageList<SearchResult>DataStorage. search(WikiSearchData data)org.exoplatform.commons.utils.PageList<SearchResult>WikiService. search(WikiSearchData data)Searches in all wiki pages.List<SpaceBean>WikiService. searchSpaces(String keyword)Searches for spaces by a given keyword.List<TemplateSearchResult>DataStorage. searchTemplate(TemplateSearchData data)List<TemplateSearchResult>WikiService. searchTemplate(TemplateSearchData data)Searches in all templates.DraftPageNoteService. updateDraftForExistPage(DraftPage draftNoteToUpdate, Page targetNote, String revision, long currentTimeMillis, String userName)Update draft note for an existing pageDraftPageNoteService. updateDraftForNewPage(DraftPage draftNoteToUpdate, long currentTimeMillis)Update draft note for a new pageDraftPageDataStorage. updateDraftPageForUser(DraftPage draftPage, String username)Updates a draft notePageNoteService. updateNote(Page note)Update the given note.PageNoteService. updateNote(Page note, PageUpdateType type, org.exoplatform.services.security.Identity userIdentity)Update the given note.PageDataStorage. updatePage(Page page)voidWikiService. updatePage(Page page, PageUpdateType type)Update the given page.voidWikiService. updateTemplate(Template template)Modifies an existing wiki template.voidDataStorage. updateTemplatePage(Template template)voidDataStorage. updateWikiPermission(String wikiType, String wikiOwner, List<PermissionEntry> permissionEntries)voidWikiService. updateWikiPermission(String wikiType, String wikiOwner, List<PermissionEntry> permissionEntries)Adds a list of permissions to Wiki. -
Uses of WikiException in org.exoplatform.wiki.service.impl
Methods in org.exoplatform.wiki.service.impl that throw WikiException Modifier and Type Method Description voidWikiServiceImpl. addAttachment(Attachment attachment, Page page)voidWikiServiceImpl. addAttachmentToPage(Attachment attachment, Page page)voidWikiServiceImpl. addRelatedPage(WikiPageParams orginaryPageParams, WikiPageParams relatedPageParams)voidWikiServiceImpl. addWatcherToPage(String username, Page page)booleanWikiServiceImpl. canModifyPagePermission(Page currentPage, String currentUser)booleanWikiServiceImpl. canPublicAndRetrictPage(Page currentPage, String currentUser)DraftPageNoteServiceImpl. createDraftForExistPage(DraftPage draftPage, Page targetPage, String revision, long clientTime, String username)DraftPageWikiServiceImpl. createDraftForExistPage(DraftPage draftPage, Page targetPage, String revision, long clientTime)DraftPageNoteServiceImpl. createDraftForNewPage(DraftPage draftPage, long clientTime)DraftPageWikiServiceImpl. createDraftForNewPage(DraftPage draftPage, Page parentPage, long clientTime)voidWikiServiceImpl. createEmotionIcon(EmotionIcon emotionIcon)PageNoteServiceImpl. createNote(Wiki noteBook, String parentNoteName, Page note, org.exoplatform.services.security.Identity userIdentity)PageNoteServiceImpl. createNote(Wiki noteBook, Page parentPage, Page note)PageWikiServiceImpl. createPage(Wiki wiki, String parentPageName, Page page)PagevoidWikiServiceImpl. createTemplatePage(Wiki wiki, Template template)TemplatevoidNoteServiceImpl. createVersionOfNote(Page note, String userName)voidWikiServiceImpl. createVersionOfPage(Page page)WikiWikiServiceImpl. createWiki(String wikiType, String owner)voidWikiServiceImpl. deleteAttachment(String attachmentId, Page page)voidWikiServiceImpl. deleteAttachmentOfPage(String attachmentId, Page page)booleanNoteServiceImpl. deleteNote(String noteType, String noteOwner, String noteName)booleanNoteServiceImpl. deleteNote(String noteType, String noteOwner, String noteName, org.exoplatform.services.security.Identity userIdentity)booleanWikiServiceImpl. deletePage(String wikiType, String wikiOwner, String pageName, String userId)voidWikiServiceImpl. deleteTemplatePage(String wikiType, String wikiOwner, String templateName)voidWikiServiceImpl. deleteWatcherOfPage(String username, Page page)List<Page>NoteServiceImpl. getAllNotes(Page note, String userName)AttachmentWikiServiceImpl. getAttachmentOfPageByName(String attachmentName, Page page)AttachmentWikiServiceImpl. getAttachmentOfPageByName(String attachmentName, Page page, boolean loadContent)List<Attachment>WikiServiceImpl. getAttachmentsOfPage(Page page)AttachmentList<Attachment>WikiServiceImpl. getAttachmentsOfPage(Page page, boolean loadContent)List<BreadcrumbData>NoteServiceImpl. getBreadCrumb(String noteType, String noteOwner, String noteName, boolean isDraftNote)List<BreadcrumbData>WikiServiceImpl. getBreadcumb(String wikiType, String wikiOwner, String pageId)List<NoteToExport>NoteServiceImpl. getChildrenNoteOf(NoteToExport note, String userId)List<Page>NoteServiceImpl. getChildrenNoteOf(Page note, String userId, boolean withDrafts, boolean withChild)List<Page>WikiServiceImpl. getChildrenPageOf(Page page, String userId, boolean withDrafts)DraftPageWikiServiceImpl. getDraft(String draftName)org.exoplatform.commons.diff.DiffResultWikiServiceImpl. getDraftChanges(DraftPage draftPage)DraftPageNoteServiceImpl. getDraftNoteById(String id, String userId)DraftPageWikiServiceImpl. getDraftOfPage(Page page)DraftPageWikiServiceImpl. getDraftPageById(String id)List<DraftPage>WikiServiceImpl. getDraftsOfUser(String username)List<Page>NoteServiceImpl. getDuplicateNotes(Page parentNote, Wiki targetNoteBook, List<Page> resultList, String userId)List<Page>WikiServiceImpl. getDuplicatePages(Page parentPage, Wiki targetWiki, List<Page> resultList, String userId)EmotionIconWikiServiceImpl. getEmotionIconByName(String name)List<EmotionIcon>WikiServiceImpl. getEmotionIcons()PageWikiServiceImpl. getExsitedOrNewDraftPageById(String wikiType, String wikiOwner, String pageId)DraftPageWikiServiceImpl. getHelpSyntaxPage(String syntaxId, boolean fullContent)DraftPageWikiServiceImpl. getLastestDraft()DraftPageNoteServiceImpl. getLatestDraftOfPage(Page targetPage, String username)intWikiServiceImpl. getNbOfAttachmentsOfPage(Page page)PageNoteServiceImpl. getNoteById(String id)PageNoteServiceImpl. getNoteById(String id, org.exoplatform.services.security.Identity userIdentity)PageNoteServiceImpl. getNoteById(String id, org.exoplatform.services.security.Identity userIdentity, String source)PageNoteServiceImpl. getNoteByRootPermission(String noteBookType, String noteBookOwner, String noteId)PageNoteServiceImpl. getNoteOfNoteBookByName(String noteType, String noteOwner, String noteName)PageNoteServiceImpl. getNoteOfNoteBookByName(String noteType, String noteOwner, String noteName, org.exoplatform.services.security.Identity userIdentity)PageNoteServiceImpl. getNoteOfNoteBookByName(String noteType, String noteOwner, String noteName, org.exoplatform.services.security.Identity userIdentity, String source)WikiWikiServiceImpl. getOrCreateUserWiki(String username)PageWikiServiceImpl. getPageById(String id)PageWikiServiceImpl. getPageByRootPermission(String wikiType, String wikiOwner, String pageId)PageWikiServiceImpl. getPageOfWikiByName(String wikiType, String wikiOwner, String pageName)NoteToExportNoteServiceImpl. getParentNoteOf(NoteToExport note)PageNoteServiceImpl. getParentNoteOf(Page note)PageWikiServiceImpl. getParentPageOf(Page page)List<String>NoteServiceImpl. getPreviousNamesOfNote(Page note)List<String>WikiServiceImpl. getPreviousNamesOfPage(Page page)PageWikiServiceImpl. getRelatedPage(String wikiType, String wikiOwner, String pageId)List<Page>WikiServiceImpl. getRelatedPagesOfPage(Page page)TemplateWikiServiceImpl. getTemplatePage(WikiPageParams params, String templateId)Map<String,Template>WikiServiceImpl. getTemplates(WikiPageParams params)PageVersionWikiServiceImpl. getVersionOfPageByName(String versionName, Page page)List<PageHistory>NoteServiceImpl. getVersionsHistoryOfNote(Page note, String userName)List<PageVersion>WikiServiceImpl. getVersionsOfPage(Page page)List<String>WikiServiceImpl. getWatchersOfPage(Page page)WatchWikiWikiServiceImpl. getWikiById(String wikiId)WikiWikiServiceImpl. getWikiByTypeAndOwner(String wikiType, String owner)WikiList<PermissionEntry>WikiServiceImpl. getWikiDefaultPermissions(String wikiType, String wikiOwner)StringWikiServiceImpl. getWikiNameById(String wikiId)List<PermissionEntry>WikiServiceImpl. getWikiPermission(String wikiType, String wikiOwner)List<Wiki>WikiServiceImpl. getWikisByType(String wikiType)booleanWikiServiceImpl. hasAdminPagePermission(String wikiType, String owner)booleanWikiServiceImpl. hasAdminSpacePermission(String wikiType, String owner)booleanWikiServiceImpl. hasPermissionOnPage(Page page, PermissionType permissionType, org.exoplatform.services.security.Identity user)booleanWikiServiceImpl. hasPermissionOnWiki(Wiki wiki, PermissionType permissionType, org.exoplatform.services.security.Identity user)voidNoteServiceImpl. importNote(Page note, Page parent, Wiki wiki, String conflict, org.exoplatform.services.security.Identity userIdentity)Recursive method to importe a notevoidNoteServiceImpl. importNotes(String zipLocation, Page parent, String conflict, org.exoplatform.services.security.Identity userIdentity)importe a list of notes from zipvoidNoteServiceImpl. importNotes(List<String> files, Page parent, String conflict, org.exoplatform.services.security.Identity userIdentity)importe a list of notes from zipprotected voidNoteServiceImpl. invalidateCachesOfPageTree(Page note, String userId)Invalidate all caches of a page and all its descendantsprotected voidWikiServiceImpl. invalidateCachesOfPageTree(Page page, String userId)Invalidate all caches of a page and all its descendantsbooleanWikiServiceImpl. isDraftOutDated(DraftPage draftPage)booleanNoteServiceImpl. isExisting(String noteBookType, String noteBookOwner, String noteId)booleanWikiServiceImpl. isExisting(String wikiType, String wikiOwner, String pageId)voidNoteServiceImpl. moveNote(WikiPageParams currentLocationParams, WikiPageParams newLocationParams)booleanNoteServiceImpl. moveNote(WikiPageParams currentLocationParams, WikiPageParams newLocationParams, org.exoplatform.services.security.Identity userIdentity)booleanWikiServiceImpl. movePage(WikiPageParams currentLocationParams, WikiPageParams newLocationParams)voidNoteServiceImpl. postAddPage(String wikiType, String wikiOwner, String pageId, Page page)voidWikiServiceImpl. postAddPage(String wikiType, String wikiOwner, String pageId, Page page)voidNoteServiceImpl. postDeletePage(String wikiType, String wikiOwner, String pageId, Page page)voidWikiServiceImpl. postDeletePage(String wikiType, String wikiOwner, String pageId, Page page)voidNoteServiceImpl. postOpenByBreadCrumb(String wikiType, String wikiOwner, String pageId, Page page)voidNoteServiceImpl. postOpenByTree(String wikiType, String wikiOwner, String pageId, Page page)voidNoteServiceImpl. postUpdatePage(String wikiType, String wikiOwner, String pageId, Page page, PageUpdateType wikiUpdateType)voidWikiServiceImpl. postUpdatePage(String wikiType, String wikiOwner, String pageId, Page page, PageUpdateType wikiUpdateType)voidNoteServiceImpl. removeDraft(String draftName)voidWikiServiceImpl. removeDraft(String draftName)voidNoteServiceImpl. removeDraftOfNote(WikiPageParams param)voidWikiServiceImpl. removeDraftOfPage(WikiPageParams param)voidWikiServiceImpl. removeRelatedPage(WikiPageParams orginaryPageParams, WikiPageParams relatedPageParams)booleanNoteServiceImpl. renameNote(String noteType, String noteOwner, String noteName, String newName, String newTitle)booleanWikiServiceImpl. renamePage(String wikiType, String wikiOwner, String pageName, String newName, String newTitle)voidNoteServiceImpl. restoreVersionOfNote(String versionName, Page note, String userName)voidWikiServiceImpl. restoreVersionOfPage(String versionName, Page page)org.exoplatform.commons.utils.PageList<SearchResult>WikiServiceImpl. search(WikiSearchData data)List<SpaceBean>WikiServiceImpl. searchSpaces(String keyword)SpacesList<TemplateSearchResult>WikiServiceImpl. searchTemplate(TemplateSearchData data)DraftPageNoteServiceImpl. updateDraftForExistPage(DraftPage draftNoteToUpdate, Page targetPage, String revision, long clientTime, String username)DraftPageNoteServiceImpl. updateDraftForNewPage(DraftPage draftNoteToUpdate, long clientTime)PageNoteServiceImpl. updateNote(Page note)PageNoteServiceImpl. updateNote(Page note, PageUpdateType type, org.exoplatform.services.security.Identity userIdentity)voidWikiServiceImpl. updatePage(Page page, PageUpdateType updateType)voidWikiServiceImpl. updateTemplate(Template template)voidWikiServiceImpl. updateWikiPermission(String wikiType, String wikiOwner, List<PermissionEntry> permissionEntries) -
Uses of WikiException in org.exoplatform.wiki.service.listener
Methods in org.exoplatform.wiki.service.listener that throw WikiException Modifier and Type Method Description abstract voidAttachmentWikiListener. addAttachment(Attachment attachment, Page page)abstract voidAttachmentWikiListener. deleteAttachment(String attachmentName, Page page)abstract voidPageWikiListener. postAddPage(String wikiType, String wikiOwner, String pageId, Page page)abstract voidPageWikiListener. postDeletePage(String wikiType, String wikiOwner, String pageId, Page page)abstract voidPageWikiListener. postgetPagefromBreadCrumb(String wikiType, String wikiOwner, String pageId, Page page)abstract voidPageWikiListener. postgetPagefromTree(String wikiType, String wikiOwner, String pageId, Page page)abstract voidPageWikiListener. postUpdatePage(String wikiType, String wikiOwner, String pageId, Page page, PageUpdateType wikiUpdateType) -
Uses of WikiException in org.exoplatform.wiki.utils
Methods in org.exoplatform.wiki.utils that throw WikiException Modifier and Type Method Description static StringUtils. getEmailUser(String userName)static ObjectUtils. getObjectFromParams(WikiPageParams param)static Deque<WikiPageParams>Utils. getStackParams(Page page)static StringUtils. getWikiOnChangeContent(Page page)static booleanUtils. isDescendantPage(Page page, Page parentPage)
-