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

    Constructors
    Constructor
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ca.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)
     
     
    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
     
    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 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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

      public void setDao(IFhirResourceDao<T> theDao)
    • 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

      public Class<? extends org.hl7.fhir.instance.model.api.IBaseResource> getResourceType()
      Specified by:
      getResourceType in interface ca.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

      public T read(jakarta.servlet.http.HttpServletRequest theRequest, org.hl7.fhir.instance.model.api.IIdType theId, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
    • create

      public ca.uhn.fhir.rest.api.MethodOutcome create(jakarta.servlet.http.HttpServletRequest theRequest, T theResource, String theConditional, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
    • delete

      public 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)
    • 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

      public 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)
    • validate

      public 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)
    • 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)