public interface RestoreBackupService
Modifier and Type | Method and Description |
---|---|
Optional<String> |
getLatestSavedFileName(String strategy,
DataCategory type,
FunctionalAdminCollections collection)
get the latest file name according to the name suffix.
|
Optional<CollectionBackupModel> |
readLatestSavedFile(String strategy,
FunctionalAdminCollections collection)
Read the latest file using the name requested by getLatestSavedFileName.
Be careful, this method use tenant that is requested from the VitamSession |
Optional<String> getLatestSavedFileName(String strategy, DataCategory type, FunctionalAdminCollections collection)
strategy
- the storage strategy to be appliedcollection
- the collection to be restoredtype
- the storage collection type.Optional<CollectionBackupModel> readLatestSavedFile(String strategy, FunctionalAdminCollections collection)
strategy
- the storage strategy to be appliedcollection
- the collection to be restoredCopyright © 2018 Vitam. All rights reserved.