org.exoplatform.services.jcr.ext.backup.impl
Class BackupManagerImpl
java.lang.Object
org.exoplatform.services.jcr.ext.backup.impl.BackupManagerImpl
- All Implemented Interfaces:
- BackupManager, org.picocontainer.Startable
public class BackupManagerImpl
- extends java.lang.Object
- implements BackupManager, org.picocontainer.Startable
Created by The eXo Platform SAS .
- Version:
- $Id: BackupManagerImpl.java 39448 2009-10-30 14:44:20Z rainf0x $
- Author:
- Gennady Azarenkov
|
Field Summary |
protected static org.apache.commons.logging.Log |
log
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.commons.logging.Log log
BackupManagerImpl
public BackupManagerImpl(org.exoplatform.container.xml.InitParams initParams,
RepositoryService repoService)
BackupManagerImpl
public BackupManagerImpl(org.exoplatform.container.xml.InitParams initParams,
RepositoryService repoService,
RegistryService registryService)
getCurrentBackups
public java.util.Set<BackupChain> getCurrentBackups()
- Specified by:
getCurrentBackups in interface BackupManager
getMessages
public BackupMessage[] getMessages()
- Specified by:
getMessages in interface BackupManager
getBackupsLogs
public BackupChainLog[] getBackupsLogs()
- Specified by:
getBackupsLogs in interface BackupManager
restore
public void restore(BackupChainLog log,
RepositoryEntry repository,
WorkspaceEntry workspaceEntry)
throws BackupOperationException,
javax.jcr.RepositoryException,
RepositoryConfigurationException,
BackupConfigurationException
- Specified by:
restore in interface BackupManager
- Throws:
BackupOperationException
javax.jcr.RepositoryException
RepositoryConfigurationException
BackupConfigurationException
startBackup
public BackupChain startBackup(BackupConfig config)
throws BackupOperationException,
BackupConfigurationException,
javax.jcr.RepositoryException,
RepositoryConfigurationException
- Specified by:
startBackup in interface BackupManager
- Throws:
BackupOperationException
BackupConfigurationException
javax.jcr.RepositoryException
RepositoryConfigurationException
stopBackup
public void stopBackup(BackupChain backup)
- Specified by:
stopBackup in interface BackupManager
start
public void start()
- Specified by:
start in interface org.picocontainer.Startable
stop
public void stop()
- Specified by:
stop in interface org.picocontainer.Startable
findBackup
public BackupChain findBackup(java.lang.String repository,
java.lang.String workspace)
- Specified by:
findBackup in interface BackupManager
getScheduler
public BackupScheduler getScheduler()
- Specified by:
getScheduler in interface BackupManager
getBackupDirectory
public java.io.File getBackupDirectory()
- Specified by:
getBackupDirectory in interface BackupManager
getFullBackupType
public java.lang.String getFullBackupType()
- Specified by:
getFullBackupType in interface BackupManager
getIncrementalBackupType
public java.lang.String getIncrementalBackupType()
- Specified by:
getIncrementalBackupType in interface BackupManager
Copyright © 2012 eXo Platform SAS. All Rights Reserved.