| Package | Description |
|---|---|
| org.exoplatform.wiki.jpa | |
| org.exoplatform.wiki.jpa.search | |
| org.exoplatform.wiki.migration | |
| org.exoplatform.wiki.mow.api | |
| org.exoplatform.wiki.mow.api.content | |
| org.exoplatform.wiki.notification.listener | |
| org.exoplatform.wiki.notification.Utils | |
| org.exoplatform.wiki.resolver | |
| 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.service.related | |
| org.exoplatform.wiki.tree | |
| org.exoplatform.wiki.utils |
| Modifier and Type | Method and Description |
|---|---|
static Page |
EntityConverter.convertPageEntityToPage(PageEntity pageEntity) |
Page |
JPADataStorage.createPage(Wiki wiki,
Page parentPage,
Page page) |
Page |
JPADataStorage.getExsitedOrNewDraftPageById(String wikiType,
String wikiOwner,
String pageName,
String username) |
Page |
JPADataStorage.getHelpSyntaxPage(String syntaxId,
boolean fullContent,
List<org.exoplatform.container.xml.ValuesParam> syntaxHelpParams,
org.exoplatform.container.configuration.ConfigurationManager configurationManager)
Deprecated.
|
Page |
JPADataStorage.getPageById(String id) |
Page |
JPADataStorage.getPageOfWikiByName(String wikiType,
String wikiOwner,
String pageName) |
Page |
JPADataStorage.getParentPageOf(Page page) |
Page |
JPADataStorage.getRelatedPage(String wikiType,
String wikiOwner,
String pageName) |
| Modifier and Type | Method and Description |
|---|---|
List<Page> |
JPADataStorage.getChildrenPageOf(Page page) |
List<Page> |
JPADataStorage.getPagesOfWiki(String wikiType,
String wikiOwner) |
List<Page> |
JPADataStorage.getRelatedPagesOfPage(Page page) |
| Modifier and Type | Method and Description |
|---|---|
void |
JPADataStorage.addAttachmentToPage(Attachment attachment,
Page page) |
void |
JPADataStorage.addPageVersion(Page page) |
void |
JPADataStorage.addRelatedPage(Page page,
Page relatedPage) |
void |
JPADataStorage.addWatcherToPage(String username,
Page page) |
static PageEntity |
EntityConverter.convertPageToPageEntity(Page page,
WikiDAO wikiDAO) |
Page |
JPADataStorage.createPage(Wiki wiki,
Page parentPage,
Page page) |
void |
JPADataStorage.deleteAttachmentOfPage(String attachmentName,
Page page) |
void |
JPADataStorage.deleteDraftOfPage(Page page,
String username) |
void |
JPADataStorage.deleteWatcherOfPage(String username,
Page page) |
PageEntity |
JPADataStorage.fetchPageEntity(Page page)
Fecth Page Entity from a Page domain object
|
List<Attachment> |
JPADataStorage.getAttachmentsOfPage(Page page) |
List<Attachment> |
JPADataStorage.getAttachmentsOfPage(Page page,
boolean loadContent) |
List<Page> |
JPADataStorage.getChildrenPageOf(Page page) |
Page |
JPADataStorage.getParentPageOf(Page page) |
List<String> |
JPADataStorage.getPreviousNamesOfPage(Page page) |
List<Page> |
JPADataStorage.getRelatedPagesOfPage(Page page) |
List<PageVersion> |
JPADataStorage.getVersionsOfPage(Page page) |
List<String> |
JPADataStorage.getWatchersOfPage(Page page) |
boolean |
JPADataStorage.hasPermissionOnPage(Page page,
PermissionType permissionType,
org.exoplatform.services.security.Identity identity) |
void |
JPADataStorage.removeRelatedPage(Page page,
Page relatedPage) |
void |
JPADataStorage.restoreVersionOfPage(String versionName,
Page page) |
void |
JPADataStorage.updatePage(Page page) |
| Modifier and Type | Method and Description |
|---|---|
void |
AttachmentIndexingListener.addAttachment(Attachment attachment,
Page page) |
void |
AttachmentIndexingListener.deleteAttachment(String attachmentName,
Page page) |
void |
PageIndexingListener.postAddPage(String wikiType,
String wikiOwner,
String pageId,
Page page) |
void |
PageIndexingListener.postDeletePage(String wikiType,
String wikiOwner,
String pageId,
Page page) |
void |
PageIndexingListener.postUpdatePage(String wikiType,
String wikiOwner,
String pageId,
Page page,
PageUpdateType wikiUpdateType) |
| Modifier and Type | Method and Description |
|---|---|
void |
PageContentMigrationService.migratePage(Page page) |
| Modifier and Type | Class and Description |
|---|---|
class |
DraftPage |
class |
PageVersion |
class |
Template |
| Modifier and Type | Method and Description |
|---|---|
Page |
Wiki.getWikiHome() |
| Modifier and Type | Method and Description |
|---|---|
void |
Wiki.setWikiHome(Page wikiHome) |
| Modifier and Type | Method and Description |
|---|---|
Page |
Link.getTargetPage()
Get the page referenced by target
|
| Modifier and Type | Method and Description |
|---|---|
void |
EditWikiListener.onEvent(org.exoplatform.services.listener.Event<WikiService,Page> event) |
| Modifier and Type | Field and Description |
|---|---|
static org.exoplatform.commons.api.notification.model.ArgumentLiteral<Page> |
NotificationsUtils.PAGE |
| Modifier and Type | Method and Description |
|---|---|
Page |
PageResolver.resolve(String requestURI,
org.exoplatform.portal.mop.SiteKey siteKey,
org.exoplatform.portal.mop.user.UserNode portalUserNode) |
| Modifier and Type | Method and Description |
|---|---|
Page |
DataStorage.createPage(Wiki wiki,
Page parentPage,
Page page) |
Page |
WikiService.createPage(Wiki wiki,
String parentPageName,
Page page)
Create a new wiki page in the given wiki, under the given parent page.
|
Page |
WikiService.getDraftPageById(String id)
Gets a wiki draft page based on its unique id.
|
Page |
WikiService.getExsitedOrNewDraftPageById(String wikiType,
String wikiOwner,
String pageId)
Gets a wiki page or its draft if existing by its Id.
|
Page |
DataStorage.getExsitedOrNewDraftPageById(String wikiType,
String wikiOwner,
String pageId,
String username) |
Page |
WikiService.getHelpSyntaxPage(String syntaxId,
boolean fullContent)
Deprecated.
|
Page |
DataStorage.getHelpSyntaxPage(String syntaxId,
boolean fullContent,
List<org.exoplatform.container.xml.ValuesParam> syntaxHelpParams,
org.exoplatform.container.configuration.ConfigurationManager configurationManager) |
Page |
WikiService.getPageById(String id)
Gets a wiki page based on its unique id.
|
Page |
DataStorage.getPageById(String id)
Get a wiki page by its unique id
|
Page |
WikiService.getPageByRootPermission(String wikiType,
String wikiOwner,
String pageId)
Gets a wiki page regardless of the current user's permission.
|
Page |
WikiService.getPageOfWikiByName(String wikiType,
String wikiOwner,
String pageName)
Gets a wiki page by its unique name in the wiki.
|
Page |
DataStorage.getPageOfWikiByName(String wikiType,
String wikiOwner,
String pageName)
Get a wiki page by its unique name in the wiki
|
Page |
WikiService.getParentPageOf(Page page)
Get parent page of a wiki page
|
Page |
DataStorage.getParentPageOf(Page page) |
Page |
WikiService.getRelatedPage(String wikiType,
String wikiOwner,
String pageId)
Gets a related page of a wiki page which is specified by a given Id.
|
Page |
DataStorage.getRelatedPage(String wikiType,
String wikiOwner,
String pageId) |
| Modifier and Type | Method and Description |
|---|---|
List<Page> |
WikiService.getChildrenPageOf(Page page)
Get all the children pages of a wiki page
|
List<Page> |
DataStorage.getChildrenPageOf(Page page) |
List<Page> |
WikiService.getDuplicatePages(Page parentPage,
Wiki targetWiki,
List<Page> resultList)
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.
|
List<Page> |
WikiService.getPagesOfWiki(String wikiType,
String wikiOwner)
Retrieve the all pages contained in wiki
|
List<Page> |
DataStorage.getPagesOfWiki(String wikiType,
String wikiOwner)
Retrieve the all pages contained in wiki
|
List<Page> |
WikiService.getRelatedPagesOfPage(Page page)
Gets a list of related pages based on a given param.
|
List<Page> |
DataStorage.getRelatedPagesOfPage(Page page) |
| Modifier and Type | Method and Description |
|---|---|
void |
WikiService.addAttachmentToPage(Attachment attachment,
Page page)
Add the given attachment to the given page
|
void |
DataStorage.addAttachmentToPage(Attachment attachment,
Page page) |
void |
DataStorage.addPageVersion(Page page) |
void |
DataStorage.addRelatedPage(Page page,
Page relatedPage) |
void |
WikiService.addWatcherToPage(String username,
Page page)
Add the given user as watcher of the wiki page
|
void |
DataStorage.addWatcherToPage(String username,
Page page) |
boolean |
WikiService.canModifyPagePermission(Page currentPage,
String currentUser)
Check if the given user can update the page
|
boolean |
WikiService.canPublicAndRetrictPage(Page currentPage,
String currentUser)
Check if the given user can public or restrict the page
|
DraftPage |
WikiService.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.
|
DraftPage |
WikiService.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.
|
Page |
DataStorage.createPage(Wiki wiki,
Page parentPage,
Page page) |
Page |
WikiService.createPage(Wiki wiki,
String parentPageName,
Page page)
Create a new wiki page in the given wiki, under the given parent page.
|
void |
WikiService.createVersionOfPage(Page page)
Creates a version of a page.
|
void |
WikiService.deleteAttachmentOfPage(String attachmentId,
Page page)
Deletes the given attachment of the given page
|
void |
DataStorage.deleteAttachmentOfPage(String attachmentId,
Page page) |
void |
DataStorage.deleteDraftOfPage(Page page,
String username) |
void |
WikiService.deleteWatcherOfPage(String username,
Page page)
Delete a user as watcher of the given page
|
void |
DataStorage.deleteWatcherOfPage(String username,
Page page) |
Attachment |
WikiService.getAttachmentOfPageByName(String attachmentName,
Page page)
Get a attachment of a the given page by name, without loading its content
|
default Attachment |
WikiService.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 true
|
List<Attachment> |
WikiService.getAttachmentsOfPage(Page page)
Gets attachments of the given page, without loading their content
|
List<Attachment> |
DataStorage.getAttachmentsOfPage(Page page) |
default 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 true
|
default List<Attachment> |
DataStorage.getAttachmentsOfPage(Page page,
boolean loadContent) |
List<Page> |
WikiService.getChildrenPageOf(Page page)
Get all the children pages of a wiki page
|
List<Page> |
DataStorage.getChildrenPageOf(Page page) |
DraftPage |
WikiService.getDraftOfPage(Page page)
Gets a draft page of a wiki page which is specified by a given param object.
|
List<Page> |
WikiService.getDuplicatePages(Page parentPage,
Wiki targetWiki,
List<Page> resultList)
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.
|
int |
WikiService.getNbOfAttachmentsOfPage(Page page)
Get the number of attachment of the given page
|
String |
WikiService.getPageRenderedContent(Page page)
Get renderd content of a page
|
Page |
WikiService.getParentPageOf(Page page)
Get parent page of a wiki page
|
Page |
DataStorage.getParentPageOf(Page page) |
List<String> |
WikiService.getPreviousNamesOfPage(Page page)
Get previous names of a page
|
List<String> |
DataStorage.getPreviousNamesOfPage(Page page) |
List<Page> |
WikiService.getRelatedPagesOfPage(Page page)
Gets a list of related pages based on a given param.
|
List<Page> |
DataStorage.getRelatedPagesOfPage(Page page) |
PageVersion |
WikiService.getVersionOfPageByName(String versionName,
Page page)
Gets a specific version by name of the given page
|
List<PageVersion> |
WikiService.getVersionsOfPage(Page page)
Gets all the versions of the given page
|
List<PageVersion> |
DataStorage.getVersionsOfPage(Page page) |
List<String> |
WikiService.getWatchersOfPage(Page page)
Get all the watchers of a page
|
List<String> |
DataStorage.getWatchersOfPage(Page page) |
boolean |
WikiService.hasPermissionOnPage(Page page,
PermissionType permissionType,
org.exoplatform.services.security.Identity user)
Checks if the given user has the permission on a page
|
boolean |
DataStorage.hasPermissionOnPage(Page page,
PermissionType permissionType,
org.exoplatform.services.security.Identity user)
Check if the identity has the given permission type on a page
|
void |
DataStorage.removeRelatedPage(Page page,
Page relatedPage) |
void |
WikiService.restoreVersionOfPage(String versionName,
Page page)
Restores a version of a page
|
void |
DataStorage.restoreVersionOfPage(String versionName,
Page page) |
void |
DataStorage.updatePage(Page page) |
void |
WikiService.updatePage(Page page,
PageUpdateType type)
Update the given page.
|
| Modifier and Type | Method and Description |
|---|---|
List<Page> |
WikiService.getDuplicatePages(Page parentPage,
Wiki targetWiki,
List<Page> resultList)
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.
|
| Modifier and Type | Method and Description |
|---|---|
Page |
WikiServiceImpl.createPage(Wiki wiki,
String parentPageName,
Page page)
Page
|
Page |
WikiServiceImpl.getExsitedOrNewDraftPageById(String wikiType,
String wikiOwner,
String pageId)
Draft
|
Page |
WikiServiceImpl.getHelpSyntaxPage(String syntaxId,
boolean fullContent) |
Page |
WikiServiceImpl.getPageById(String id) |
Page |
WikiServiceImpl.getPageByRootPermission(String wikiType,
String wikiOwner,
String pageId) |
Page |
WikiServiceImpl.getPageOfWikiByName(String wikiType,
String wikiOwner,
String pageName) |
Page |
WikiServiceImpl.getParentPageOf(Page page) |
Page |
WikiServiceImpl.getRelatedPage(String wikiType,
String wikiOwner,
String pageId) |
| Modifier and Type | Method and Description |
|---|---|
List<Page> |
WikiServiceImpl.getChildrenPageOf(Page page) |
List<Page> |
WikiServiceImpl.getDuplicatePages(Page parentPage,
Wiki targetWiki,
List<Page> resultList) |
List<Page> |
WikiServiceImpl.getPagesOfWiki(String wikiType,
String wikiOwner) |
List<Page> |
WikiServiceImpl.getRelatedPagesOfPage(Page page) |
| Modifier and Type | Method and Description |
|---|---|
void |
WikiServiceImpl.addAttachment(Attachment attachment,
Page page) |
void |
WikiServiceImpl.addAttachmentToPage(Attachment attachment,
Page page) |
void |
WikiServiceImpl.addWatcherToPage(String username,
Page page) |
boolean |
WikiServiceImpl.canModifyPagePermission(Page currentPage,
String currentUser) |
boolean |
WikiServiceImpl.canPublicAndRetrictPage(Page currentPage,
String currentUser) |
Attachment |
WikiRestServiceImpl.createAttachment(ObjectFactory objectFactory,
URI baseUri,
Attachment pageAttachment,
Page page,
String xwikiRelativeUrl,
String xwikiAbsoluteUrl) |
DraftPage |
WikiServiceImpl.createDraftForExistPage(DraftPage draftPage,
Page targetPage,
String revision,
long clientTime) |
DraftPage |
WikiServiceImpl.createDraftForNewPage(DraftPage draftPage,
Page parentPage,
long clientTime) |
Page |
WikiRestServiceImpl.createPage(ObjectFactory objectFactory,
URI baseUri,
URI self,
Page doc) |
Page |
WikiServiceImpl.createPage(Wiki wiki,
String parentPageName,
Page page)
Page
|
PageSummary |
WikiRestServiceImpl.createPageSummary(ObjectFactory objectFactory,
URI baseUri,
Page page) |
Space |
WikiRestServiceImpl.createSpace(ObjectFactory objectFactory,
URI baseUri,
String wikiName,
String spaceName,
Page home) |
void |
WikiServiceImpl.createVersionOfPage(Page page) |
void |
WikiServiceImpl.deleteAttachment(String attachmentId,
Page page) |
void |
WikiServiceImpl.deleteAttachmentOfPage(String attachmentId,
Page page) |
void |
WikiServiceImpl.deleteWatcherOfPage(String username,
Page page) |
Attachment |
WikiServiceImpl.getAttachmentOfPageByName(String attachmentName,
Page page) |
Attachment |
WikiServiceImpl.getAttachmentOfPageByName(String attachmentName,
Page page,
boolean loadContent) |
List<Attachment> |
WikiServiceImpl.getAttachmentsOfPage(Page page)
Attachment
|
List<Attachment> |
WikiServiceImpl.getAttachmentsOfPage(Page page,
boolean loadContent) |
List<Page> |
WikiServiceImpl.getChildrenPageOf(Page page) |
DraftPage |
WikiServiceImpl.getDraftOfPage(Page page) |
List<Page> |
WikiServiceImpl.getDuplicatePages(Page parentPage,
Wiki targetWiki,
List<Page> resultList) |
int |
WikiServiceImpl.getNbOfAttachmentsOfPage(Page page) |
String |
WikiServiceImpl.getPageRenderedContent(Page page) |
Page |
WikiServiceImpl.getParentPageOf(Page page) |
List<String> |
WikiServiceImpl.getPreviousNamesOfPage(Page page) |
List<Page> |
WikiServiceImpl.getRelatedPagesOfPage(Page page) |
PageVersion |
WikiServiceImpl.getVersionOfPageByName(String versionName,
Page page) |
List<PageVersion> |
WikiServiceImpl.getVersionsOfPage(Page page) |
List<String> |
WikiServiceImpl.getWatchersOfPage(Page page)
Watch
|
boolean |
WikiServiceImpl.hasPermissionOnPage(Page page,
PermissionType permissionType,
org.exoplatform.services.security.Identity user) |
protected void |
WikiServiceImpl.invalidateAttachmentCache(Page page) |
protected void |
WikiServiceImpl.invalidateCache(Page page) |
protected void |
WikiServiceImpl.invalidateCachesOfPageTree(Page page)
Invalidate all caches of a page and all its descendants
|
void |
WikiServiceImpl.postAddPage(String wikiType,
String wikiOwner,
String pageId,
Page page) |
void |
WikiServiceImpl.postDeletePage(String wikiType,
String wikiOwner,
String pageId,
Page page) |
void |
WikiServiceImpl.postUpdatePage(String wikiType,
String wikiOwner,
String pageId,
Page page,
PageUpdateType wikiUpdateType)
Listeners
|
void |
WikiServiceImpl.restoreVersionOfPage(String versionName,
Page page) |
void |
WikiServiceImpl.updatePage(Page page,
PageUpdateType updateType) |
| Modifier and Type | Method and Description |
|---|---|
List<Page> |
WikiServiceImpl.getDuplicatePages(Page parentPage,
Wiki targetWiki,
List<Page> resultList) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
AttachmentWikiListener.addAttachment(Attachment attachment,
Page page) |
abstract void |
AttachmentWikiListener.deleteAttachment(String attachmentName,
Page page) |
abstract void |
PageWikiListener.postAddPage(String wikiType,
String wikiOwner,
String pageId,
Page page) |
abstract void |
PageWikiListener.postDeletePage(String wikiType,
String wikiOwner,
String pageId,
Page page) |
abstract void |
PageWikiListener.postUpdatePage(String wikiType,
String wikiOwner,
String pageId,
Page page,
PageUpdateType wikiUpdateType) |
| Modifier and Type | Method and Description |
|---|---|
static List<JsonRelatedData> |
RelatedUtil.pageToJson(List<Page> pages) |
| Modifier and Type | Method and Description |
|---|---|
Page |
PageTreeNode.getPage() |
Page |
WikiHomeTreeNode.getWikiHome() |
| Modifier and Type | Method and Description |
|---|---|
void |
PageTreeNode.setPage(Page page) |
| Constructor and Description |
|---|
PageTreeNode(Page page) |
WikiHomeTreeNode(Page wikiHome) |
| Modifier and Type | Method and Description |
|---|---|
static Stack<WikiPageParams> |
Utils.getStackParams(Page page) |
static String |
Utils.getWikiOnChangeContent(Page page) |
static WikiPageParams |
Utils.getWikiPageParams(Page page) |
static boolean |
Utils.isDescendantPage(Page page,
Page parentPage) |
Copyright © 2003–2021 eXo Platform SAS. All rights reserved.