Class BaseJpaProvider

java.lang.Object
ca.uhn.fhir.jpa.provider.BaseJpaProvider
Direct Known Subclasses:
BaseJpaResourceProvider, BaseJpaSystemProvider, TerminologyUploaderProvider

public class BaseJpaProvider
extends Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected ca.uhn.fhir.jpa.api.config.DaoConfig myDaoConfig  
    static String REMOTE_ADDR  
    static String REMOTE_UA  
  • Constructor Summary

    Constructors
    Constructor Description
    BaseJpaProvider()  
  • Method Summary

    Modifier and Type Method Description
    protected ca.uhn.fhir.jpa.api.model.ExpungeOptions createExpungeOptions​(org.hl7.fhir.instance.model.api.IPrimitiveType<? extends Integer> theLimit, org.hl7.fhir.instance.model.api.IPrimitiveType<? extends Boolean> theExpungeDeletedResources, org.hl7.fhir.instance.model.api.IPrimitiveType<? extends Boolean> theExpungeOldVersions, org.hl7.fhir.instance.model.api.IPrimitiveType<? extends Boolean> theExpungeEverything)  
    protected org.hl7.fhir.r4.model.Parameters createExpungeResponse​(ca.uhn.fhir.jpa.api.model.ExpungeOutcome theOutcome)  
    void endRequest​(ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequest)  
    void endRequest​(javax.servlet.http.HttpServletRequest theRequest)  
    ca.uhn.fhir.context.FhirContext getContext()  
    protected ca.uhn.fhir.rest.param.DateRangeParam processSinceOrAt​(Date theSince, ca.uhn.fhir.rest.param.DateRangeParam theAt)  
    void setContext​(ca.uhn.fhir.context.FhirContext theContext)  
    void setDaoConfigForUnitTest​(ca.uhn.fhir.jpa.api.config.DaoConfig theDaoConfig)  
    void startRequest​(ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequest)  
    void startRequest​(javax.servlet.http.HttpServletRequest theRequest)  

    Methods inherited from class java.lang.Object

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

  • Constructor Details

  • Method Details

    • setDaoConfigForUnitTest

      public void setDaoConfigForUnitTest​(ca.uhn.fhir.jpa.api.config.DaoConfig theDaoConfig)
    • createExpungeOptions

      protected ca.uhn.fhir.jpa.api.model.ExpungeOptions createExpungeOptions​(org.hl7.fhir.instance.model.api.IPrimitiveType<? extends Integer> theLimit, org.hl7.fhir.instance.model.api.IPrimitiveType<? extends Boolean> theExpungeDeletedResources, org.hl7.fhir.instance.model.api.IPrimitiveType<? extends Boolean> theExpungeOldVersions, org.hl7.fhir.instance.model.api.IPrimitiveType<? extends Boolean> theExpungeEverything)
    • createExpungeResponse

      protected org.hl7.fhir.r4.model.Parameters createExpungeResponse​(ca.uhn.fhir.jpa.api.model.ExpungeOutcome theOutcome)
    • endRequest

      public void endRequest​(javax.servlet.http.HttpServletRequest theRequest)
      Parameters:
      theRequest - The servlet request
    • endRequest

      public void endRequest​(ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequest)
    • getContext

      public ca.uhn.fhir.context.FhirContext getContext()
    • setContext

      public void setContext​(ca.uhn.fhir.context.FhirContext theContext)
    • processSinceOrAt

      protected ca.uhn.fhir.rest.param.DateRangeParam processSinceOrAt​(Date theSince, ca.uhn.fhir.rest.param.DateRangeParam theAt)
    • startRequest

      public void startRequest​(javax.servlet.http.HttpServletRequest theRequest)
    • startRequest

      public void startRequest​(ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequest)