Package dev.dsf.fhir.dao.command
Class BatchCommandList
java.lang.Object
dev.dsf.fhir.dao.command.BatchCommandList
- All Implemented Interfaces:
CommandList
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final DataSourceprotected final ExceptionHandlerprotected final boolean -
Constructor Summary
ConstructorsConstructorDescriptionBatchCommandList(DataSource dataSource, ExceptionHandler exceptionHandler, List<? extends Command> commands, ValidationHelper validationHelper, SnapshotGenerator snapshotGenerator, EventHandler eventHandler) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidauditLogAbbort(Command command) protected voidauditLogResult(Command command, org.hl7.fhir.r4.model.Bundle.BundleEntryComponent result) org.hl7.fhir.r4.model.Bundleexecute()protected org.hl7.fhir.r4.model.Bundle.BundleEntryComponent
-
Field Details
-
dataSource
-
exceptionHandler
-
commands
-
hasModifyingCommands
protected final boolean hasModifyingCommands
-
-
Constructor Details
-
BatchCommandList
public BatchCommandList(DataSource dataSource, ExceptionHandler exceptionHandler, List<? extends Command> commands, ValidationHelper validationHelper, SnapshotGenerator snapshotGenerator, EventHandler eventHandler)
-
-
Method Details
-
execute
public org.hl7.fhir.r4.model.Bundle execute() throws jakarta.ws.rs.WebApplicationException- Specified by:
executein interfaceCommandList- Throws:
jakarta.ws.rs.WebApplicationException
-
auditLogResult
protected void auditLogResult(Command command, org.hl7.fhir.r4.model.Bundle.BundleEntryComponent result) -
auditLogAbbort
-
toEntry
-