Package dev.dsf.fhir.dao.command
Class AbstractCommand
java.lang.Object
dev.dsf.fhir.dao.command.AbstractCommand
- All Implemented Interfaces:
Command
- Direct Known Subclasses:
AbstractCommandWithResource,DeleteCommand,ReadCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.slf4j.Loggerprotected final AuthorizationHelperprotected final org.hl7.fhir.r4.model.Bundleprotected final org.hl7.fhir.r4.model.Bundle.BundleEntryComponentprotected final Identityprotected final intprotected final PreferReturnTypeprotected final StringFields inherited from interface dev.dsf.fhir.dao.command.Command
URL_UUID_PREFIX -
Constructor Summary
ConstructorsConstructorDescriptionAbstractCommand(int transactionPriority, 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) -
Method Summary
Methods 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, getResourceTypeName, postExecute, preExecute
-
Field Details
-
audit
protected static final org.slf4j.Logger audit -
index
protected final int index -
identity
-
returnType
-
bundle
protected final org.hl7.fhir.r4.model.Bundle bundle -
entry
protected final org.hl7.fhir.r4.model.Bundle.BundleEntryComponent entry -
serverBase
-
authorizationHelper
-
-
Constructor Details
-
AbstractCommand
public AbstractCommand(int transactionPriority, 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)
-
-
Method Details
-
getIndex
public final int getIndex() -
getTransactionPriority
public final int getTransactionPriority()- Specified by:
getTransactionPriorityin interfaceCommand
-
getIdentity
- Specified by:
getIdentityin interfaceCommand
-