Interface WikiCopier


  • @Role
    public interface WikiCopier
    Copy all the documents from a wiki to an other.
    Since:
    7.0M2
    Version:
    $Id :$
    • 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 located
        toWikiId - Id of the wiki that will hold the duplicated documents
        withHistory - 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 located
        toWikiId - Id of the wiki that will hold the duplicated documents
        Throws:
        WikiManagerException - if problems occur