Package dev.dsf.fhir.dao.command
Class CreateStructureDefinitionCommand
java.lang.Object
dev.dsf.fhir.dao.command.AbstractCommand
dev.dsf.fhir.dao.command.AbstractCommandWithResource<R,D>
dev.dsf.fhir.dao.command.CreateCommand<org.hl7.fhir.r4.model.StructureDefinition,StructureDefinitionDao>
dev.dsf.fhir.dao.command.CreateStructureDefinitionCommand
- All Implemented Interfaces:
Command,ModifyingCommand
public class CreateStructureDefinitionCommand
extends CreateCommand<org.hl7.fhir.r4.model.StructureDefinition,StructureDefinitionDao>
-
Field Summary
Fields inherited from class dev.dsf.fhir.dao.command.CreateCommand
createdResource, eventGenerator, referenceCleaner, responseGenerator, responseResult, 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
ConstructorsConstructorDescriptionCreateStructureDefinitionCommand(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) Methods inherited from class dev.dsf.fhir.dao.command.CreateCommand
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
getIdentity, getIndex, getResourceTypeName, getTransactionPriority
-
Constructor Details
-
CreateStructureDefinitionCommand
public CreateStructureDefinitionCommand(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 classCreateCommand<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 classCreateCommand<org.hl7.fhir.r4.model.StructureDefinition,StructureDefinitionDao> - Throws:
SQLException
-