Package dev.dsf.fhir.dao.command
Class CheckReferencesCommand<R extends org.hl7.fhir.r4.model.Resource,D extends ResourceDao<R>>
java.lang.Object
dev.dsf.fhir.dao.command.AbstractCommand
dev.dsf.fhir.dao.command.AbstractCommandWithResource<R,D>
dev.dsf.fhir.dao.command.CheckReferencesCommand<R,D>
- All Implemented Interfaces:
Command
public class CheckReferencesCommand<R extends org.hl7.fhir.r4.model.Resource,D extends ResourceDao<R>>
extends AbstractCommandWithResource<R,D>
implements Command
-
Field Summary
Fields 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
ConstructorsConstructorDescriptionCheckReferencesCommand(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, R resource, org.hl7.fhir.r4.model.Bundle.HTTPVerb verb, D dao, ExceptionHandler exceptionHandler, ParameterConverter parameterConverter, ResponseGenerator responseGenerator, ReferenceExtractor referenceExtractor, ReferenceResolver referenceResolver) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(Map<String, org.hl7.fhir.r4.model.IdType> idTranslationTable, Connection connection, ValidationHelper validationHelper, SnapshotGenerator snapshotGenerator) Methods inherited from class dev.dsf.fhir.dao.command.AbstractCommandWithResource
createReferencesHelperMethods 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, getTransactionPriority, postExecute, preExecute
-
Constructor Details
-
CheckReferencesCommand
public CheckReferencesCommand(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, R resource, org.hl7.fhir.r4.model.Bundle.HTTPVerb verb, D dao, ExceptionHandler exceptionHandler, ParameterConverter parameterConverter, ResponseGenerator responseGenerator, ReferenceExtractor referenceExtractor, ReferenceResolver referenceResolver)
-
-
Method Details
-
execute
public void execute(Map<String, org.hl7.fhir.r4.model.IdType> idTranslationTable, Connection connection, ValidationHelper validationHelper, SnapshotGenerator snapshotGenerator) throws SQLException, jakarta.ws.rs.WebApplicationException- Specified by:
executein interfaceCommand- Throws:
SQLExceptionjakarta.ws.rs.WebApplicationException
-
getResourceTypeName
- Specified by:
getResourceTypeNamein interfaceCommand- Overrides:
getResourceTypeNamein classAbstractCommandWithResource<R extends org.hl7.fhir.r4.model.Resource,D extends ResourceDao<R>>
-