Package org.xwiki.wiki.provisioning
Interface WikiCopier
-
@Role public interface WikiCopier
Copy all the documents from a wiki to an other.- Since:
- 7.0M2
- Version:
- $Id :$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
copyDocuments
void copyDocuments(String fromWikiId, String toWikiId, boolean withHistory) throws WikiManagerException
Copy all documents from a wiki to an other.- Parameters:
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 cloned- Throws:
WikiManagerException
- if problems occur
-
copyDeletedDocuments
void copyDeletedDocuments(String fromWikiId, String toWikiId) throws WikiManagerException
Copy all deleted documents form a wiki to an other.- Parameters:
fromWikiId
- Id of the wiki where the documents are locatedtoWikiId
- Id of the wiki that will hold the duplicated documents- Throws:
WikiManagerException
- if problems occur
-
-