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
ca.uhn.fhir.jpa.dao.BaseTransactionProcessor.RetriableBundleTask, ca.uhn.fhir.jpa.dao.BaseTransactionProcessor.TransactionSorter
-
Field Summary
FieldsFields inherited from class ca.uhn.fhir.jpa.dao.BaseTransactionProcessor
INVALID_PLACEHOLDER_PATTERN, UNQUALIFIED_MATCH_URL_START, URN_PREFIX, URN_PREFIX_ESCAPED
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ca.uhn.fhir.jpa.dao.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, ca.uhn.fhir.jpa.dao.IdSubstitutionMap theIdSubstitutions, Map<org.hl7.fhir.instance.model.api.IIdType, ca.uhn.fhir.jpa.api.model.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, ca.uhn.fhir.util.StopWatch theTransactionStopWatch) protected void
flushSession
(Map<org.hl7.fhir.instance.model.api.IIdType, ca.uhn.fhir.jpa.api.model.DaoMethodOutcome> theIdToPersistedOutcome) void
setEntityManagerForUnitTest
(javax.persistence.EntityManager theEntityManager) void
setFhirContextForUnitTest
(ca.uhn.fhir.context.FhirContext theFhirContext) void
setIdHelperServiceForUnitTest
(IdHelperService theIdHelperService) void
setPartitionSettingsForUnitTest
(PartitionSettings thePartitionSettings) protected void
Methods inherited from class ca.uhn.fhir.jpa.dao.BaseTransactionProcessor
collection, getVersionAdapter, isPlaceholder, setContext, setDao, setDaoConfig, setDaoRegistry, setHapiTransactionService, setModelConfig, setTxManager, setVersionAdapter, start, transaction
-
Field Details
-
SINGLE_PARAMETER_MATCH_URL_PATTERN
-
-
Constructor Details
-
TransactionProcessor
public TransactionProcessor()
-
-
Method Details
-
setEntityManagerForUnitTest
-
validateDependencies
- Overrides:
validateDependencies
in classca.uhn.fhir.jpa.dao.BaseTransactionProcessor
-
setFhirContextForUnitTest
-
doTransactionWriteOperations
protected ca.uhn.fhir.jpa.dao.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, ca.uhn.fhir.jpa.dao.IdSubstitutionMap theIdSubstitutions, Map<org.hl7.fhir.instance.model.api.IIdType, ca.uhn.fhir.jpa.api.model.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, ca.uhn.fhir.util.StopWatch theTransactionStopWatch) - Overrides:
doTransactionWriteOperations
in classca.uhn.fhir.jpa.dao.BaseTransactionProcessor
-
flushSession
protected void flushSession(Map<org.hl7.fhir.instance.model.api.IIdType, ca.uhn.fhir.jpa.api.model.DaoMethodOutcome> theIdToPersistedOutcome) - Specified by:
flushSession
in classca.uhn.fhir.jpa.dao.BaseTransactionProcessor
-
setPartitionSettingsForUnitTest
-
setIdHelperServiceForUnitTest
-