|
eXo JCR :: Component :: Extension Service 1.15.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.jcr.ext.backup.server.HTTPBackupAgent
public class HTTPBackupAgent
Created by The eXo Platform SAS.
Date: 24.02.2009
| Nested Class Summary | |
|---|---|
static class |
HTTPBackupAgent.Constants
Definition the constants. |
| Constructor Summary | |
|---|---|
HTTPBackupAgent(RepositoryService repoService,
BackupManager backupManager,
ThreadLocalSessionProviderService sessionProviderService)
ReplicationTestService constructor. |
|
| Method Summary | |
|---|---|
javax.ws.rs.core.Response |
dropWorkspace(String repository,
String workspace,
Boolean forceSessionClose)
The delete workspace. |
javax.ws.rs.core.Response |
getDefaultRepositoryConfig()
Will be returned the default repository configuration. |
javax.ws.rs.core.Response |
getDefaultWorkspaceConfig()
Will be returned the default workspace configuration. |
javax.ws.rs.core.Response |
info()
Will be returned the backup service info. |
javax.ws.rs.core.Response |
infoBackup()
Will be returned the list short info of current and completed backups . |
javax.ws.rs.core.Response |
infoBackupByRepository(String repository)
Will be returned the list short info of current and completed backups. |
javax.ws.rs.core.Response |
infoBackupByWorkspace(String repository,
String workspace)
Will be returned the list short info of current and completed backups. |
javax.ws.rs.core.Response |
infoBackupCompleted()
Will be returned the list short info of completed backups . |
javax.ws.rs.core.Response |
infoBackupCurrent()
Will be returned the list short info of current backups . |
javax.ws.rs.core.Response |
infoBackupId(String id)
Will be returned the detailed info of current or completed backup by 'id'. |
javax.ws.rs.core.Response |
infoBackupRepository()
Will be returned the list short info of current and completed repository backups . |
javax.ws.rs.core.Response |
infoBackupRepositoryCompleted()
Will be returned the list short info of completed backups . |
javax.ws.rs.core.Response |
infoBackupRepositoryCurrent()
Will be returned the list short info of current backups . |
javax.ws.rs.core.Response |
infoBackupRepositoryId(String id)
Will be returned the detailed info of current or completed repository backup by 'id'. |
javax.ws.rs.core.Response |
infoRestore(String repository,
String workspace)
Will be returned the detailed information about last restore for specific workspace. |
javax.ws.rs.core.Response |
infoRestoreRepository(String repository)
Will be returned the detailed information about last restore for specific repository. |
javax.ws.rs.core.Response |
infoRestores()
Will be returned the detailed information about last restores. |
javax.ws.rs.core.Response |
infoRestoresRepository()
Will be returned the detailed information about last restores. |
javax.ws.rs.core.Response |
restore(String backupId,
Boolean removeExisting)
Restore the workspace with original configuration (this configuration was stored in backup chain log). |
javax.ws.rs.core.Response |
restore(WorkspaceEntry wEntry,
String repository,
String backupId)
Restore the workspace. |
javax.ws.rs.core.Response |
restore(WorkspaceEntry wEntry,
String repository,
String backupId,
Boolean removeExisting)
Restore the workspace. |
javax.ws.rs.core.Response |
restoreBackupSet(WorkspaceEntry wEntry,
String repository,
String backupSetPathEncoded,
Boolean removeExisting)
Restore the workspace from backup set with changing configuration (WorkspaceEntry). |
javax.ws.rs.core.Response |
restoreFromBackupSet(String backupSetPathEncoded,
Boolean removeExisting)
Restore the workspace or repository with original configuration (this configuration was stored in backup log). |
javax.ws.rs.core.Response |
restoreRepository(RepositoryEntry rEntry,
String backupId)
Restore the repository. |
javax.ws.rs.core.Response |
restoreRepository(RepositoryEntry rEntry,
String backupId,
Boolean removeExisting)
Restore the repository. |
javax.ws.rs.core.Response |
restoreRepository(String backupId,
Boolean removeExisting)
Restore the repository. |
javax.ws.rs.core.Response |
restoreRepositoryBackupSet(RepositoryEntry rEntry,
String backupSetPathEncoded,
Boolean removeExisting)
Restore the repository from backup set with changing configuration (RepositoryEntry). |
javax.ws.rs.core.Response |
start(BackupConfigBean bConfigBeen,
String repository,
String workspace)
The start backup. |
javax.ws.rs.core.Response |
startBackupRepository(BackupConfigBean bConfigBeen,
String repository)
The start repository backup. |
javax.ws.rs.core.Response |
stop(String backupId)
The backup stop by 'id'. |
javax.ws.rs.core.Response |
stopBackupRepository(String backupId)
The repository backup stop by 'id'. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HTTPBackupAgent(RepositoryService repoService,
BackupManager backupManager,
ThreadLocalSessionProviderService sessionProviderService)
repoService - the RepositoryServicebackupManager - the BackupManagersessionProviderService - the ThreadLocalSessionProviderService| Method Detail |
|---|
@RolesAllowed(value="administrators")
public javax.ws.rs.core.Response start(BackupConfigBean bConfigBeen,
String repository,
String workspace)
bConfigBeen - BackupConfigBeen, the been with backup configuration.repository - String, the repository nameworkspace - String, the workspace name
@RolesAllowed(value="administrators")
public javax.ws.rs.core.Response startBackupRepository(BackupConfigBean bConfigBeen,
String repository)
bConfigBeen - BackupConfigBeen, the been with backup configuration.repository - String, the repository name
@RolesAllowed(value="administrators")
public javax.ws.rs.core.Response dropWorkspace(String repository,
String workspace,
Boolean forceSessionClose)
repository - String, the repository nameworkspace - String, the workspace nameforceSessionClose - Boolean, flag to force session close
@RolesAllowed(value="administrators")
public javax.ws.rs.core.Response restore(WorkspaceEntry wEntry,
String repository,
String backupId)
wEntry - WorkspaceEntry, the configuration to restored workspacerepository - String, the repository namebackupId - String, the identifier of backup
@RolesAllowed(value="administrators")
public javax.ws.rs.core.Response restore(WorkspaceEntry wEntry,
String repository,
String backupId,
Boolean removeExisting)
wEntry - WorkspaceEntry, the configuration to restored workspacerepository - String, the repository namebackupId - String, the identifier of backupremoveExisting - Boolean, if 'true' will be removed fully (db, value storage, index) existed workspace.
@RolesAllowed(value="administrators")
public javax.ws.rs.core.Response restoreBackupSet(WorkspaceEntry wEntry,
String repository,
String backupSetPathEncoded,
Boolean removeExisting)
wEntry - WorkspaceEntry, the configuration to restored workspacerepository - String, the repository namebackupSetPath - String, the path to backup setremoveExisting - Boolean, if 'true' will be removed fully (db, value storage, index) existed workspace.
@RolesAllowed(value="administrators")
public javax.ws.rs.core.Response restore(String backupId,
Boolean removeExisting)
repository - String, the repository namebackupId - String, the identifier of backupremoveExisting - Boolean, if 'true' will be removed fully (db, value storage, index) existed workspace.
@RolesAllowed(value="administrators")
public javax.ws.rs.core.Response restoreFromBackupSet(String backupSetPathEncoded,
Boolean removeExisting)
backupId - String, the identifier of backupremoveExisting - Boolean, if 'true' will be removed fully (db, value storage, index) existed workspace.
@RolesAllowed(value="administrators")
public javax.ws.rs.core.Response restoreRepository(RepositoryEntry rEntry,
String backupId)
rEntry - RepositoryEntry, the configuration to restored repositoryrepository - String, the repository namebackupId - String, the identifier of backup
@RolesAllowed(value="administrators")
public javax.ws.rs.core.Response restoreRepository(RepositoryEntry rEntry,
String backupId,
Boolean removeExisting)
rEntry - RepositoryEntry, the configuration to restored repositoryrepository - String, the repository namebackupId - String, the identifier of backupremoveExisting - Boolean, if 'true' will be removed fully (db, value storage, index) existed repository.
@RolesAllowed(value="administrators")
public javax.ws.rs.core.Response restoreRepositoryBackupSet(RepositoryEntry rEntry,
String backupSetPathEncoded,
Boolean removeExisting)
rEntry - RepositoryEntry, the configuration to restored repositoryrepository - String, the repository namebackupSetPath - String, the path to backup setremoveExisting - Boolean, if 'true' will be removed fully (db, value storage, index) existed repository.
@RolesAllowed(value="administrators")
public javax.ws.rs.core.Response restoreRepository(String backupId,
Boolean removeExisting)
backupId - String, the identifier of backupremoveExisting - Boolean, if 'true' will be removed fully (db, value storage, index) existed repository.
@RolesAllowed(value="administrators") public javax.ws.rs.core.Response stop(String backupId)
backupId - String, the identifier to backup
@RolesAllowed(value="administrators") public javax.ws.rs.core.Response stopBackupRepository(String backupId)
backupId - String, the identifier to backup
@RolesAllowed(value="administrators") public javax.ws.rs.core.Response info()
@RolesAllowed(value="administrators") public javax.ws.rs.core.Response infoBackup()
@RolesAllowed(value="administrators") public javax.ws.rs.core.Response infoBackupRepository()
@RolesAllowed(value="administrators") public javax.ws.rs.core.Response infoBackupId(String id)
id - String, the identifier to backup
@RolesAllowed(value="administrators") public javax.ws.rs.core.Response infoBackupRepositoryId(String id)
id - String, the identifier to repository backup
@RolesAllowed(value="administrators") public javax.ws.rs.core.Response infoBackupCurrent()
@RolesAllowed(value="administrators") public javax.ws.rs.core.Response infoBackupRepositoryCurrent()
@RolesAllowed(value="administrators") public javax.ws.rs.core.Response infoBackupCompleted()
@RolesAllowed(value="administrators") public javax.ws.rs.core.Response infoBackupRepositoryCompleted()
@RolesAllowed(value="administrators")
public javax.ws.rs.core.Response infoBackupByWorkspace(String repository,
String workspace)
repository - String, the repository nameworkspace - String, the workspace name
@RolesAllowed(value="administrators") public javax.ws.rs.core.Response infoBackupByRepository(String repository)
repository - String, the repository name
@RolesAllowed(value="administrators")
public javax.ws.rs.core.Response infoRestore(String repository,
String workspace)
repository - String, the repository nameworkspace - String, the workspace name
@RolesAllowed(value="administrators") public javax.ws.rs.core.Response infoRestoreRepository(String repository)
repository - String, the repository name
@RolesAllowed(value="administrators") public javax.ws.rs.core.Response infoRestores()
@RolesAllowed(value="administrators") public javax.ws.rs.core.Response infoRestoresRepository()
@RolesAllowed(value="administrators") public javax.ws.rs.core.Response getDefaultWorkspaceConfig()
@RolesAllowed(value="administrators") public javax.ws.rs.core.Response getDefaultRepositoryConfig()
|
eXo JCR :: Component :: Extension Service 1.15.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||