@Role
public interface WikiCopier
Modifier and Type | Method and Description |
---|---|
void |
copyDeletedDocuments(String fromWikiId,
String toWikiId)
Copy all deleted documents form a wiki to an other.
|
void |
copyDocuments(String fromWikiId,
String toWikiId,
boolean withHistory)
Copy all documents from a wiki to an other.
|
void copyDocuments(String fromWikiId, String toWikiId, boolean withHistory) throws WikiManagerException
fromWikiId
- Id of the wiki where the documents are locatedtoWikiId
- Id of the wiki that will hold the duplicated documentswithHistory
- whether or not the history of the documents should be clonedWikiManagerException
- if problems occurvoid copyDeletedDocuments(String fromWikiId, String toWikiId) throws WikiManagerException
fromWikiId
- Id of the wiki where the documents are locatedtoWikiId
- Id of the wiki that will hold the duplicated documentsWikiManagerException
- if problems occurCopyright © 2004–2021 XWiki. All rights reserved.