Package dev.dsf.fhir.dao.command
Interface CommandFactory
- All Known Implementing Classes:
CommandFactoryImpl
public interface CommandFactory
-
Method Summary
Modifier and TypeMethodDescriptioncreateCommands(org.hl7.fhir.r4.model.Bundle bundle, Identity identity, PreferReturnType returnType, PreferHandlingType handlingType)
-
Method Details
-
createCommands
CommandList createCommands(org.hl7.fhir.r4.model.Bundle bundle, Identity identity, PreferReturnType returnType, PreferHandlingType handlingType) throws BadBundleException - Parameters:
bundle- notnullidentity- notnullreturnType- notnullhandlingType- notnull- Returns:
CommandListwith individual commands from each entry contained in the bundle- Throws:
BadBundleException- if the bundle could not be processed because of wrong bundle type or other errors
-