Uses of Class
org.exoplatform.wiki.WikiException
Packages that use WikiException
Package
Description
Handles all actions in Wiki.
Implements services of the Wiki application.
-
Uses of WikiException in org.exoplatform.notes.listener.analytics
Methods in org.exoplatform.notes.listener.analytics that throw WikiExceptionModifier and TypeMethodDescriptionvoidNotesPageListener.postAddPage(String wikiType, String wikiOwner, String pageId, Page page) voidNotesPageListener.postDeletePage(String wikiType, String wikiOwner, String pageId, Page page) voidNotesPageListener.postUpdatePage(String wikiType, String wikiOwner, String pageId, Page page, PageUpdateType wikiUpdateType) -
Uses of WikiException in org.exoplatform.wiki.ext.impl
Methods in org.exoplatform.wiki.ext.impl that throw WikiExceptionModifier and TypeMethodDescriptionvoidWikiSpaceActivityPublisher.postAddPage(String wikiType, String wikiOwner, String pageId, Page page) voidWikiSpaceActivityPublisher.postDeletePage(String wikiType, String wikiOwner, String pageId, Page page) voidWikiSpaceActivityPublisher.postUpdatePage(String wikiType, String wikiOwner, String pageId, Page page, PageUpdateType wikiUpdateType) protected voidWikiSpaceActivityPublisher.saveActivity(String wikiType, String wikiOwner, String pageId, Page page, PageUpdateType activityType) -
Uses of WikiException in org.exoplatform.wiki.jpa.search
Methods in org.exoplatform.wiki.jpa.search that throw WikiExceptionModifier and TypeMethodDescriptionvoidPageIndexingListener.postAddPage(String wikiType, String wikiOwner, String pageId, Page page) voidPageIndexingListener.postDeletePage(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 WikiExceptionModifier and TypeMethodDescriptionNoteService.createDraftForExistPage(DraftPage draftNoteToSave, Page targetNote, String revision, long currentTimeMillis, String username) Creates a draft for an existing pageNoteService.createDraftForNewPage(DraftPage draftNoteToSave, long currentTimeMillis, long userIdentityId) Creates a draft for a new pageNoteService.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.NoteService.createNote(Wiki noteBook, String parentNoteName, Page note, org.exoplatform.services.security.Identity userIdentity, boolean broadcast) Create a new note in the given notebook, under the given parent note.NoteService.createNote(Wiki noteBook, String parentNoteName, Page note, org.exoplatform.services.security.Identity userIdentity, boolean importMode, boolean broadcast) Create a new note in the given notebook, under the given parent note.NoteService.createNote(Wiki noteBook, Page parentNote, Page note) Create a new note in the given notebook, under the given parent note.NoteService.createNote(Wiki noteBook, Page parentNote, Page note, boolean broadcast) Create a new note in the given notebook, under the given parent note.voidNoteService.createVersionOfNote(Page note, String userName) Creates a version of a note.voidNoteService.createVersionOfNote(Page note, String userName, boolean broadcast) Creates a version of a note.WikiService.createWiki(String wikiType, String owner) Creates a wiki with the given type and ownerbooleanNoteService.deleteNote(String noteType, String noteOwner, String noteName) Deletes a note.booleanNoteService.deleteNote(String noteType, String noteOwner, String noteName, org.exoplatform.services.security.Identity userIdentity) Deletes a note.NoteService.getBreadCrumb(String noteType, String noteOwner, String noteId, boolean isDraftNote) Gets a list of data which is used for composing the breadcrumb.NoteService.getBreadCrumb(String noteType, String noteOwner, String noteName, String lang, org.exoplatform.services.security.Identity userIdentity, boolean isDraftNote) Gets a list of data which is used for composing the breadcrumb.NoteService.getChildrenNoteOf(NoteToExport note) Return the list of children of the note to exportNoteService.getChildrenNoteOf(NoteToExport note, String userId) Deprecated.NoteService.getChildrenNoteOf(Page note, boolean withDrafts, boolean withChild) Get all the children notes of a noteNoteService.getChildrenNoteOf(Page note, String userId, boolean withDrafts, boolean withChild) Deprecated.NoteService.getDraftNoteById(String id, String userId) Gets a draft note based on its unique id.NoteService.getDraftOfPageByLang(WikiPageParams param, String lang) NoteService.getDuplicateNotes(Page parentNote, Wiki targetNoteBook, List<Page> resultList) 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.NoteService.getDuplicateNotes(Page parentNote, Wiki targetNoteBook, List<Page> resultList, String userId) Deprecated.ExportThread.getFilesfromContent(NoteToExport note, List<File> files) NoteService.getLatestDraftOfPage(Page targetPage) Returns latest draft of given page.NoteService.getLatestDraftOfPage(Page targetPage, String username) Deprecated.NoteService.getNoteById(String id) Gets a note based on its unique id.NoteService.getNoteById(String id, org.exoplatform.services.security.Identity userIdentity) Gets a note based on its unique id.NoteService.getNoteById(String id, org.exoplatform.services.security.Identity userIdentity, String source) Gets a note based on its unique id.NoteService.getNoteByIdAndLang(Long pageId, org.exoplatform.services.security.Identity userIdentity, String source, String lang) Retrieves note page by its id and content langNoteService.getNoteByRootPermission(String wikiType, String wikiOwner, String pageId) Gets a wiki page regardless of the current user's permission.NoteService.getNoteOfNoteBookByName(String noteType, String noteOwner, String noteName) Gets a note by its unique name in the noteBook.NoteService.getNoteOfNoteBookByName(String noteType, String noteOwner, String noteName, String lang, org.exoplatform.services.security.Identity userIdentity) Retrieves a note by note type, owner, name and lang.NoteService.getNoteOfNoteBookByName(String noteType, String noteOwner, String noteName, org.exoplatform.services.security.Identity userIdentity) Gets a note by its unique name in the noteBook.NoteService.getNoteOfNoteBookByName(String noteType, String noteOwner, String noteName, org.exoplatform.services.security.Identity userIdentity, String source) Retrieves a note by note type, owner and name.ExportThread.getNoteToExport(NoteToExport note, int exportId) Recursive method to build the children and parent of a noteWikiService.getOrCreateUserWiki(String username) Gets a user Wiki.NoteService.getPageAvailableTranslationLanguages(Long pageId, boolean withDrafts) Retrieves list of available translations languages of a pageNoteService.getPageAvailableTranslationLanguages(Long pageId, String userId, boolean withDrafts) Deprecated.NoteService.getParentNoteOf(NoteToExport note) Return the Parent of the note to exportNoteService.getParentNoteOf(Page note) Get parent note of a noteNoteService.getPreviousNamesOfNote(Page note) Get previous names of a noteNoteService.getVersionsHistoryOfNoteByLang(Page note, String userName, String lang) Retrieves the history version of given note by languageWikiService.getWikiById(String wikiId) Gets a Wiki by its Id.WikiService.getWikiByTypeAndOwner(String wikiType, String owner) Gets a Wiki which is defined by its type and owner.WikiService.getWikiPageParams(BreadcrumbData data) Gets parameters of a wiki page based on the data stored in the breadcrumb.WikiService.getWikisByType(String wikiType) Gets all wikis of the given typevoidNoteService.importNotes(String zipLocation, Page parent, String conflict, org.exoplatform.services.security.Identity userIdentity) Import Notes from a zip file locationvoidNoteService.importNotes(List<String> files, Page parent, String conflict, org.exoplatform.services.security.Identity userIdentity) Import Notes from a list of filesbooleanNoteService.isExisting(String noteBookType, String noteBookOwner, String noteId) Check if the given note is existingvoidNoteService.moveNote(WikiPageParams currentLocationParams, WikiPageParams newLocationParams) Move a notebooleanNoteService.moveNote(WikiPageParams currentLocationParams, WikiPageParams newLocationParams, org.exoplatform.services.security.Identity userIdentity) Move a noteExportThread.processImagesForExport(Page note) Process images by creating images found in the contentExportThread.processNotesLinkForExport(NoteToExport note) voidNoteService.removeDraft(String draftName) Removes a draft page by its name.voidNoteService.removeDraftOfNote(Page page) Remove the Drafts of a notevoidNoteService.removeDraftOfNote(Page page, String username) Deprecated.voidNoteService.removeDraftOfNote(WikiPageParams param) Remove the all Drafts of a notebooleanNoteService.renameNote(String noteType, String noteOwner, String noteName, String newName, String newTitle) Renames a note.voidNoteService.restoreVersionOfNote(String versionName, Page note, String userName) Restores a version of a noteorg.exoplatform.commons.utils.PageList<SearchResult> NoteService.search(WikiSearchData data) Searches in all wiki pages.NoteService.updateDraftForExistPage(DraftPage draftNoteToUpdate, Page targetNote, String revision, long currentTimeMillis, String userName) Update draft note for an existing pageNoteService.updateDraftForNewPage(DraftPage draftNoteToUpdate, long currentTimeMillis, long userIdentityId) Update draft note for a new pageNoteService.updateNote(Page note) Update the given note.NoteService.updateNote(Page note, PageUpdateType type) Update the given note. -
Uses of WikiException in org.exoplatform.wiki.service.impl
Methods in org.exoplatform.wiki.service.impl that throw WikiExceptionModifier and TypeMethodDescriptionNoteServiceImpl.createDraftForExistPage(DraftPage draftPage, Page targetPage, String revision, long clientTime, String username) Creates a draft for an existing pageNoteServiceImpl.createDraftForNewPage(DraftPage draftPage, long clientTime, long userIdentityId) Creates a draft for a new pageNoteServiceImpl.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.NoteServiceImpl.createNote(Wiki noteBook, String parentNoteName, Page note, org.exoplatform.services.security.Identity userIdentity, boolean broadcast) NoteServiceImpl.createNote(Wiki noteBook, String parentNoteName, Page note, org.exoplatform.services.security.Identity userIdentity, boolean importMode, boolean broadcast) Create a new note in the given notebook, under the given parent note.NoteServiceImpl.createNote(Wiki noteBook, Page parentPage, Page note) Create a new note in the given notebook, under the given parent note.NoteServiceImpl.createNote(Wiki noteBook, Page parentPage, Page note, boolean broadcast) Create a new note in the given notebook, under the given parent note.voidNoteServiceImpl.createVersionOfNote(Page note, String userName) Creates a version of a note.voidNoteServiceImpl.createVersionOfNote(Page note, String userName, boolean broadcast) Creates a version of a note.WikiServiceImpl.createWiki(String wikiType, String owner) booleanNoteServiceImpl.deleteNote(String wikiType, String wikiOwner, String noteName, org.exoplatform.services.security.Identity userIdentity) Deletes a note.NoteServiceImpl.getBreadCrumb(String noteType, String noteOwner, String noteName, boolean isDraftNote) Gets a list of data which is used for composing the breadcrumb.NoteServiceImpl.getBreadCrumb(String noteType, String noteOwner, String noteName, String lang, org.exoplatform.services.security.Identity userIdentity, boolean isDraftNote) Gets a list of data which is used for composing the breadcrumb.NoteServiceImpl.getChildrenNoteOf(NoteToExport note) Return the list of children of the note to exportNoteServiceImpl.getChildrenNoteOf(NoteToExport note, String userId) Return the list of children of the note to exportNoteServiceImpl.getChildrenNoteOf(Page note, boolean withDrafts, boolean withChild) Get all the children notes of a noteNoteServiceImpl.getChildrenNoteOf(Page note, String userId, boolean withDrafts, boolean withChild) Get all the children notes of a noteNoteServiceImpl.getDraftOfPageByLang(WikiPageParams param, String lang) NoteServiceImpl.getDuplicateNotes(Page parentNote, Wiki targetNoteBook, List<Page> resultList) 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.NoteServiceImpl.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.NoteServiceImpl.getLatestDraftOfPage(Page targetPage) Returns latest draft of given page.NoteServiceImpl.getLatestDraftOfPage(Page targetPage, String username) Returns latest draft of given page.NoteServiceImpl.getNoteById(String id, org.exoplatform.services.security.Identity userIdentity) Gets a note based on its unique id.NoteServiceImpl.getNoteById(String id, org.exoplatform.services.security.Identity userIdentity, String source) Gets a note based on its unique id.NoteServiceImpl.getNoteByIdAndLang(Long pageId, org.exoplatform.services.security.Identity userIdentity, String source, String lang) Retrieves note page by its id and content langNoteServiceImpl.getNoteByRootPermission(String wikiType, String wikiOwner, String pageId) Gets a wiki page regardless of the current user's permission.NoteServiceImpl.getNoteOfNoteBookByName(String noteType, String noteOwner, String noteName) Gets a note by its unique name in the noteBook.NoteServiceImpl.getNoteOfNoteBookByName(String noteType, String noteOwner, String noteName, String lang, org.exoplatform.services.security.Identity userIdentity) Retrieves a note by note type, owner, name and lang.NoteServiceImpl.getNoteOfNoteBookByName(String noteType, String noteOwner, String noteName, org.exoplatform.services.security.Identity userIdentity) Gets a note by its unique name in the noteBook.NoteServiceImpl.getNoteOfNoteBookByName(String noteType, String noteOwner, String noteName, org.exoplatform.services.security.Identity userIdentity, String source) Retrieves a note by note type, owner and name.WikiServiceImpl.getOrCreateUserWiki(String username) NoteServiceImpl.getPageAvailableTranslationLanguages(Long pageId, boolean withDrafts) Retrieves list of available translations languages of a pageNoteServiceImpl.getPageAvailableTranslationLanguages(Long pageId, String userId, boolean withDrafts) Retrieves list of available translations languages of a pageNoteServiceImpl.getParentNoteOf(NoteToExport note) Return the Parent of the note to exportNoteServiceImpl.getParentNoteOf(Page note) Get parent note of a noteNoteServiceImpl.getPreviousNamesOfNote(Page note) Get previous names of a noteNoteServiceImpl.getVersionsHistoryOfNoteByLang(Page note, String userName, String lang) Retrieves the history version of given note by languageWikiServiceImpl.getWikiById(String wikiId) WikiServiceImpl.getWikiByTypeAndOwner(String wikiType, String owner) WikiWikiServiceImpl.getWikisByType(String wikiType) booleanNoteServiceImpl.isExisting(String noteBookType, String noteBookOwner, String noteId) Check if the given note is existingvoidNoteServiceImpl.moveNote(WikiPageParams currentLocationParams, WikiPageParams newLocationParams) Move a notebooleanNoteServiceImpl.moveNote(WikiPageParams currentLocationParams, WikiPageParams newLocationParams, org.exoplatform.services.security.Identity userIdentity) Move a notevoidNoteServiceImpl.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) Removes a draft page by its name.voidNoteServiceImpl.removeDraftOfNote(Page page) Remove the Drafts of a notevoidNoteServiceImpl.removeDraftOfNote(Page page, String username) Remove the Drafts of a note by usernamevoidNoteServiceImpl.removeDraftOfNote(WikiPageParams param) Remove the all Drafts of a notebooleanNoteServiceImpl.renameNote(String noteType, String noteOwner, String noteName, String newName, String newTitle) Renames a note.voidNoteServiceImpl.restoreVersionOfNote(String versionName, Page note, String userName) Restores a version of a noteorg.exoplatform.commons.utils.PageList<SearchResult> NoteServiceImpl.search(WikiSearchData data) Searches in all wiki pages.NoteServiceImpl.updateDraftForExistPage(DraftPage draftNoteToUpdate, Page targetPage, String revision, long clientTime, String username) Update draft note for an existing pageNoteServiceImpl.updateDraftForNewPage(DraftPage draftNoteToUpdate, long clientTime, long userIdentityId) Update draft note for a new pageNoteServiceImpl.updateNote(Page note, PageUpdateType type) Update the given note. -
Uses of WikiException in org.exoplatform.wiki.storage
Methods in org.exoplatform.wiki.storage that throw WikiExceptionModifier and TypeMethodDescriptionNoteDataStorage.addPageVersion(Page page, String userName) voidNoteDataStorage.addRelatedPage(Page page, Page relatedPage) voidNoteDataStorage.addWatcherToPage(String username, Page page) NoteDataStorage.createDraftPageForUser(DraftPage draftPage, String username) NoteDataStorage.createPage(Wiki wiki, Page parentPage, Page page) NoteDataStorage.createWiki(Wiki wiki) voidNoteDataStorage.deleteDraftById(String id) voidNoteDataStorage.deleteDraftByName(String draftPageName) voidNoteDataStorage.deleteDraftOfPage(Page page) voidNoteDataStorage.deleteDraftOfPage(Page page, String lang) voidNoteDataStorage.deletePage(String pageId) voidNoteDataStorage.deletePage(String wikiType, String wikiOwner, String pageName) voidNoteDataStorage.deleteVersionsByNoteIdAndLang(Long noteId, String lang) voidNoteDataStorage.deleteWatcherOfPage(String username, Page page) NoteDataStorage.getDraft(WikiPageParams wikiPageParams) NoteDataStorage.getDraftOfPageByLang(Page page, String lang) NoteDataStorage.getExsitedOrNewDraftPageById(String wikiType, String wikiOwner, String pageName, String username) NoteDataStorage.getHistoryOfPage(Page page) NoteDataStorage.getPageOfWikiByName(String wikiType, String wikiOwner, String pageName) NoteDataStorage.getParentPageOf(Page page) NoteDataStorage.getPreviousNamesOfPage(Page page) NoteDataStorage.getRelatedPage(String wikiType, String wikiOwner, String pageName) NoteDataStorage.getRelatedPagesOfPage(Page page) NoteDataStorage.getVersionsOfPage(Page page) NoteDataStorage.getWatchersOfPage(Page page) NoteDataStorage.getWikiByTypeAndOwner(String wikiType, String wikiOwner) NoteDataStorage.getWikisByType(String wikiType) voidNoteDataStorage.movePage(WikiPageParams currentLocationParams, WikiPageParams newLocationParams) voidNoteDataStorage.removeRelatedPage(Page page, Page relatedPage) voidNoteDataStorage.renamePage(String wikiType, String wikiOwner, String pageName, String newName, String newTitle) NoteDataStorage.restoreVersionOfPage(String versionName, Page page) NoteDataStorage.searchTemplate(TemplateSearchData templateSearchData) NoteDataStorage.updateDraftPageForUser(DraftPage draftPage, String username) NoteDataStorage.updatePage(Page page) -
Uses of WikiException in org.exoplatform.wiki.utils
Methods in org.exoplatform.wiki.utils that throw WikiExceptionModifier and TypeMethodDescriptionstatic 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)