Package ca.uhn.fhir.jpa.dao
Class TransactionProcessor
java.lang.Object
ca.uhn.fhir.jpa.dao.BaseTransactionProcessor
ca.uhn.fhir.jpa.dao.TransactionProcessor
-
Nested Class Summary
Nested classes/interfaces inherited from class ca.uhn.fhir.jpa.dao.BaseTransactionProcessor
BaseTransactionProcessor.RetriableBundleTask, BaseTransactionProcessor.TransactionSorter
-
Field Summary
Fields inherited from class ca.uhn.fhir.jpa.dao.BaseTransactionProcessor
INVALID_PLACEHOLDER_PATTERN, UNQUALIFIED_MATCH_URL_START, URN_PREFIX, URN_PREFIX_ESCAPED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected EntriesToProcessMap
doTransactionWriteOperations
(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, String theActionName, ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, Set<org.hl7.fhir.instance.model.api.IIdType> theAllIds, IdSubstitutionMap theIdSubstitutions, Map<org.hl7.fhir.instance.model.api.IIdType, DaoMethodOutcome> theIdToPersistedOutcome, org.hl7.fhir.instance.model.api.IBaseBundle theResponse, IdentityHashMap<org.hl7.fhir.instance.model.api.IBase, Integer> theOriginalRequestOrder, List<org.hl7.fhir.instance.model.api.IBase> theEntries, StopWatch theTransactionStopWatch) protected void
flushSession
(Map<org.hl7.fhir.instance.model.api.IIdType, DaoMethodOutcome> theIdToPersistedOutcome) void
setApplicationContextForUnitTest
(org.springframework.context.ApplicationContext theAppCtx) void
setEntityManagerForUnitTest
(jakarta.persistence.EntityManager theEntityManager) void
setFhirContextForUnitTest
(ca.uhn.fhir.context.FhirContext theFhirContext) void
setIdHelperServiceForUnitTest
(IIdHelperService theIdHelperService) void
setStorageSettings
(StorageSettings theStorageSettings) protected void
Methods inherited from class ca.uhn.fhir.jpa.dao.BaseTransactionProcessor
collection, determineRequestPartitionIdForWriteEntries, getVersionAdapter, isPlaceholder, performIdSubstitutionsInMatchUrl, setContext, setDaoRegistry, setHapiTransactionService, setPartitionSettingsForUnitTest, setTxManager, setVersionAdapter, transaction
-
Field Details
-
SINGLE_PARAMETER_MATCH_URL_PATTERN
-
-
Constructor Details
-
TransactionProcessor
public TransactionProcessor()
-
-
Method Details
-
setEntityManagerForUnitTest
-
validateDependencies
- Overrides:
validateDependencies
in classBaseTransactionProcessor
-
setFhirContextForUnitTest
-
setStorageSettings
- Overrides:
setStorageSettings
in classBaseTransactionProcessor
-
doTransactionWriteOperations
protected EntriesToProcessMap doTransactionWriteOperations(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, String theActionName, ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, Set<org.hl7.fhir.instance.model.api.IIdType> theAllIds, IdSubstitutionMap theIdSubstitutions, Map<org.hl7.fhir.instance.model.api.IIdType, DaoMethodOutcome> theIdToPersistedOutcome, org.hl7.fhir.instance.model.api.IBaseBundle theResponse, IdentityHashMap<org.hl7.fhir.instance.model.api.IBase, Integer> theOriginalRequestOrder, List<org.hl7.fhir.instance.model.api.IBase> theEntries, StopWatch theTransactionStopWatch) - Overrides:
doTransactionWriteOperations
in classBaseTransactionProcessor
-
flushSession
protected void flushSession(Map<org.hl7.fhir.instance.model.api.IIdType, DaoMethodOutcome> theIdToPersistedOutcome) - Specified by:
flushSession
in classBaseTransactionProcessor
-
setIdHelperServiceForUnitTest
-
setApplicationContextForUnitTest
public void setApplicationContextForUnitTest(org.springframework.context.ApplicationContext theAppCtx)
-