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
-
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.model.dstu2.resource.Bundle.Entry
addEntry
(ca.uhn.fhir.model.dstu2.resource.Bundle theBundle) void
addEntry
(ca.uhn.fhir.model.dstu2.resource.Bundle theBundle, ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry) ca.uhn.fhir.model.dstu2.resource.Bundle
createBundle
(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) 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.IBaseResource
getResource
(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theBundleEntry) void
populateEntryWithOperationOutcome
(ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theCaughtEx, ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry) void
setFullUrl
(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry, String theFullUrl) void
setRequestUrl
(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry, String theUrl) void
setRequestVerb
(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry, String theVerb) void
setResource
(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theBundleEntry, org.hl7.fhir.instance.model.api.IBaseResource theResource) void
setResponseETag
(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry, String theEtag) void
setResponseLastModified
(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theBundleEntry, Date theLastModified) void
setResponseLocation
(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry, String theResponseLocation) void
setResponseOutcome
(ca.uhn.fhir.model.dstu2.resource.Bundle.Entry theEntry, org.hl7.fhir.instance.model.api.IBaseOperationOutcome theOperationOutcome) void
setResponseStatus
(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:
setResponseStatus
in 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:
setResponseLastModified
in 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:
setResource
in 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:
getResource
in interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
getBundleType
- Specified by:
getBundleType
in 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:
populateEntryWithOperationOutcome
in interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
createBundle
- Specified by:
createBundle
in 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:
getEntries
in 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:
addEntry
in 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:
addEntry
in 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:
getEntryRequestVerb
in interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
getFullUrl
- Specified by:
getFullUrl
in interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
setFullUrl
- Specified by:
setFullUrl
in interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
getEntryIfNoneExist
- Specified by:
getEntryIfNoneExist
in interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
getEntryRequestUrl
- Specified by:
getEntryRequestUrl
in 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:
setResponseLocation
in interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
setResponseETag
- Specified by:
setResponseETag
in interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
getEntryRequestIfMatch
- Specified by:
getEntryRequestIfMatch
in interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
getEntryRequestIfNoneExist
- Specified by:
getEntryRequestIfNoneExist
in interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
getEntryRequestIfNoneMatch
- Specified by:
getEntryRequestIfNoneMatch
in 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:
setResponseOutcome
in interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
setRequestVerb
- Specified by:
setRequestVerb
in interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
setRequestUrl
- Specified by:
setRequestUrl
in interfaceITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-