Class TransactionProcessor

java.lang.Object
ca.uhn.fhir.jpa.dao.BaseTransactionProcessor
ca.uhn.fhir.jpa.dao.TransactionProcessor

public class TransactionProcessor extends ca.uhn.fhir.jpa.dao.BaseTransactionProcessor
  • 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

    Fields
    Modifier and Type
    Field
    Description
    static final Pattern
     

    Fields inherited from class ca.uhn.fhir.jpa.dao.BaseTransactionProcessor

    INVALID_PLACEHOLDER_PATTERN, UNQUALIFIED_MATCH_URL_START, URN_PREFIX, URN_PREFIX_ESCAPED
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    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
     
    void
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • setEntityManagerForUnitTest

      public void setEntityManagerForUnitTest(javax.persistence.EntityManager theEntityManager)
    • validateDependencies

      protected void validateDependencies()
      Overrides:
      validateDependencies in class ca.uhn.fhir.jpa.dao.BaseTransactionProcessor
    • setFhirContextForUnitTest

      public void setFhirContextForUnitTest(ca.uhn.fhir.context.FhirContext theFhirContext)
    • 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 class ca.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 class ca.uhn.fhir.jpa.dao.BaseTransactionProcessor
    • setPartitionSettingsForUnitTest

      public void setPartitionSettingsForUnitTest(PartitionSettings thePartitionSettings)
    • setIdHelperServiceForUnitTest

      public void setIdHelperServiceForUnitTest(IdHelperService theIdHelperService)