Blue Mind
Release 1.0

net.bluemind.core.client.backup
Class BackupFullClient

java.lang.Object
  extended by net.bluemind.core.client.impl.AbstractClientImpl
      extended by net.bluemind.core.client.backup.BackupFullClient
All Implemented Interfaces:
IBackupFull, ISyncClient

public class BackupFullClient
extends AbstractClientImpl
implements IBackupFull


Field Summary
 
Fields inherited from class net.bluemind.core.client.impl.AbstractClientImpl
logger
 
Constructor Summary
BackupFullClient(java.lang.String backendUrl)
           
 
Method Summary
 java.lang.String backup(AccessToken token)
           
 BluejobExitStatus backupStatus(AccessToken token)
           
 java.lang.String restoreCyrusDatas(AccessToken token, int hostId, java.lang.String backupPath)
           
 BackupStatus restoreCyrusDatasStatus(AccessToken token)
           
 java.lang.String restoreDatabase(AccessToken token)
           
 java.lang.String restoreDomainHostsAssignation(AccessToken token, java.lang.Integer domainId)
           
 BackupStatus restoreDomainHostsAssignationStatus(AccessToken token)
           
 java.lang.String restoreHost(AccessToken token, int hostId)
           
 BackupStatus restoreHostStatus(AccessToken token)
           
 
Methods inherited from class net.bluemind.core.client.impl.AbstractClientImpl
checkServerError, execute, executeStream, executeVoid, initParams, login, logout, setToken, sudo, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackupFullClient

public BackupFullClient(java.lang.String backendUrl)
Method Detail

backup

public java.lang.String backup(AccessToken token)
                        throws AuthFault,
                               ServerFault
Specified by:
backup in interface IBackupFull
Throws:
AuthFault
ServerFault

backupStatus

public BluejobExitStatus backupStatus(AccessToken token)
                               throws ServerFault
Specified by:
backupStatus in interface IBackupFull
Throws:
ServerFault

restoreDatabase

public java.lang.String restoreDatabase(AccessToken token)
                                 throws ServerFault,
                                        AuthFault
Specified by:
restoreDatabase in interface IBackupFull
Throws:
ServerFault
AuthFault

restoreHost

public java.lang.String restoreHost(AccessToken token,
                                    int hostId)
                             throws ServerFault
Specified by:
restoreHost in interface IBackupFull
Throws:
ServerFault

restoreHostStatus

public BackupStatus restoreHostStatus(AccessToken token)
                               throws ServerFault
Specified by:
restoreHostStatus in interface IBackupFull
Throws:
ServerFault

restoreDomainHostsAssignation

public java.lang.String restoreDomainHostsAssignation(AccessToken token,
                                                      java.lang.Integer domainId)
                                               throws ServerFault,
                                                      AuthFault
Specified by:
restoreDomainHostsAssignation in interface IBackupFull
Throws:
ServerFault
AuthFault

restoreDomainHostsAssignationStatus

public BackupStatus restoreDomainHostsAssignationStatus(AccessToken token)
                                                 throws ServerFault
Specified by:
restoreDomainHostsAssignationStatus in interface IBackupFull
Throws:
ServerFault

restoreCyrusDatas

public java.lang.String restoreCyrusDatas(AccessToken token,
                                          int hostId,
                                          java.lang.String backupPath)
                                   throws ServerFault,
                                          AuthFault
Specified by:
restoreCyrusDatas in interface IBackupFull
Throws:
ServerFault
AuthFault

restoreCyrusDatasStatus

public BackupStatus restoreCyrusDatasStatus(AccessToken token)
                                     throws ServerFault
Specified by:
restoreCyrusDatasStatus in interface IBackupFull
Throws:
ServerFault

Blue Mind
Release 1.0