
Package ca.uhn.fhir.jpa.searchparam
Class MatchUrlService
java.lang.Object
ca.uhn.fhir.jpa.searchparam.MatchUrlService
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic final recordstatic class -
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionMatchUrlService(ca.uhn.fhir.context.FhirContext theFhirContext, ca.uhn.fhir.rest.server.util.ISearchParamRegistry theSearchParamRegistry) -
Method Summary
Modifier and TypeMethodDescriptiongetResourceSearch(String theUrl) getResourceSearch(String theUrl, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, MatchUrlService.Flag... theFlags) Parse a URL that contains _include or _revinclude parameters and return aResourceSearchobjectca.uhn.fhir.model.api.IQueryParameterTypenewInstanceType(String theParamType) parseAndTranslateMatchUrl(String theMatchUrl, MatchUrlService.Flag... theFlags) Parses a match URL of the form "[resourceType]?static MatchUrlService.FlagIndicates that the parser should process _include and _revinclude (by default these are not handled)translateMatchUrl(String theMatchUrl, ca.uhn.fhir.context.RuntimeResourceDefinition theResourceDefinition, MatchUrlService.Flag... theFlags) Parses a match URL of the form "[resourceType]?
-
Field Details
-
COMPATIBLE_PARAMS_NO_RES_TYPE
-
COMPATIBLE_PARAMS_GIVEN_RES_TYPE
-
-
Constructor Details
-
MatchUrlService
public MatchUrlService() -
MatchUrlService
public MatchUrlService(ca.uhn.fhir.context.FhirContext theFhirContext, ca.uhn.fhir.rest.server.util.ISearchParamRegistry theSearchParamRegistry)
-
-
Method Details
-
parseAndTranslateMatchUrl
public MatchUrlService.ResourceTypeAndSearchParameterMap parseAndTranslateMatchUrl(String theMatchUrl, MatchUrlService.Flag... theFlags) Parses a match URL of the form "[resourceType]?[params]"- Since:
- 6.8.0
-
translateMatchUrl
public SearchParameterMap translateMatchUrl(String theMatchUrl, ca.uhn.fhir.context.RuntimeResourceDefinition theResourceDefinition, MatchUrlService.Flag... theFlags) Parses a match URL of the form "[resourceType]?[params]" or "?[params]" -
newInstanceType
-
getResourceSearch
public ResourceSearch getResourceSearch(String theUrl, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, MatchUrlService.Flag... theFlags) -
getResourceSearch
-
getResourceSearchWithIncludesAndRevIncludes
Parse a URL that contains _include or _revinclude parameters and return aResourceSearchobject- Parameters:
theUrl-- Returns:
- the ResourceSearch object that can be used to create a SearchParameterMap
-
processIncludes
Indicates that the parser should process _include and _revinclude (by default these are not handled)
-