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.wiki.jpa
Methods in org.exoplatform.wiki.jpa that throw WikiExceptionModifier and TypeMethodDescriptionvoidJPADataStorage.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) JPADataStorage.createDraftPageForUser(DraftPage draftPage, String username) JPADataStorage.createPage(Wiki wiki, Page parentPage, Page page) JPADataStorage.createWiki(Wiki wiki) voidJPADataStorage.deleteAttachmentOfPage(String attachmentName, Page page) voidJPADataStorage.deleteAttachmentsOfDraftPage(DraftPageEntity page) voidJPADataStorage.deleteDraftById(String id) voidJPADataStorage.deleteDraftByName(String draftPageName) voidJPADataStorage.deleteDraftOfPage(Page page) voidJPADataStorage.deleteDraftOfPage(Page page, String lang) voidJPADataStorage.deletePage(String wikiType, String wikiOwner, String pageName) voidJPADataStorage.deleteVersionsByNoteIdAndLang(Long noteId, String lang) Deletes a list of versions of note by language.voidJPADataStorage.deleteWatcherOfPage(String username, Page page) JPADataStorage.getAttachmentsOfPage(Page page) JPADataStorage.getAttachmentsOfPage(Page page, boolean loadContent) JPADataStorage.getChildrenPageOf(Page page, boolean withDrafts) JPADataStorage.getDraft(WikiPageParams wikiPageParams) JPADataStorage.getDraftPageById(String id) JPADataStorage.getExsitedOrNewDraftPageById(String wikiType, String wikiOwner, String pageName, String username) JPADataStorage.getHelpSyntaxPage(String syntaxId, boolean fullContent, List<org.exoplatform.container.xml.ValuesParam> syntaxHelpParams, org.exoplatform.container.configuration.ConfigurationManager configurationManager) Deprecated.JPADataStorage.getHistoryOfPage(Page page) JPADataStorage.getPageById(String id) JPADataStorage.getPageOfWikiByName(String wikiType, String wikiOwner, String pageName) JPADataStorage.getParentPageOf(Page page) JPADataStorage.getPreviousNamesOfPage(Page page) JPADataStorage.getRelatedPage(String wikiType, String wikiOwner, String pageName) JPADataStorage.getRelatedPagesOfPage(Page page) JPADataStorage.getVersionsOfPage(Page page) JPADataStorage.getWatchersOfPage(Page page) JPADataStorage.getWikiByTypeAndOwner(String wikiType, String wikiOwner) JPADataStorage.getWikiPermission(String wikiType, String wikiOwner) 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) JPADataStorage.searchTemplate(TemplateSearchData templateSearchData) JPADataStorage.updateDraftPageForUser(DraftPage draftPage, String username) JPADataStorage.updatePage(Page page) 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 WikiExceptionModifier and TypeMethodDescriptionvoidPageIndexingListener.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 WikiExceptionModifier and TypeMethodDescriptionvoidDataStorage.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) voidDataStorage.addWatcherToPage(String username, Page page) NoteService.createDraftForExistPage(DraftPage draftNoteToSave, Page targetNote, String revision, long currentTimeMillis, String username) Creates a draft for an existing pageNoteService.createDraftForNewPage(DraftPage draftNoteToSave, long currentTimeMillis) Creates a draft for a new pageDataStorage.createDraftPageForUser(DraftPage draftPage, String username) Creates a new draft noteNoteService.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, Page parentNote, Page note) Create a new note in the given notebook, under the given parent note.DataStorage.createPage(Wiki wiki, Page parentPage, Page page) voidNoteService.createVersionOfNote(Page note, String userName) Creates a version of a note.DataStorage.createWiki(Wiki wiki) WikiService.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.deleteDraftById(String id) Deletes a draft note by its technical id.voidDataStorage.deleteDraftByName(String newDraftPageName) voidDataStorage.deleteDraftOfPage(Page page) voidDataStorage.deleteDraftOfPage(Page page, String lang) 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) Deletes a note.voidDataStorage.deletePage(String wikiType, String wikiOwner, String pageId) voidDataStorage.deleteVersionsByNoteIdAndLang(Long noteId, String lang) Deletes a list of versions of note by language.voidNoteService.deleteVersionsByNoteIdAndLang(Long noteId, String lang) Deletes a list of versions of note by language.voidNoteService.deleteVersionsByNoteIdAndLang(Long noteId, String username, String lang) Deprecated.voidDataStorage.deleteWatcherOfPage(String username, Page page) WikiService.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 trueDataStorage.getAttachmentsOfPage(Page page) default List<Attachment> DataStorage.getAttachmentsOfPage(Page page, boolean loadContent) 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 trueNoteService.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.DataStorage.getChildrenPageOf(Page page, boolean withDrafts) Get children notes and draft notes of pageDataStorage.getDraft(WikiPageParams param) NoteService.getDraftNoteById(String id, String userId) Gets a draft note based on its unique id.DataStorage.getDraftPageById(String id) DataStorage.getDraftsOfPage(Long pageId) 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.DataStorage.getExsitedOrNewDraftPageById(String wikiType, String wikiOwner, String pageId, String username) ExportThread.getFilesfromContent(NoteToExport note, List<File> files) DataStorage.getHelpSyntaxPage(String syntaxId, boolean fullContent, List<org.exoplatform.container.xml.ValuesParam> syntaxHelpParams, org.exoplatform.container.configuration.ConfigurationManager configurationManager) DataStorage.getHistoryOfPage(Page page) DataStorage.getLatestDraftOfPage(Page targetPage) Returns latest draft of given page.NoteService.getLatestDraftOfPage(Page targetPage) Returns latest draft of given page.NoteService.getLatestDraftOfPage(Page targetPage, String username) Deprecated.intWikiService.getNbOfAttachmentsOfPage(Page page) Get the number of attachment of the given pageNoteService.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.DataStorage.getPageById(String id) Get a wiki page by its unique idDataStorage.getPageOfWikiByName(String wikiType, String wikiOwner, String pageName) Get a wiki page by its unique name in the wikiWikiService.getPageOfWikiByName(String wikiType, String wikiOwner, String pageName) Gets a wiki page by its unique name in the wiki.NoteService.getParentNoteOf(NoteToExport note) Return the Parent of the note to exportNoteService.getParentNoteOf(Page note) Get parent note of a noteDataStorage.getParentPageOf(Page page) NoteService.getPreviousNamesOfNote(Page note) Get previous names of a noteDataStorage.getPreviousNamesOfPage(Page page) DataStorage.getRelatedPage(String wikiType, String wikiOwner, String pageId) DataStorage.getRelatedPagesOfPage(Page page) NoteService.getVersionsHistoryOfNote(Page note, String userName) Gets all the Histories of the given noteNoteService.getVersionsHistoryOfNoteByLang(Page note, String userName, String lang) Retrieves the history version of given note by languageDataStorage.getVersionsOfPage(Page page) DataStorage.getWatchersOfPage(Page page) WikiService.getWikiById(String wikiId) Gets a Wiki by its Id.DataStorage.getWikiByTypeAndOwner(String wikiType, String owner) WikiService.getWikiByTypeAndOwner(String wikiType, String owner) Gets a Wiki which is defined by its type and owner.WikiService.getWikiDefaultPermissions(String wikiType, String wikiOwner) Gets a list of Wiki default permissions.WikiService.getWikiNameById(String wikiId) Gets a Wiki name by its Id.WikiService.getWikiPageParams(BreadcrumbData data) Gets parameters of a wiki page based on the data stored in the breadcrumb.DataStorage.getWikiPermission(String wikiType, String wikiOwner) WikiService.getWikiPermission(String wikiType, String wikiOwner) Gets a list of Wiki permissions based on its type and owner.DataStorage.getWikisByType(String wikiType) 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 pagebooleanNoteService.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) 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 notevoidDataStorage.movePage(WikiPageParams currentLocationParams, WikiPageParams newLocationParams) ExportThread.processImagesForExport(Page note) Process images by creting images found in the contentExportThread.processNotesLinkForExport(NoteToExport note) voidNoteService.removeDraft(String draftName) Removes a draft page by its name.voidNoteService.removeDraftById(String draftId) Removes a draft page by its technical id.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 notevoidNoteService.removeDraftOfNote(WikiPageParams param, String lang) Remove the Drafts of a note by languagevoidDataStorage.removeRelatedPage(Page page, Page relatedPage) 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) voidNoteService.restoreVersionOfNote(String versionName, Page note, String userName) Restores a version of a notevoidDataStorage.restoreVersionOfPage(String versionName, Page page) org.exoplatform.commons.utils.PageList<SearchResult> DataStorage.search(WikiSearchData data) org.exoplatform.commons.utils.PageList<SearchResult> NoteService.search(WikiSearchData data) Searches in all wiki pages.WikiService.searchSpaces(String keyword) Searches for spaces by a given keyword.DataStorage.searchTemplate(TemplateSearchData data) NoteService.updateDraftForExistPage(DraftPage draftNoteToUpdate, Page targetNote, String revision, long currentTimeMillis, String userName) Update draft note for an existing pageNoteService.updateDraftForNewPage(DraftPage draftNoteToUpdate, long currentTimeMillis) Update draft note for a new pageDataStorage.updateDraftPageForUser(DraftPage draftPage, String username) Updates a draft noteNoteService.updateNote(Page note) Update the given note.NoteService.updateNote(Page note, PageUpdateType type) Update the given note.NoteService.updateNote(Page note, PageUpdateType type, org.exoplatform.services.security.Identity userIdentity) Update the given note.DataStorage.updatePage(Page page) 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 WikiExceptionModifier and TypeMethodDescriptionvoidWikiServiceImpl.addAttachment(Attachment attachment, Page page) voidWikiServiceImpl.addAttachmentToPage(Attachment attachment, Page page) NoteServiceImpl.createDraftForExistPage(DraftPage draftPage, Page targetPage, String revision, long clientTime, String username) Creates a draft for an existing pageNoteServiceImpl.createDraftForNewPage(DraftPage draftPage, long clientTime) 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, Page parentPage, Page note) 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.WikiServiceImpl.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) Deletes a note.booleanNoteServiceImpl.deleteNote(String noteType, String noteOwner, String noteName, org.exoplatform.services.security.Identity userIdentity) Deletes a note.voidNoteServiceImpl.deleteVersionsByNoteIdAndLang(Long noteId, String lang) Deletes a list of versions of note by language.voidNoteServiceImpl.deleteVersionsByNoteIdAndLang(Long noteId, String userName, String lang) Deletes a list of versions of note by language.WikiServiceImpl.getAttachmentOfPageByName(String attachmentName, Page page) WikiServiceImpl.getAttachmentOfPageByName(String attachmentName, Page page, boolean loadContent) WikiServiceImpl.getAttachmentsOfPage(Page page) AttachmentWikiServiceImpl.getAttachmentsOfPage(Page page, boolean loadContent) 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.getDraftNoteById(String id, String userId) Gets a draft note based on its unique id.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.intWikiServiceImpl.getNbOfAttachmentsOfPage(Page page) NoteServiceImpl.getNoteById(String id) Gets a note based on its unique id.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 pageWikiServiceImpl.getPageOfWikiByName(String wikiType, String wikiOwner, String pageName) NoteServiceImpl.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.getVersionsHistoryOfNote(Page note, String userName) Gets all the Histories of the given 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.getWikiDefaultPermissions(String wikiType, String wikiOwner) WikiServiceImpl.getWikiNameById(String wikiId) WikiServiceImpl.getWikiPermission(String wikiType, String wikiOwner) WikiServiceImpl.getWikisByType(String wikiType) booleanWikiServiceImpl.hasAdminPagePermission(String wikiType, String owner) booleanWikiServiceImpl.hasAdminSpacePermission(String wikiType, String owner) booleanNoteServiceImpl.hasPermissionOnPage(Page page, PermissionType permissionType, org.exoplatform.services.security.Identity user) Checks if the given user has the permission on a pagebooleanWikiServiceImpl.hasPermissionOnWiki(Wiki wiki, PermissionType permissionType, org.exoplatform.services.security.Identity user) voidNoteServiceImpl.importNotes(String zipLocation, Page parent, String conflict, org.exoplatform.services.security.Identity userIdentity) Import Notes from a zip file locationvoidNoteServiceImpl.importNotes(List<String> files, Page parent, String conflict, org.exoplatform.services.security.Identity userIdentity) Import Notes from a list of filesprotected voidNoteServiceImpl.invalidateCachesOfPageTree(Page note) 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.removeDraftById(String draftId) Removes a draft page by its technical id.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 notevoidNoteServiceImpl.removeDraftOfNote(WikiPageParams param, String lang) Remove the Drafts of a note by languagebooleanNoteServiceImpl.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.WikiServiceImpl.searchSpaces(String keyword) SpacesNoteServiceImpl.updateDraftForExistPage(DraftPage draftNoteToUpdate, Page targetPage, String revision, long clientTime, String username) Update draft note for an existing pageNoteServiceImpl.updateDraftForNewPage(DraftPage draftNoteToUpdate, long clientTime) Update draft note for a new pageNoteServiceImpl.updateNote(Page note) Update the given note.NoteServiceImpl.updateNote(Page note, PageUpdateType type) Update the given note.NoteServiceImpl.updateNote(Page note, PageUpdateType type, org.exoplatform.services.security.Identity userIdentity) Update the given note.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 WikiExceptionModifier and TypeMethodDescriptionabstract 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 WikiExceptionModifier and TypeMethodDescriptionstatic booleanUtils.canManageNotes(String authenticatedUser, org.exoplatform.social.core.space.model.Space space, Page page) 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)