public class TraceabilityStorageService extends Object
| Constructor and Description |
|---|
TraceabilityStorageService(StorageDistribution distribution) |
| Modifier and Type | Method and Description |
|---|---|
StorageTraceabilityIterator |
getLastSavedStorageLogs(String strategyId,
LocalDateTime fromDate)
Get the files of the last storage backup since the last traceability (fromDate) as a StorageTraceabilityIterator
|
String |
getLastTraceability(String strategyId)
Get the last storage traceability zip fileName
|
javax.ws.rs.core.Response |
getObject(String strategyId,
String objectId,
DataCategory category)
Only direct call to @StorageDistribution.getContainerByCategory
|
public TraceabilityStorageService(StorageDistribution distribution)
public StorageTraceabilityIterator getLastSavedStorageLogs(String strategyId, LocalDateTime fromDate) throws StorageException
strategyId - The storage strategy IDfromDate - the limit date to get backup filesStorageException - if some error technical problem while call StorageDistributionpublic String getLastTraceability(String strategyId) throws StorageException
strategyId - The storage strategy IDStorageException - if some error technical problem while call StorageDistributionpublic javax.ws.rs.core.Response getObject(String strategyId, String objectId, DataCategory category) throws StorageException
strategyId - strategyIDobjectId - file id or namecategory - storage category of the fileStorageException - if some error technical problem while call StorageDistributionCopyright © 2018 Vitam. All rights reserved.