Package ca.uhn.fhir.jpa.dao.r4b
Class TransactionProcessorVersionAdapterR4B
java.lang.Object
ca.uhn.fhir.jpa.dao.r4b.TransactionProcessorVersionAdapterR4B
- All Implemented Interfaces:
ITransactionProcessorVersionAdapter<org.hl7.fhir.r4b.model.Bundle,
org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent>
public class TransactionProcessorVersionAdapterR4B
extends Object
implements ITransactionProcessorVersionAdapter<org.hl7.fhir.r4b.model.Bundle,org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.r4b.model.Bundle.BundleEntryComponent
addEntry
(org.hl7.fhir.r4b.model.Bundle theBundle) void
addEntry
(org.hl7.fhir.r4b.model.Bundle theBundle, org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry) org.hl7.fhir.r4b.model.Bundle
createBundle
(String theBundleType) getBundleType
(org.hl7.fhir.r4b.model.Bundle theRequest) List
<org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent> getEntries
(org.hl7.fhir.r4b.model.Bundle theRequest) getEntryIfNoneExist
(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry) getEntryRequestIfMatch
(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry) getEntryRequestIfNoneExist
(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry) getEntryRequestIfNoneMatch
(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry) getEntryRequestUrl
(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry) getEntryRequestVerb
(ca.uhn.fhir.context.FhirContext theContext, org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry) getFullUrl
(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry) org.hl7.fhir.instance.model.api.IBaseResource
getResource
(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theBundleEntry) void
populateEntryWithOperationOutcome
(ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theCaughtEx, org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry) void
setFullUrl
(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry, String theFullUrl) void
setRequestUrl
(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry, String theUrl) void
setRequestVerb
(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry, String theVerb) void
setResource
(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theBundleEntry, org.hl7.fhir.instance.model.api.IBaseResource theResource) void
setResponseETag
(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry, String theEtag) void
setResponseLastModified
(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theBundleEntry, Date theLastModified) void
setResponseLocation
(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry, String theResponseLocation) void
setResponseOutcome
(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry, org.hl7.fhir.instance.model.api.IBaseOperationOutcome theOperationOutcome) void
setResponseStatus
(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theBundleEntry, String theStatus)
-
Constructor Details
-
TransactionProcessorVersionAdapterR4B
-
-
Method Details
-
setResponseStatus
public void setResponseStatus(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theBundleEntry, String theStatus) - Specified by:
setResponseStatus
in interfaceITransactionProcessorVersionAdapter<org.hl7.fhir.r4b.model.Bundle,
org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent>
-
setResponseLastModified
public void setResponseLastModified(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theBundleEntry, Date theLastModified) - Specified by:
setResponseLastModified
in interfaceITransactionProcessorVersionAdapter<org.hl7.fhir.r4b.model.Bundle,
org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent>
-
setResource
public void setResource(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theBundleEntry, org.hl7.fhir.instance.model.api.IBaseResource theResource) - Specified by:
setResource
in interfaceITransactionProcessorVersionAdapter<org.hl7.fhir.r4b.model.Bundle,
org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent>
-
getResource
public org.hl7.fhir.instance.model.api.IBaseResource getResource(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theBundleEntry) - Specified by:
getResource
in interfaceITransactionProcessorVersionAdapter<org.hl7.fhir.r4b.model.Bundle,
org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent>
-
getBundleType
- Specified by:
getBundleType
in interfaceITransactionProcessorVersionAdapter<org.hl7.fhir.r4b.model.Bundle,
org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent>
-
populateEntryWithOperationOutcome
public void populateEntryWithOperationOutcome(ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theCaughtEx, org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry) - Specified by:
populateEntryWithOperationOutcome
in interfaceITransactionProcessorVersionAdapter<org.hl7.fhir.r4b.model.Bundle,
org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent>
-
createBundle
- Specified by:
createBundle
in interfaceITransactionProcessorVersionAdapter<org.hl7.fhir.r4b.model.Bundle,
org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent>
-
getEntries
public List<org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent> getEntries(org.hl7.fhir.r4b.model.Bundle theRequest) - Specified by:
getEntries
in interfaceITransactionProcessorVersionAdapter<org.hl7.fhir.r4b.model.Bundle,
org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent>
-
addEntry
public void addEntry(org.hl7.fhir.r4b.model.Bundle theBundle, org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry) - Specified by:
addEntry
in interfaceITransactionProcessorVersionAdapter<org.hl7.fhir.r4b.model.Bundle,
org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent>
-
addEntry
public org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent addEntry(org.hl7.fhir.r4b.model.Bundle theBundle) - Specified by:
addEntry
in interfaceITransactionProcessorVersionAdapter<org.hl7.fhir.r4b.model.Bundle,
org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent>
-
getEntryRequestVerb
public String getEntryRequestVerb(ca.uhn.fhir.context.FhirContext theContext, org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry) - Specified by:
getEntryRequestVerb
in interfaceITransactionProcessorVersionAdapter<org.hl7.fhir.r4b.model.Bundle,
org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent>
-
getFullUrl
- Specified by:
getFullUrl
in interfaceITransactionProcessorVersionAdapter<org.hl7.fhir.r4b.model.Bundle,
org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent>
-
setFullUrl
public void setFullUrl(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry, String theFullUrl) - Specified by:
setFullUrl
in interfaceITransactionProcessorVersionAdapter<org.hl7.fhir.r4b.model.Bundle,
org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent>
-
getEntryIfNoneExist
- Specified by:
getEntryIfNoneExist
in interfaceITransactionProcessorVersionAdapter<org.hl7.fhir.r4b.model.Bundle,
org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent>
-
getEntryRequestUrl
- Specified by:
getEntryRequestUrl
in interfaceITransactionProcessorVersionAdapter<org.hl7.fhir.r4b.model.Bundle,
org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent>
-
setResponseLocation
public void setResponseLocation(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry, String theResponseLocation) - Specified by:
setResponseLocation
in interfaceITransactionProcessorVersionAdapter<org.hl7.fhir.r4b.model.Bundle,
org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent>
-
setResponseETag
public void setResponseETag(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry, String theEtag) - Specified by:
setResponseETag
in interfaceITransactionProcessorVersionAdapter<org.hl7.fhir.r4b.model.Bundle,
org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent>
-
getEntryRequestIfMatch
- Specified by:
getEntryRequestIfMatch
in interfaceITransactionProcessorVersionAdapter<org.hl7.fhir.r4b.model.Bundle,
org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent>
-
getEntryRequestIfNoneExist
public String getEntryRequestIfNoneExist(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry) - Specified by:
getEntryRequestIfNoneExist
in interfaceITransactionProcessorVersionAdapter<org.hl7.fhir.r4b.model.Bundle,
org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent>
-
getEntryRequestIfNoneMatch
public String getEntryRequestIfNoneMatch(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry) - Specified by:
getEntryRequestIfNoneMatch
in interfaceITransactionProcessorVersionAdapter<org.hl7.fhir.r4b.model.Bundle,
org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent>
-
setResponseOutcome
public void setResponseOutcome(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry, org.hl7.fhir.instance.model.api.IBaseOperationOutcome theOperationOutcome) - Specified by:
setResponseOutcome
in interfaceITransactionProcessorVersionAdapter<org.hl7.fhir.r4b.model.Bundle,
org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent>
-
setRequestVerb
public void setRequestVerb(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry, String theVerb) - Specified by:
setRequestVerb
in interfaceITransactionProcessorVersionAdapter<org.hl7.fhir.r4b.model.Bundle,
org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent>
-
setRequestUrl
public void setRequestUrl(org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent theEntry, String theUrl) - Specified by:
setRequestUrl
in interfaceITransactionProcessorVersionAdapter<org.hl7.fhir.r4b.model.Bundle,
org.hl7.fhir.r4b.model.Bundle.BundleEntryComponent>
-