public interface DataStorage
Wiki getWikiByTypeAndOwner(String wikiType, String owner) throws WikiException
WikiExceptionList<Wiki> getWikisByType(String wikiType) throws WikiException
WikiExceptionWiki createWiki(Wiki wiki) throws WikiException
WikiExceptionPage createPage(Wiki wiki, Page parentPage, Page page) throws WikiException
WikiExceptionPage getPageOfWikiByName(String wikiType, String wikiOwner, String pageName) throws WikiException
pageName - The unique name of the page in the wikiWikiExceptionPage getPageById(String id) throws WikiException
id - The unique id of wiki pageWikiExceptionPage getParentPageOf(Page page) throws WikiException
WikiExceptionList<Page> getChildrenPageOf(Page page) throws WikiException
WikiExceptionvoid createTemplatePage(Wiki wiki, Template template) throws WikiException
WikiExceptionvoid updateTemplatePage(Template template) throws WikiException
WikiExceptionvoid deleteTemplatePage(String wikiType, String wikiOwner, String templateName) throws WikiException
WikiExceptionvoid deletePage(String wikiType, String wikiOwner, String pageId) throws WikiException
WikiExceptionTemplate getTemplatePage(WikiPageParams params, String templateId) throws WikiException
WikiExceptionMap<String,Template> getTemplates(WikiPageParams params) throws WikiException
WikiExceptionvoid deleteDraftOfPage(Page page, String username) throws WikiException
WikiExceptionvoid deleteDraftByName(String newDraftPageName, String username) throws WikiException
WikiExceptionvoid renamePage(String wikiType, String wikiOwner, String pageName, String newName, String newTitle) throws WikiException
WikiExceptionvoid movePage(WikiPageParams currentLocationParams, WikiPageParams newLocationParams) throws WikiException
WikiExceptionList<PermissionEntry> getWikiPermission(String wikiType, String wikiOwner) throws WikiException
WikiExceptionvoid updateWikiPermission(String wikiType, String wikiOwner, List<PermissionEntry> permissionEntries) throws WikiException
WikiExceptionList<Page> getRelatedPagesOfPage(Page page) throws WikiException
WikiExceptionPage getRelatedPage(String wikiType, String wikiOwner, String pageId) throws WikiException
WikiExceptionvoid addRelatedPage(Page page, Page relatedPage) throws WikiException
WikiExceptionvoid removeRelatedPage(Page page, Page relatedPage) throws WikiException
WikiExceptionPage getExsitedOrNewDraftPageById(String wikiType, String wikiOwner, String pageId, String username) throws WikiException
WikiExceptionDraftPage getDraft(WikiPageParams param, String username) throws WikiException
WikiExceptionDraftPage getLastestDraft(String username) throws WikiException
WikiExceptionDraftPage getDraft(String draftName, String username) throws WikiException
WikiExceptionList<DraftPage> getDraftPagesOfUser(String username) throws WikiException
WikiExceptionvoid createDraftPageForUser(DraftPage draftPage, String username) throws WikiException
WikiExceptionorg.exoplatform.commons.utils.PageList<SearchResult> search(WikiSearchData data) throws WikiException
WikiExceptionList<TemplateSearchResult> searchTemplate(TemplateSearchData data) throws WikiException
WikiExceptionList<Attachment> getAttachmentsOfPage(Page page) throws WikiException
WikiExceptionvoid addAttachmentToPage(Attachment attachment, Page page) throws WikiException
WikiExceptionvoid deleteAttachmentOfPage(String attachmentId, Page page) throws WikiException
WikiExceptionPage getHelpSyntaxPage(String syntaxId, boolean fullContent, List<org.exoplatform.container.xml.ValuesParam> syntaxHelpParams, org.exoplatform.container.configuration.ConfigurationManager configurationManager) throws WikiException
WikiExceptionvoid createEmotionIcon(EmotionIcon emotionIcon) throws WikiException
WikiExceptionList<EmotionIcon> getEmotionIcons() throws WikiException
WikiExceptionEmotionIcon getEmotionIconByName(String name) throws WikiException
WikiExceptionboolean hasPermissionOnPage(Page page, PermissionType permissionType, org.exoplatform.services.security.Identity user) throws WikiException
WikiExceptionboolean hasAdminSpacePermission(String wikiType, String owner, org.exoplatform.services.security.Identity user) throws WikiException
WikiExceptionboolean hasAdminPagePermission(String wikiType, String owner, org.exoplatform.services.security.Identity user) throws WikiException
WikiExceptionList<PageVersion> getVersionsOfPage(Page page) throws WikiException
WikiExceptionvoid addPageVersion(Page page) throws WikiException
WikiExceptionvoid restoreVersionOfPage(String versionName, Page page) throws WikiException
WikiExceptionvoid updatePage(Page page) throws WikiException
WikiExceptionList<String> getPreviousNamesOfPage(Page page) throws WikiException
WikiExceptionList<String> getWatchersOfPage(Page page) throws WikiException
WikiExceptionvoid addWatcherToPage(String username, Page page) throws WikiException
WikiExceptionvoid deleteWatcherOfPage(String username, Page page) throws WikiException
WikiExceptionCopyright © 2003–2016 eXo Platform SAS. All rights reserved.