Package ca.cdr.api.fhirgw.model
Interface IResultsAccumulator<RESPONSE>
- All Superinterfaces:
ISearchResultsAccumulator
- All Known Implementing Classes:
BundleResultsAccumulator
,OperationResponsesAccumulator
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accumulate
(List<IBaseResource> theResults, RESPONSE theResponse, String theTargetId) Accumulates a list of resources that was originally obtained from the RESPONSE and processed by interceptors if applicable.Methods inherited from interface ca.cdr.api.fhirgw.model.ISearchResultsAccumulator
addResults, getIncludeResults, getMatchedResults, getOutcomeResults, getPageableResults, getResults, getTotal, getTotalOmitted, getUncategorizedResults, removeResults, setTotalOmitted
-
Method Details
-
accumulate
Accumulates a list of resources that was originally obtained from the RESPONSE and processed by interceptors if applicable.- Parameters:
theResults
- the list of resources to accumulatetheResponse
- the original response from which a list of resources was obtained and submitted to interceptorstheTargetId
- the id of the target that returned the RESPONSE
-