Package | Description |
---|---|
org.xwiki.wiki.descriptor | |
org.xwiki.wiki.manager | |
org.xwiki.wiki.provisioning |
Modifier and Type | Method and Description |
---|---|
boolean |
WikiDescriptorManager.exists(String wikiId)
Check if a wiki corresponding to an Id exists.
|
Collection<WikiDescriptor> |
WikiDescriptorManager.getAll()
Get the list of all wikis descriptors.
|
Collection<String> |
WikiDescriptorManager.getAllIds()
Get the list of all wikis identifiers.
|
WikiDescriptor |
WikiDescriptorManager.getByAlias(String wikiAlias)
Get a wiki from one of its aliases.
|
WikiDescriptor |
WikiDescriptorManager.getById(String wikiId)
Get a wiki from its Id.
|
WikiDescriptor |
WikiDescriptorManager.getCurrentWikiDescriptor() |
WikiDescriptor |
WikiDescriptorManager.getMainWikiDescriptor() |
void |
WikiDescriptorManager.saveDescriptor(WikiDescriptor descriptor)
Save the given descriptor and all its property groups.
|
Modifier and Type | Method and Description |
---|---|
WikiDescriptor |
WikiManager.copy(String fromWikiId,
String newWikiId,
String newWikiAlias,
boolean copyHistory,
boolean copyRecycleBin,
boolean failOnExist)
Copy a wiki.
|
WikiDescriptor |
WikiManager.create(String wikiId,
String wikiAlias,
boolean failOnExist)
Create a new wiki.
|
default WikiDescriptor |
WikiManager.create(String wikiId,
String wikiAlias,
String ownerId,
boolean failOnExist)
Create a new wiki.
|
void |
WikiManager.delete(String wikiId)
Delete a wiki.
|
boolean |
WikiManager.idAvailable(String wikiId)
Check if the wikiId is valid and available (the name is not already taken for technical reasons).
|
WikiDescriptor |
WikiManager.rename(String wikiId,
String newWikiId)
Rename a wiki.
|
Modifier and Type | Method and Description |
---|---|
void |
WikiCopier.copyDeletedDocuments(String fromWikiId,
String toWikiId)
Copy all deleted documents form a wiki to an other.
|
void |
WikiCopier.copyDocuments(String fromWikiId,
String toWikiId,
boolean withHistory)
Copy all documents from a wiki to an other.
|
Copyright © 2004–2021 XWiki. All rights reserved.