Class SearchableHashMapResourceProvider<T extends org.hl7.fhir.instance.model.api.IBaseResource>

java.lang.Object
ca.uhn.fhir.rest.server.provider.HashMapResourceProvider<T>
ca.uhn.fhir.jpa.searchparam.provider.SearchableHashMapResourceProvider<T>
All Implemented Interfaces:
ca.uhn.fhir.rest.server.IResourceProvider

public class SearchableHashMapResourceProvider<T extends org.hl7.fhir.instance.model.api.IBaseResource> extends ca.uhn.fhir.rest.server.provider.HashMapResourceProvider<T>
  • Field Summary

    Fields inherited from class ca.uhn.fhir.rest.server.provider.HashMapResourceProvider

    myIdToHistory, myIdToVersionToResourceMap, mySearchCount, myTypeHistory
  • Constructor Summary

    Constructors
    Constructor
    Description
    SearchableHashMapResourceProvider(ca.uhn.fhir.context.FhirContext theFhirContext, Class<T> theResourceType, SearchParamMatcher theSearchParamMatcher)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.hl7.fhir.instance.model.api.IBaseResource>
    searchByCriteria(String theCriteria, ca.uhn.fhir.rest.api.server.RequestDetails theRequest)
     
    List<org.hl7.fhir.instance.model.api.IBaseResource>
    searchByParams(SearchParameterMap theSearchParams, ca.uhn.fhir.rest.api.server.RequestDetails theRequest)
     

    Methods inherited from class ca.uhn.fhir.rest.server.provider.HashMapResourceProvider

    clear, clearCounts, create, delete, fireInterceptorsAndFilterAsNeeded, getAllResources, getCountCreate, getCountDelete, getCountRead, getCountSearch, getCountUpdate, getFhirContext, getResourceType, getStoredResources, historyInstance, historyType, read, searchAll, searchById, store, update

    Methods inherited from class java.lang.Object

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

    • SearchableHashMapResourceProvider

      public SearchableHashMapResourceProvider(ca.uhn.fhir.context.FhirContext theFhirContext, Class<T> theResourceType, SearchParamMatcher theSearchParamMatcher)
      Constructor
      Parameters:
      theFhirContext - The FHIR context
      theResourceType - The resource type to support
  • Method Details

    • searchByCriteria

      public List<org.hl7.fhir.instance.model.api.IBaseResource> searchByCriteria(String theCriteria, ca.uhn.fhir.rest.api.server.RequestDetails theRequest)
    • searchByParams

      public List<org.hl7.fhir.instance.model.api.IBaseResource> searchByParams(SearchParameterMap theSearchParams, ca.uhn.fhir.rest.api.server.RequestDetails theRequest)