Class StorageService
- java.lang.Object
-
- fr.gouv.vitam.ihmrecette.appserver.StorageService
-
public class StorageService extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description StorageService(StorageConfiguration configuration)
Constructs the service with a given configuration
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestResponse<TapeReadRequestReferentialEntity>
createReadOrderRequest(java.lang.Integer tenantId, java.lang.String strategyId, java.lang.String offerId, java.lang.String objectId, DataCategory category)
VitamAsyncInputStreamResponse
download(java.lang.Integer tenantId, DataCategory dataCategory, java.lang.String strategyId, java.lang.String offerId, java.lang.String objectId)
java.util.List<OfferReference>
getOffersReferences(java.lang.String strategyId)
RequestResponse<TapeReadRequestReferentialEntity>
getReadOrderRequest(java.lang.Integer tenantId, java.lang.String strategyId, java.lang.String offerId, java.lang.String readOrderRequestIt)
-
-
-
Constructor Detail
-
StorageService
public StorageService(StorageConfiguration configuration)
Constructs the service with a given configuration- Parameters:
configuration
- configuration of storage server
-
-
Method Detail
-
createReadOrderRequest
public RequestResponse<TapeReadRequestReferentialEntity> createReadOrderRequest(java.lang.Integer tenantId, java.lang.String strategyId, java.lang.String offerId, java.lang.String objectId, DataCategory category)
-
download
public VitamAsyncInputStreamResponse download(java.lang.Integer tenantId, DataCategory dataCategory, java.lang.String strategyId, java.lang.String offerId, java.lang.String objectId) throws StorageTechnicalException, StorageDriverException, StorageNotFoundException
-
getReadOrderRequest
public RequestResponse<TapeReadRequestReferentialEntity> getReadOrderRequest(java.lang.Integer tenantId, java.lang.String strategyId, java.lang.String offerId, java.lang.String readOrderRequestIt)
-
getOffersReferences
public java.util.List<OfferReference> getOffersReferences(java.lang.String strategyId) throws StorageNotFoundException, StorageTechnicalException
-
-