Class JobExistingRepositoryRestore

java.lang.Object
java.lang.Thread
org.exoplatform.services.jcr.ext.backup.impl.JobRepositoryRestore
org.exoplatform.services.jcr.ext.backup.impl.JobExistingRepositoryRestore
All Implemented Interfaces:
Runnable

public class JobExistingRepositoryRestore extends JobRepositoryRestore
Created by The eXo Platform SAS.
Date: 2010
Version:
$Id$
Author:
Alex Reshetnyak
  • Constructor Details

    • JobExistingRepositoryRestore

      public JobExistingRepositoryRestore(org.exoplatform.services.jcr.RepositoryService repoService, BackupManagerImpl backupManagerImpl, org.exoplatform.services.jcr.config.RepositoryEntry repositoryEntry, Map<String,File> workspacesMapping, File backupChainLogFile)
      JobExistingRepositoryRestore constructor.
    • JobExistingRepositoryRestore

      public JobExistingRepositoryRestore(org.exoplatform.services.jcr.RepositoryService repoService, BackupManagerImpl backupManagerImpl, org.exoplatform.services.jcr.config.RepositoryEntry repositoryEntry, Map<String,File> workspacesMapping, File backupChainLogFile, boolean removeJobOnceOver)
      JobExistingRepositoryRestore constructor.
  • Method Details

    • restoreRepository

      protected void restoreRepository() throws RepositoryRestoreExeption
      Description copied from class: JobRepositoryRestore
      Will be restored the workspace.
      Overrides:
      restoreRepository in class JobRepositoryRestore
      Throws:
      RepositoryRestoreExeption
      RepositoryRestoreExeption
    • removeRepository

      protected void removeRepository(org.exoplatform.services.jcr.RepositoryService repositoryService, String repositoryName) throws javax.jcr.RepositoryException, org.exoplatform.services.jcr.config.RepositoryConfigurationException
      Remove repository.
      Overrides:
      removeRepository in class JobRepositoryRestore
      Parameters:
      repositoryService - RepositoryService, the repository service
      repositoryName - String, the repository name
      Throws:
      javax.jcr.RepositoryException - will be generated the RepositoryException
      org.exoplatform.services.jcr.config.RepositoryConfigurationException