public class TraceabilityStorageService extends Object
Constructor and Description |
---|
TraceabilityStorageService(StorageDistribution distribution) |
Modifier and Type | Method and Description |
---|---|
Iterator<OfferLog> |
getLastSavedStorageLogIterator(String strategyId)
Get the files of the last storage backup since the last traceability (fromDate)
|
String |
getLastTraceabilityZip(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 Iterator<OfferLog> getLastSavedStorageLogIterator(String strategyId)
strategyId
- The storage strategy IDpublic String getLastTraceabilityZip(String strategyId)
strategyId
- The storage strategy IDpublic 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 © 2019 Vitam. All rights reserved.