public class PopulateService extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONTRACT_POPULATE |
static File |
POPULATE_FILE |
static String |
TENANT |
Constructor and Description |
---|
PopulateService(MetadataRepository metadataRepository,
MasterdataRepository masterdataRepository,
LogbookRepository logbookRepository,
UnitGraph unitGraph,
int nThreads,
MetadataStorageService metadataStorageService) |
PopulateService(MetadataRepository metadataRepository,
MasterdataRepository masterdataRepository,
LogbookRepository logbookRepository,
UnitGraph unitGraph,
int nThreads,
MetadataStorageService metadataStorageService,
io.reactivex.Scheduler io) |
Modifier and Type | Method and Description |
---|---|
RequestResponse<TapeReadRequestReferentialEntity> |
createReadOrderRequest(Integer tenant,
String strategyId,
String offerId,
String objectId,
DataCategory dataCategory) |
VitamAsyncInputStreamResponse |
download(Integer tenantId,
DataCategory dataCategory,
String strategyId,
String offerId,
String objectId) |
RequestResponse<TapeReadRequestReferentialEntity> |
getReadOrderRequest(Integer tenant,
String strategyId,
String offerId,
String readOrderId) |
Collection<StorageStrategy> |
getStrategies() |
boolean |
inProgress() |
void |
populateVitam(PopulateModel populateModel) |
public static final String TENANT
public static final String CONTRACT_POPULATE
public static final File POPULATE_FILE
public PopulateService(MetadataRepository metadataRepository, MasterdataRepository masterdataRepository, LogbookRepository logbookRepository, UnitGraph unitGraph, int nThreads, MetadataStorageService metadataStorageService, io.reactivex.Scheduler io)
public PopulateService(MetadataRepository metadataRepository, MasterdataRepository masterdataRepository, LogbookRepository logbookRepository, UnitGraph unitGraph, int nThreads, MetadataStorageService metadataStorageService)
public void populateVitam(PopulateModel populateModel)
public RequestResponse<TapeReadRequestReferentialEntity> createReadOrderRequest(Integer tenant, String strategyId, String offerId, String objectId, DataCategory dataCategory)
public RequestResponse<TapeReadRequestReferentialEntity> getReadOrderRequest(Integer tenant, String strategyId, String offerId, String readOrderId)
public VitamAsyncInputStreamResponse download(Integer tenantId, DataCategory dataCategory, String strategyId, String offerId, String objectId) throws StorageTechnicalException, StorageDriverException, StorageNotFoundException
public Collection<StorageStrategy> getStrategies() throws StorageException
StorageException
public boolean inProgress()
Copyright © 2019 Vitam. All rights reserved.