Package dev.dsf.fhir.dao.command
Class UpdateStructureDefinitionCommand
java.lang.Object
dev.dsf.fhir.dao.command.AbstractCommand
dev.dsf.fhir.dao.command.AbstractCommandWithResource<R,D>
dev.dsf.fhir.dao.command.UpdateCommand<org.hl7.fhir.r4.model.StructureDefinition,StructureDefinitionDao>
dev.dsf.fhir.dao.command.UpdateStructureDefinitionCommand
- All Implemented Interfaces:
Command,ModifyingCommand
public class UpdateStructureDefinitionCommand
extends UpdateCommand<org.hl7.fhir.r4.model.StructureDefinition,StructureDefinitionDao>
implements Command
-
Field Summary
Fields inherited from class dev.dsf.fhir.dao.command.UpdateCommand
eventGenerator, referenceCleaner, responseGenerator, updatedResource, validationResultFields inherited from class dev.dsf.fhir.dao.command.AbstractCommandWithResource
dao, exceptionHandler, parameterConverter, referencesHelper, resourceFields inherited from class dev.dsf.fhir.dao.command.AbstractCommand
audit, authorizationHelper, bundle, entry, identity, index, returnType, serverBaseFields inherited from interface dev.dsf.fhir.dao.command.Command
URL_UUID_PREFIX -
Constructor Summary
ConstructorsConstructorDescriptionUpdateStructureDefinitionCommand(int index, Identity identity, PreferReturnType returnType, org.hl7.fhir.r4.model.Bundle bundle, org.hl7.fhir.r4.model.Bundle.BundleEntryComponent entry, String serverBase, AuthorizationHelper authorizationHelper, org.hl7.fhir.r4.model.StructureDefinition resource, StructureDefinitionDao dao, ExceptionHandler exceptionHandler, ParameterConverter parameterConverter, ResponseGenerator responseGenerator, ReferenceExtractor referenceExtractor, ReferenceResolver referenceResolver, ReferenceCleaner referenceCleaner, EventGenerator eventGenerator, StructureDefinitionDao snapshotDao) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.hl7.fhir.r4.model.StructureDefinitioncreateWithTransactionAndId(Connection connection, org.hl7.fhir.r4.model.StructureDefinition resource, UUID uuid) voidpreExecute(Map<String, org.hl7.fhir.r4.model.IdType> idTranslationTable, Connection connection, ValidationHelper validationHelper, SnapshotGenerator snapshotGenerator) protected org.hl7.fhir.r4.model.StructureDefinitionupdateWithTransaction(Connection connection, org.hl7.fhir.r4.model.StructureDefinition resource, Long expectedVersion) Methods inherited from class dev.dsf.fhir.dao.command.UpdateCommand
execute, postExecuteMethods inherited from class dev.dsf.fhir.dao.command.AbstractCommandWithResource
createReferencesHelper, getResourceTypeNameMethods inherited from class dev.dsf.fhir.dao.command.AbstractCommand
getIdentity, getIndex, getTransactionPriorityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.dsf.fhir.dao.command.Command
execute, getIdentity, getIndex, getResourceTypeName, getTransactionPriority, postExecute
-
Constructor Details
-
UpdateStructureDefinitionCommand
public UpdateStructureDefinitionCommand(int index, Identity identity, PreferReturnType returnType, org.hl7.fhir.r4.model.Bundle bundle, org.hl7.fhir.r4.model.Bundle.BundleEntryComponent entry, String serverBase, AuthorizationHelper authorizationHelper, org.hl7.fhir.r4.model.StructureDefinition resource, StructureDefinitionDao dao, ExceptionHandler exceptionHandler, ParameterConverter parameterConverter, ResponseGenerator responseGenerator, ReferenceExtractor referenceExtractor, ReferenceResolver referenceResolver, ReferenceCleaner referenceCleaner, EventGenerator eventGenerator, StructureDefinitionDao snapshotDao)
-
-
Method Details
-
preExecute
public void preExecute(Map<String, org.hl7.fhir.r4.model.IdType> idTranslationTable, Connection connection, ValidationHelper validationHelper, SnapshotGenerator snapshotGenerator) - Specified by:
preExecutein interfaceCommand- Overrides:
preExecutein classUpdateCommand<org.hl7.fhir.r4.model.StructureDefinition,StructureDefinitionDao>
-
createWithTransactionAndId
protected org.hl7.fhir.r4.model.StructureDefinition createWithTransactionAndId(Connection connection, org.hl7.fhir.r4.model.StructureDefinition resource, UUID uuid) throws SQLException - Overrides:
createWithTransactionAndIdin classUpdateCommand<org.hl7.fhir.r4.model.StructureDefinition,StructureDefinitionDao> - Throws:
SQLException
-
updateWithTransaction
protected org.hl7.fhir.r4.model.StructureDefinition updateWithTransaction(Connection connection, org.hl7.fhir.r4.model.StructureDefinition resource, Long expectedVersion) throws SQLException, ResourceNotFoundException, ResourceVersionNoMatchException - Overrides:
updateWithTransactionin classUpdateCommand<org.hl7.fhir.r4.model.StructureDefinition,StructureDefinitionDao> - Throws:
SQLExceptionResourceNotFoundExceptionResourceVersionNoMatchException
-