Class OffersToCopyIn
java.lang.Object
fr.gouv.vitam.storage.engine.server.distribution.impl.OffersToCopyIn
manage list ok and ko for retry storage feature
-
Constructor Summary
ConstructorDescriptionOffersToCopyIn
(List<StorageOffer> storageOffers) * create OffersToCopyIn lists -
Method Summary
Modifier and TypeMethodDescriptionvoid
changeStatus
(String offerId, javax.ws.rs.core.Response.Status status) Change the status of an offer id transferGet global result for storage distributionGet the KO offers listGet OK offers listboolean
void
koListToOkList
(String offerId) Pass offerId fro KO offers list to OK offers listvoid
setReadOrderCompleted
(boolean readOrderCompleted) void
setReadRequestID
(String readRequestID)
-
Constructor Details
-
OffersToCopyIn
* create OffersToCopyIn lists- Parameters:
storageOffers
-
-
-
Method Details
-
getOkOffers
Get OK offers list- Returns:
- the ok offers list
-
getKoOffers
Get the KO offers list- Returns:
- the KO offers list
-
getGlobalOfferResult
Get global result for storage distribution- Returns:
- the map of global transfer result
-
koListToOkList
Pass offerId fro KO offers list to OK offers list- Parameters:
offerId
- the offerId
-
changeStatus
Change the status of an offer id transfer- Parameters:
offerId
- the offerIdstatus
- the response status to set
-
getReadRequestID
-
setReadRequestID
-
setReadOrderCompleted
public void setReadOrderCompleted(boolean readOrderCompleted) -
isReadOrderCompleted
public boolean isReadOrderCompleted()
-