public class ReconstructionServiceImpl extends Object implements ReconstructionService
| Constructor and Description |
|---|
ReconstructionServiceImpl(VitamRepositoryProvider vitamRepositoryProvider) |
ReconstructionServiceImpl(VitamRepositoryProvider vitamRepositoryProvider,
RestoreBackupService recoverBuckupService) |
| Modifier and Type | Method and Description |
|---|---|
void |
reconstruct(FunctionalAdminCollections collection)
Reconstrut Vitam collection.
|
void |
reconstruct(FunctionalAdminCollections collection,
Integer... tenants)
purge collection content and reconstruct the content.
|
public ReconstructionServiceImpl(VitamRepositoryProvider vitamRepositoryProvider)
public ReconstructionServiceImpl(VitamRepositoryProvider vitamRepositoryProvider, RestoreBackupService recoverBuckupService)
public void reconstruct(FunctionalAdminCollections collection, Integer... tenants) throws DatabaseException
reconstruct in interface ReconstructionServicecollection - the collection to reconstruct.tenants - the given tenant.DatabaseException - in case error with database occurspublic void reconstruct(FunctionalAdminCollections collection) throws DatabaseException
ReconstructionServicereconstruct in interface ReconstructionServicecollection - the collection to reconstruct.DatabaseException - in case error with database occursCopyright © 2018 Vitam. All rights reserved.