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 HashMapResourceProvider<T>
-
Field Summary
Fields inherited from class ca.uhn.fhir.rest.server.provider.HashMapResourceProvider
myIdToHistory, myIdToVersionToResourceMap, mySearchCount, myTypeHistory
-
Constructor Summary
ConstructorDescriptionSearchableHashMapResourceProvider
(ca.uhn.fhir.context.FhirContext theFhirContext, Class<T> theResourceType, SearchParamMatcher theSearchParamMatcher) Constructor -
Method Summary
Modifier and TypeMethodDescriptionList
<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, read, searchAll, store, update
-
Constructor Details
-
SearchableHashMapResourceProvider
public SearchableHashMapResourceProvider(ca.uhn.fhir.context.FhirContext theFhirContext, Class<T> theResourceType, SearchParamMatcher theSearchParamMatcher) Constructor- Parameters:
theFhirContext
- The FHIR contexttheResourceType
- 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)
-