Package ca.uhn.fhir.jpa.provider
Class BaseJpaResourceProvider<T extends org.hl7.fhir.instance.model.api.IBaseResource>
java.lang.Object
ca.uhn.fhir.jpa.provider.BaseJpaProvider
ca.uhn.fhir.jpa.provider.BaseJpaResourceProvider<T>
- All Implemented Interfaces:
ca.uhn.fhir.rest.server.IResourceProvider
public abstract class BaseJpaResourceProvider<T extends org.hl7.fhir.instance.model.api.IBaseResource>
extends BaseJpaProvider
implements ca.uhn.fhir.rest.server.IResourceProvider
-
Field Summary
Fields inherited from class ca.uhn.fhir.jpa.provider.BaseJpaProvider
myStorageSettings, REMOTE_ADDR, REMOTE_UA
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.rest.api.MethodOutcome
create
(jakarta.servlet.http.HttpServletRequest theRequest, T theResource, String theConditional, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) ca.uhn.fhir.rest.api.MethodOutcome
delete
(jakarta.servlet.http.HttpServletRequest theRequest, org.hl7.fhir.instance.model.api.IIdType theResource, String theConditional, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) protected org.hl7.fhir.instance.model.api.IBaseParameters
doExpunge
(org.hl7.fhir.instance.model.api.IIdType theIdParam, org.hl7.fhir.instance.model.api.IPrimitiveType<? extends Integer> theLimit, org.hl7.fhir.instance.model.api.IPrimitiveType<? extends Boolean> theExpungeDeletedResources, org.hl7.fhir.instance.model.api.IPrimitiveType<? extends Boolean> theExpungeOldVersions, org.hl7.fhir.instance.model.api.IPrimitiveType<? extends Boolean> theExpungeEverything, ca.uhn.fhir.rest.api.server.RequestDetails theRequest) org.hl7.fhir.instance.model.api.IBaseParameters
expunge
(org.hl7.fhir.instance.model.api.IIdType theIdParam, org.hl7.fhir.instance.model.api.IPrimitiveType<Integer> theLimit, org.hl7.fhir.instance.model.api.IPrimitiveType<Boolean> theExpungeDeletedResources, org.hl7.fhir.instance.model.api.IPrimitiveType<Boolean> theExpungeOldVersions, ca.uhn.fhir.rest.api.server.RequestDetails theRequest) org.hl7.fhir.instance.model.api.IBaseParameters
expunge
(org.hl7.fhir.instance.model.api.IPrimitiveType<Integer> theLimit, org.hl7.fhir.instance.model.api.IPrimitiveType<Boolean> theExpungeDeletedResources, org.hl7.fhir.instance.model.api.IPrimitiveType<Boolean> theExpungeOldVersions, ca.uhn.fhir.rest.api.server.RequestDetails theRequest) getDao()
ca.uhn.fhir.rest.api.server.IBundleProvider
getHistoryForResourceInstance
(jakarta.servlet.http.HttpServletRequest theRequest, Integer theOffset, org.hl7.fhir.instance.model.api.IIdType theId, Date theSince, ca.uhn.fhir.rest.param.DateRangeParam theAt, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) ca.uhn.fhir.rest.api.server.IBundleProvider
getHistoryForResourceType
(jakarta.servlet.http.HttpServletRequest theRequest, Integer theOffset, Date theSince, ca.uhn.fhir.rest.param.DateRangeParam theAt, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) Class
<? extends org.hl7.fhir.instance.model.api.IBaseResource> org.hl7.fhir.instance.model.api.IBaseParameters
meta
(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) org.hl7.fhir.instance.model.api.IBaseParameters
meta
(org.hl7.fhir.instance.model.api.IIdType theId, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) org.hl7.fhir.instance.model.api.IBaseParameters
metaAdd
(org.hl7.fhir.instance.model.api.IIdType theId, org.hl7.fhir.instance.model.api.IBaseMetaType theMeta, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) org.hl7.fhir.instance.model.api.IBaseParameters
metaDelete
(org.hl7.fhir.instance.model.api.IIdType theId, org.hl7.fhir.instance.model.api.IBaseMetaType theMeta, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) patch
(jakarta.servlet.http.HttpServletRequest theRequest, org.hl7.fhir.instance.model.api.IIdType theId, String theConditionalUrl, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, String theBody, ca.uhn.fhir.rest.api.PatchTypeEnum thePatchType, org.hl7.fhir.instance.model.api.IBaseParameters theRequestBody) read
(jakarta.servlet.http.HttpServletRequest theRequest, org.hl7.fhir.instance.model.api.IIdType theId, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) void
setDao
(IFhirResourceDao<T> theDao) ca.uhn.fhir.rest.api.MethodOutcome
update
(jakarta.servlet.http.HttpServletRequest theRequest, T theResource, org.hl7.fhir.instance.model.api.IIdType theId, String theConditional, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) ca.uhn.fhir.rest.api.MethodOutcome
validate
(T theResource, String theRawResource, ca.uhn.fhir.rest.api.EncodingEnum theEncoding, ca.uhn.fhir.rest.api.ValidationModeEnum theMode, String theProfile, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) ca.uhn.fhir.rest.api.MethodOutcome
validate
(T theResource, org.hl7.fhir.instance.model.api.IIdType theId, String theRawResource, ca.uhn.fhir.rest.api.EncodingEnum theEncoding, ca.uhn.fhir.rest.api.ValidationModeEnum theMode, String theProfile, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) Methods inherited from class ca.uhn.fhir.jpa.provider.BaseJpaProvider
createExpungeOptions, createExpungeResponse, endRequest, endRequest, getContext, processSinceOrAt, setContext, setStorageSettingsForUnitTest, startRequest, startRequest
-
Constructor Details
-
BaseJpaResourceProvider
public BaseJpaResourceProvider() -
BaseJpaResourceProvider
-
-
Method Details
-
doExpunge
protected org.hl7.fhir.instance.model.api.IBaseParameters doExpunge(org.hl7.fhir.instance.model.api.IIdType theIdParam, org.hl7.fhir.instance.model.api.IPrimitiveType<? extends Integer> theLimit, org.hl7.fhir.instance.model.api.IPrimitiveType<? extends Boolean> theExpungeDeletedResources, org.hl7.fhir.instance.model.api.IPrimitiveType<? extends Boolean> theExpungeOldVersions, org.hl7.fhir.instance.model.api.IPrimitiveType<? extends Boolean> theExpungeEverything, ca.uhn.fhir.rest.api.server.RequestDetails theRequest) -
getDao
-
setDao
-
getHistoryForResourceInstance
public ca.uhn.fhir.rest.api.server.IBundleProvider getHistoryForResourceInstance(jakarta.servlet.http.HttpServletRequest theRequest, Integer theOffset, org.hl7.fhir.instance.model.api.IIdType theId, Date theSince, ca.uhn.fhir.rest.param.DateRangeParam theAt, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) -
getHistoryForResourceType
public ca.uhn.fhir.rest.api.server.IBundleProvider getHistoryForResourceType(jakarta.servlet.http.HttpServletRequest theRequest, Integer theOffset, Date theSince, ca.uhn.fhir.rest.param.DateRangeParam theAt, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) -
getResourceType
- Specified by:
getResourceType
in interfaceca.uhn.fhir.rest.server.IResourceProvider
-
patch
public DaoMethodOutcome patch(jakarta.servlet.http.HttpServletRequest theRequest, org.hl7.fhir.instance.model.api.IIdType theId, String theConditionalUrl, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, String theBody, ca.uhn.fhir.rest.api.PatchTypeEnum thePatchType, org.hl7.fhir.instance.model.api.IBaseParameters theRequestBody) -
read
-
create
-
delete
-
expunge
public org.hl7.fhir.instance.model.api.IBaseParameters expunge(org.hl7.fhir.instance.model.api.IIdType theIdParam, org.hl7.fhir.instance.model.api.IPrimitiveType<Integer> theLimit, org.hl7.fhir.instance.model.api.IPrimitiveType<Boolean> theExpungeDeletedResources, org.hl7.fhir.instance.model.api.IPrimitiveType<Boolean> theExpungeOldVersions, ca.uhn.fhir.rest.api.server.RequestDetails theRequest) -
expunge
public org.hl7.fhir.instance.model.api.IBaseParameters expunge(org.hl7.fhir.instance.model.api.IPrimitiveType<Integer> theLimit, org.hl7.fhir.instance.model.api.IPrimitiveType<Boolean> theExpungeDeletedResources, org.hl7.fhir.instance.model.api.IPrimitiveType<Boolean> theExpungeOldVersions, ca.uhn.fhir.rest.api.server.RequestDetails theRequest) -
meta
public org.hl7.fhir.instance.model.api.IBaseParameters meta(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) -
meta
public org.hl7.fhir.instance.model.api.IBaseParameters meta(org.hl7.fhir.instance.model.api.IIdType theId, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) -
metaAdd
public org.hl7.fhir.instance.model.api.IBaseParameters metaAdd(org.hl7.fhir.instance.model.api.IIdType theId, org.hl7.fhir.instance.model.api.IBaseMetaType theMeta, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) -
metaDelete
public org.hl7.fhir.instance.model.api.IBaseParameters metaDelete(org.hl7.fhir.instance.model.api.IIdType theId, org.hl7.fhir.instance.model.api.IBaseMetaType theMeta, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) -
update
-
validate
-
validate
public ca.uhn.fhir.rest.api.MethodOutcome validate(T theResource, org.hl7.fhir.instance.model.api.IIdType theId, String theRawResource, ca.uhn.fhir.rest.api.EncodingEnum theEncoding, ca.uhn.fhir.rest.api.ValidationModeEnum theMode, String theProfile, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
-