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
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 EntriesToProcessMapdoTransactionWriteOperations(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 voidflushSession(Map<org.hl7.fhir.instance.model.api.IIdType, DaoMethodOutcome> theIdToPersistedOutcome) voidsetApplicationContextForUnitTest(org.springframework.context.ApplicationContext theAppCtx) voidsetEntityManagerForUnitTest(javax.persistence.EntityManager theEntityManager) voidsetFhirContextForUnitTest(ca.uhn.fhir.context.FhirContext theFhirContext) voidsetIdHelperServiceForUnitTest(IIdHelperService theIdHelperService) voidsetPartitionSettingsForUnitTest(PartitionSettings thePartitionSettings) voidsetStorageSettings(StorageSettings theStorageSettings) protected voidMethods inherited from class ca.uhn.fhir.jpa.dao.BaseTransactionProcessor
collection, getVersionAdapter, isPlaceholder, performIdSubstitutionsInMatchUrl, setContext, setDaoRegistry, setHapiTransactionService, setTxManager, setVersionAdapter, transaction
-
Field Details
-
SINGLE_PARAMETER_MATCH_URL_PATTERN
-
-
Constructor Details
-
TransactionProcessor
public TransactionProcessor()
-
-
Method Details
-
setEntityManagerForUnitTest
-
validateDependencies
- Overrides:
validateDependenciesin classBaseTransactionProcessor
-
setFhirContextForUnitTest
-
setStorageSettings
- Overrides:
setStorageSettingsin 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:
doTransactionWriteOperationsin classBaseTransactionProcessor
-
flushSession
protected void flushSession(Map<org.hl7.fhir.instance.model.api.IIdType, DaoMethodOutcome> theIdToPersistedOutcome) - Specified by:
flushSessionin classBaseTransactionProcessor
-
setPartitionSettingsForUnitTest
-
setIdHelperServiceForUnitTest
-
setApplicationContextForUnitTest
public void setApplicationContextForUnitTest(org.springframework.context.ApplicationContext theAppCtx)
-