Class TransactionProcessorVersionAdapterDstu2

java.lang.Object
ca.uhn.fhir.jpa.dao.TransactionProcessorVersionAdapterDstu2
All Implemented Interfaces:
ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>

public class TransactionProcessorVersionAdapterDstu2 extends Object implements ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
  • Constructor Details

  • Method Details

    • setResponseStatus

      public void setResponseStatus(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theBundleEntry, String theStatus)
      Specified by:
      setResponseStatus in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
    • setResponseLastModified

      public void setResponseLastModified(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theBundleEntry, Date theLastModified)
      Specified by:
      setResponseLastModified in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
    • setResource

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

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

      public String getBundleType(ca.uhn.fhir.model.dstu2.resource.Bundle theRequest)
      Specified by:
      getBundleType in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
    • populateEntryWithOperationOutcome

      public void populateEntryWithOperationOutcome(ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theCaughtEx, ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry)
      Specified by:
      populateEntryWithOperationOutcome in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
    • createBundle

      public ca.uhn.fhir.model.dstu2.resource.Bundle createBundle(String theBundleType)
      Specified by:
      createBundle in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
    • getEntries

      public List<ca.uhn.fhir.model.dstu2.resource.Bundle.Entry> getEntries(ca.uhn.fhir.model.dstu2.resource.Bundle theRequest)
      Specified by:
      getEntries in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
    • addEntry

      public void addEntry(ca.uhn.fhir.model.dstu2.resource.Bundle theBundle, ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry)
      Specified by:
      addEntry in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
    • addEntry

      public ca.uhn.fhir.model.dstu2.resource.Bundle.Entry addEntry(ca.uhn.fhir.model.dstu2.resource.Bundle theBundle)
      Specified by:
      addEntry in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
    • getEntryRequestVerb

      public String getEntryRequestVerb(ca.uhn.fhir.context.FhirContext theContext, ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry)
      Specified by:
      getEntryRequestVerb in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
    • getFullUrl

      public String getFullUrl(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry)
      Specified by:
      getFullUrl in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
    • setFullUrl

      public void setFullUrl(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry, String theFullUrl)
      Specified by:
      setFullUrl in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
    • getEntryIfNoneExist

      public String getEntryIfNoneExist(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry)
      Specified by:
      getEntryIfNoneExist in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
    • getEntryRequestUrl

      public String getEntryRequestUrl(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry)
      Specified by:
      getEntryRequestUrl in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
    • setResponseLocation

      public void setResponseLocation(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry, String theResponseLocation)
      Specified by:
      setResponseLocation in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
    • setResponseETag

      public void setResponseETag(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry, String theEtag)
      Specified by:
      setResponseETag in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
    • getEntryRequestIfMatch

      public String getEntryRequestIfMatch(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry)
      Specified by:
      getEntryRequestIfMatch in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
    • getEntryRequestIfNoneExist

      public String getEntryRequestIfNoneExist(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry)
      Specified by:
      getEntryRequestIfNoneExist in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
    • getEntryRequestIfNoneMatch

      public String getEntryRequestIfNoneMatch(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry)
      Specified by:
      getEntryRequestIfNoneMatch in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
    • setResponseOutcome

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

      public void setRequestVerb(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry, String theVerb)
      Specified by:
      setRequestVerb in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
    • setRequestUrl

      public void setRequestUrl(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry, String theUrl)
      Specified by:
      setRequestUrl in interface ca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>