
Package ca.uhn.fhir.jpa.dao
Class TransactionProcessorVersionAdapterDstu2
java.lang.Object
ca.uhn.fhir.jpa.dao.TransactionProcessorVersionAdapterDstu2
- All Implemented Interfaces:
ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
public class TransactionProcessorVersionAdapterDstu2
extends Object
implements ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.model.dstu2.resource.Bundle.EntryaddEntry(ca.uhn.fhir.model.dstu2.resource.Bundle theBundle) voidaddEntry(ca.uhn.fhir.model.dstu2.resource.Bundle theBundle, ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry) ca.uhn.fhir.model.dstu2.resource.BundlecreateBundle(String theBundleType) getBundleType(ca.uhn.fhir.model.dstu2.resource.Bundle theRequest) List<ca.uhn.fhir.model.dstu2.resource.Bundle.Entry> getEntries(ca.uhn.fhir.model.dstu2.resource.Bundle theRequest) getEntryIfNoneExist(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry) Optional<org.hl7.fhir.instance.model.api.IBaseExtension<?, ?>> getEntryRequestExtensionByUrl(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry, String theUrl) getEntryRequestIfMatch(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry) getEntryRequestIfNoneExist(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry) getEntryRequestIfNoneMatch(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry) getEntryRequestUrl(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry) getEntryRequestVerb(ca.uhn.fhir.context.FhirContext theContext, ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry) getFullUrl(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry) org.hl7.fhir.instance.model.api.IBaseResourcegetResource(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theBundleEntry) voidpopulateEntryWithOperationOutcome(ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theCaughtEx, ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry) voidsetFullUrl(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry, String theFullUrl) voidsetRequestUrl(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry, String theUrl) voidsetRequestVerb(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry, String theVerb) voidsetResource(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theBundleEntry, org.hl7.fhir.instance.model.api.IBaseResource theResource) voidsetResponseETag(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry, String theEtag) voidsetResponseLastModified(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theBundleEntry, Date theLastModified) voidsetResponseLocation(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry, String theResponseLocation) voidsetResponseOutcome(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry, org.hl7.fhir.instance.model.api.IBaseOperationOutcome theOperationOutcome) voidsetResponseStatus(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theBundleEntry, String theStatus)
-
Constructor Details
-
TransactionProcessorVersionAdapterDstu2
-
-
Method Details
-
setResponseStatus
public void setResponseStatus(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theBundleEntry, String theStatus) - Specified by:
setResponseStatusin interfaceITransactionProcessorVersionAdapter<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:
setResponseLastModifiedin interfaceITransactionProcessorVersionAdapter<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:
setResourcein interfaceITransactionProcessorVersionAdapter<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:
getResourcein interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
getBundleType
- Specified by:
getBundleTypein interfaceITransactionProcessorVersionAdapter<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:
populateEntryWithOperationOutcomein interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
createBundle
- Specified by:
createBundlein interfaceITransactionProcessorVersionAdapter<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:
getEntriesin interfaceITransactionProcessorVersionAdapter<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:
addEntryin interfaceITransactionProcessorVersionAdapter<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:
addEntryin interfaceITransactionProcessorVersionAdapter<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:
getEntryRequestVerbin interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
getFullUrl
- Specified by:
getFullUrlin interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
setFullUrl
- Specified by:
setFullUrlin interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
getEntryIfNoneExist
- Specified by:
getEntryIfNoneExistin interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
getEntryRequestUrl
- Specified by:
getEntryRequestUrlin interfaceITransactionProcessorVersionAdapter<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:
setResponseLocationin interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
setResponseETag
- Specified by:
setResponseETagin interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
getEntryRequestIfMatch
- Specified by:
getEntryRequestIfMatchin interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
getEntryRequestIfNoneExist
- Specified by:
getEntryRequestIfNoneExistin interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
getEntryRequestIfNoneMatch
- Specified by:
getEntryRequestIfNoneMatchin interfaceITransactionProcessorVersionAdapter<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:
setResponseOutcomein interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
setRequestVerb
- Specified by:
setRequestVerbin interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
setRequestUrl
- Specified by:
setRequestUrlin interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
getEntryRequestExtensionByUrl
public Optional<org.hl7.fhir.instance.model.api.IBaseExtension<?,?>> getEntryRequestExtensionByUrl(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry, String theUrl) - Specified by:
getEntryRequestExtensionByUrlin interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-