Package ca.uhn.fhir.jpa.dao
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 Summary
Constructors -
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 interfaceca.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 interfaceca.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 interfaceca.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 interfaceca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
getBundleType
- Specified by:
getBundleType
in interfaceca.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 interfaceca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
createBundle
- Specified by:
createBundle
in interfaceca.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 interfaceca.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 interfaceca.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 interfaceca.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 interfaceca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
getFullUrl
- Specified by:
getFullUrl
in interfaceca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
setFullUrl
- Specified by:
setFullUrl
in interfaceca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
getEntryIfNoneExist
- Specified by:
getEntryIfNoneExist
in interfaceca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
getEntryRequestUrl
- Specified by:
getEntryRequestUrl
in interfaceca.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 interfaceca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
setResponseETag
- Specified by:
setResponseETag
in interfaceca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
getEntryRequestIfMatch
- Specified by:
getEntryRequestIfMatch
in interfaceca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
getEntryRequestIfNoneExist
- Specified by:
getEntryRequestIfNoneExist
in interfaceca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
getEntryRequestIfNoneMatch
- Specified by:
getEntryRequestIfNoneMatch
in interfaceca.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 interfaceca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
setRequestVerb
- Specified by:
setRequestVerb
in interfaceca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-
setRequestUrl
- Specified by:
setRequestUrl
in interfaceca.uhn.fhir.jpa.dao.ITransactionProcessorVersionAdapter<ca.uhn.fhir.model.dstu2.resource.Bundle,
ca.uhn.fhir.model.dstu2.resource.Bundle.Entry>
-