Class TransactionProcessorVersionAdapterR5

  • All Implemented Interfaces:
    ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<org.hl7.fhir.r5.model.Bundle,​org.hl7.fhir.r5.model.Bundle.BundleEntryComponent>

    public class TransactionProcessorVersionAdapterR5
    extends Object
    implements ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<org.hl7.fhir.r5.model.Bundle,​org.hl7.fhir.r5.model.Bundle.BundleEntryComponent>
    • Method Detail

      • setResponseStatus

        public void setResponseStatus​(org.hl7.fhir.r5.model.Bundle.BundleEntryComponent theBundleEntry,
                                      String theStatus)
        Specified by:
        setResponseStatus in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<org.hl7.fhir.r5.model.Bundle,​org.hl7.fhir.r5.model.Bundle.BundleEntryComponent>
      • setResponseLastModified

        public void setResponseLastModified​(org.hl7.fhir.r5.model.Bundle.BundleEntryComponent theBundleEntry,
                                            Date theLastModified)
        Specified by:
        setResponseLastModified in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<org.hl7.fhir.r5.model.Bundle,​org.hl7.fhir.r5.model.Bundle.BundleEntryComponent>
      • setResource

        public void setResource​(org.hl7.fhir.r5.model.Bundle.BundleEntryComponent theBundleEntry,
                                org.hl7.fhir.instance.model.api.IBaseResource theResource)
        Specified by:
        setResource in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<org.hl7.fhir.r5.model.Bundle,​org.hl7.fhir.r5.model.Bundle.BundleEntryComponent>
      • getResource

        public org.hl7.fhir.instance.model.api.IBaseResource getResource​(org.hl7.fhir.r5.model.Bundle.BundleEntryComponent theBundleEntry)
        Specified by:
        getResource in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<org.hl7.fhir.r5.model.Bundle,​org.hl7.fhir.r5.model.Bundle.BundleEntryComponent>
      • getBundleType

        public String getBundleType​(org.hl7.fhir.r5.model.Bundle theRequest)
        Specified by:
        getBundleType in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<org.hl7.fhir.r5.model.Bundle,​org.hl7.fhir.r5.model.Bundle.BundleEntryComponent>
      • populateEntryWithOperationOutcome

        public void populateEntryWithOperationOutcome​(ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theCaughtEx,
                                                      org.hl7.fhir.r5.model.Bundle.BundleEntryComponent theEntry)
        Specified by:
        populateEntryWithOperationOutcome in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<org.hl7.fhir.r5.model.Bundle,​org.hl7.fhir.r5.model.Bundle.BundleEntryComponent>
      • createBundle

        public org.hl7.fhir.r5.model.Bundle createBundle​(String theBundleType)
        Specified by:
        createBundle in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<org.hl7.fhir.r5.model.Bundle,​org.hl7.fhir.r5.model.Bundle.BundleEntryComponent>
      • getEntries

        public List<org.hl7.fhir.r5.model.Bundle.BundleEntryComponent> getEntries​(org.hl7.fhir.r5.model.Bundle theRequest)
        Specified by:
        getEntries in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<org.hl7.fhir.r5.model.Bundle,​org.hl7.fhir.r5.model.Bundle.BundleEntryComponent>
      • addEntry

        public void addEntry​(org.hl7.fhir.r5.model.Bundle theBundle,
                             org.hl7.fhir.r5.model.Bundle.BundleEntryComponent theEntry)
        Specified by:
        addEntry in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<org.hl7.fhir.r5.model.Bundle,​org.hl7.fhir.r5.model.Bundle.BundleEntryComponent>
      • addEntry

        public org.hl7.fhir.r5.model.Bundle.BundleEntryComponent addEntry​(org.hl7.fhir.r5.model.Bundle theBundle)
        Specified by:
        addEntry in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<org.hl7.fhir.r5.model.Bundle,​org.hl7.fhir.r5.model.Bundle.BundleEntryComponent>
      • getEntryRequestVerb

        public String getEntryRequestVerb​(ca.uhn.fhir.context.FhirContext theContext,
                                          org.hl7.fhir.r5.model.Bundle.BundleEntryComponent theEntry)
        Specified by:
        getEntryRequestVerb in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<org.hl7.fhir.r5.model.Bundle,​org.hl7.fhir.r5.model.Bundle.BundleEntryComponent>
      • getFullUrl

        public String getFullUrl​(org.hl7.fhir.r5.model.Bundle.BundleEntryComponent theEntry)
        Specified by:
        getFullUrl in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<org.hl7.fhir.r5.model.Bundle,​org.hl7.fhir.r5.model.Bundle.BundleEntryComponent>
      • getEntryIfNoneExist

        public String getEntryIfNoneExist​(org.hl7.fhir.r5.model.Bundle.BundleEntryComponent theEntry)
        Specified by:
        getEntryIfNoneExist in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<org.hl7.fhir.r5.model.Bundle,​org.hl7.fhir.r5.model.Bundle.BundleEntryComponent>
      • getEntryRequestUrl

        public String getEntryRequestUrl​(org.hl7.fhir.r5.model.Bundle.BundleEntryComponent theEntry)
        Specified by:
        getEntryRequestUrl in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<org.hl7.fhir.r5.model.Bundle,​org.hl7.fhir.r5.model.Bundle.BundleEntryComponent>
      • setResponseLocation

        public void setResponseLocation​(org.hl7.fhir.r5.model.Bundle.BundleEntryComponent theEntry,
                                        String theResponseLocation)
        Specified by:
        setResponseLocation in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<org.hl7.fhir.r5.model.Bundle,​org.hl7.fhir.r5.model.Bundle.BundleEntryComponent>
      • setResponseETag

        public void setResponseETag​(org.hl7.fhir.r5.model.Bundle.BundleEntryComponent theEntry,
                                    String theEtag)
        Specified by:
        setResponseETag in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<org.hl7.fhir.r5.model.Bundle,​org.hl7.fhir.r5.model.Bundle.BundleEntryComponent>
      • getEntryRequestIfMatch

        public String getEntryRequestIfMatch​(org.hl7.fhir.r5.model.Bundle.BundleEntryComponent theEntry)
        Specified by:
        getEntryRequestIfMatch in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<org.hl7.fhir.r5.model.Bundle,​org.hl7.fhir.r5.model.Bundle.BundleEntryComponent>
      • getEntryRequestIfNoneExist

        public String getEntryRequestIfNoneExist​(org.hl7.fhir.r5.model.Bundle.BundleEntryComponent theEntry)
        Specified by:
        getEntryRequestIfNoneExist in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<org.hl7.fhir.r5.model.Bundle,​org.hl7.fhir.r5.model.Bundle.BundleEntryComponent>
      • getEntryRequestIfNoneMatch

        public String getEntryRequestIfNoneMatch​(org.hl7.fhir.r5.model.Bundle.BundleEntryComponent theEntry)
        Specified by:
        getEntryRequestIfNoneMatch in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<org.hl7.fhir.r5.model.Bundle,​org.hl7.fhir.r5.model.Bundle.BundleEntryComponent>
      • setResponseOutcome

        public void setResponseOutcome​(org.hl7.fhir.r5.model.Bundle.BundleEntryComponent theEntry,
                                       org.hl7.fhir.instance.model.api.IBaseOperationOutcome theOperationOutcome)
        Specified by:
        setResponseOutcome in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<org.hl7.fhir.r5.model.Bundle,​org.hl7.fhir.r5.model.Bundle.BundleEntryComponent>
      • setRequestVerb

        public void setRequestVerb​(org.hl7.fhir.r5.model.Bundle.BundleEntryComponent theEntry,
                                   String theVerb)
        Specified by:
        setRequestVerb in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<org.hl7.fhir.r5.model.Bundle,​org.hl7.fhir.r5.model.Bundle.BundleEntryComponent>
      • setRequestUrl

        public void setRequestUrl​(org.hl7.fhir.r5.model.Bundle.BundleEntryComponent theEntry,
                                  String theUrl)
        Specified by:
        setRequestUrl in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<org.hl7.fhir.r5.model.Bundle,​org.hl7.fhir.r5.model.Bundle.BundleEntryComponent>