public class DefaultInboundRequestService extends java.lang.Object implements InboundRequestService
InboundRequestService| Modifier and Type | Class and Description |
|---|---|
protected static class |
DefaultInboundRequestService.InboundRequestPartsCoordinator
Receives collections of the parts, from which an
InboundRequest is created, and coordinates access to the collections
in a way that after each iteration the state contains parts (batch entry, change set entry and media) related to exactly
same InboundRequest. |
| Constructor and Description |
|---|
DefaultInboundRequestService() |
| Modifier and Type | Method and Description |
|---|---|
protected InboundRequestModel |
createInboundRequest(RequestBatchEntity batch,
ResponseChangeSetEntity changeSet,
InboundRequestMediaModel payload) |
protected ModelService |
getModelService() |
void |
register(java.util.List<RequestBatchEntity> requests,
java.util.List<ResponseChangeSetEntity> responses,
java.util.List<InboundRequestMediaModel> medias)
Collects entities contained in the incoming request and the corresponding response, turns them into
InboundRequest
and persists them. |
void |
setModelService(ModelService modelService) |
public void register(java.util.List<RequestBatchEntity> requests, java.util.List<ResponseChangeSetEntity> responses, java.util.List<InboundRequestMediaModel> medias)
InboundRequestServiceInboundRequest
and persists them.register in interface InboundRequestServicerequests - information pertaining the inbound requests extracted from the requests.responses - information pertaining the inbound requests extracted from the responses.medias - request bodies for all entities contained in a request.protected InboundRequestModel createInboundRequest(RequestBatchEntity batch, ResponseChangeSetEntity changeSet, InboundRequestMediaModel payload)
protected ModelService getModelService()
public void setModelService(ModelService modelService)
Copyright © 2018 SAP SE. All Rights Reserved.