Uses of Interface
com.ibm.fhir.search.context.FHIRSearchContext
-
-
Uses of FHIRSearchContext in com.ibm.fhir.persistence.context
Methods in com.ibm.fhir.persistence.context that return FHIRSearchContext Modifier and Type Method Description FHIRSearchContext
FHIRPersistenceContext. getSearchContext()
Returns the FHIRSearchContext instance associated with the current request.FHIRSearchContext
FHIRPersistenceEvent. getSearchContextImpl()
Returns the FHIRSearchContext instance currently being used by the FHIR REST API layer to process the current request.Methods in com.ibm.fhir.persistence.context with parameters of type FHIRSearchContext Modifier and Type Method Description static FHIRPersistenceContext
FHIRPersistenceContextFactory. createPersistenceContext(FHIRPersistenceEvent event, boolean includeDeleted, FHIRSearchContext searchContext)
Returns a FHIRPersistenceContext that contains a FHIRPersistenceEvent instance.static FHIRPersistenceContext
FHIRPersistenceContextFactory. createPersistenceContext(FHIRPersistenceEvent event, FHIRSearchContext searchContext)
Returns a FHIRPersistenceContext that contains a FHIRPersistenceEvent and a FHIRSearchContext. -
Uses of FHIRSearchContext in com.ibm.fhir.persistence.context.impl
Methods in com.ibm.fhir.persistence.context.impl that return FHIRSearchContext Modifier and Type Method Description FHIRSearchContext
FHIRPersistenceContextImpl. getSearchContext()
Constructors in com.ibm.fhir.persistence.context.impl with parameters of type FHIRSearchContext Constructor Description FHIRPersistenceContextImpl(FHIRPersistenceEvent pe, boolean includeDeleted, FHIRSearchContext sc)
FHIRPersistenceContextImpl(FHIRPersistenceEvent pe, FHIRSearchContext sc)
-
Uses of FHIRSearchContext in com.ibm.fhir.persistence.jdbc.util
Methods in com.ibm.fhir.persistence.jdbc.util with parameters of type FHIRSearchContext Modifier and Type Method Description Select
NewQueryBuilder. buildCountQuery(Class<?> resourceType, FHIRSearchContext searchContext)
Builds a query that returns the count of the search results that would be found by applying the search parameters contained within the passed search context.Select
NewQueryBuilder. buildIncludeQuery(Class<?> resourceType, FHIRSearchContext searchContext, InclusionParameter inclusionParm, List<Long> logicalResourceIds, String inclusionType)
Builds a query that returns included resources.Select
NewQueryBuilder. buildQuery(Class<?> resourceType, FHIRSearchContext searchContext)
Construct a FHIR search querySelect
NewQueryBuilder. buildWholeSystemDataQuery(FHIRSearchContext searchContext, Map<Integer,List<Long>> resourceTypeIdToLogicalResourceIdMap)
Builds a query that returns resource data for the specified whole-system search. -
Uses of FHIRSearchContext in com.ibm.fhir.persistence.util
Methods in com.ibm.fhir.persistence.util with parameters of type FHIRSearchContext Modifier and Type Method Description T
QueryBuilder. buildQuery(Class<?> resourceType, FHIRSearchContext searchContext)
Deprecated.Build and return query for the passed resource type and search parameters. -
Uses of FHIRSearchContext in com.ibm.fhir.search.context
Methods in com.ibm.fhir.search.context that return FHIRSearchContext Modifier and Type Method Description static FHIRSearchContext
FHIRSearchContextFactory. createSearchContext()
Returns a new instance of the FHIRSearchContext interface. -
Uses of FHIRSearchContext in com.ibm.fhir.search.context.impl
Classes in com.ibm.fhir.search.context.impl that implement FHIRSearchContext Modifier and Type Class Description class
FHIRSearchContextImpl
-
Uses of FHIRSearchContext in com.ibm.fhir.search.sort
Methods in com.ibm.fhir.search.sort with parameters of type FHIRSearchContext Modifier and Type Method Description void
Sort. checkIfUndefined(String resourceTypeName, String sortParmCode, SearchParameter sortParmProxy, FHIRSearchContext context)
Checks to see if undefined as a SearchParameter.void
Sort. checkSystemLevel(String resourceTypeName, String code, FHIRSearchContext context)
Check system level searches with DESC/ASC are ONLY with _id and _lastUpdated.void
Sort. parseSortParameter(Class<?> resourceType, FHIRSearchContext context, String sortParmValue)
Parses the _sort parameter.void
Sort. parseSortParameter(String resourceTypeName, FHIRSearchContext context, String sortParmValue)
Parses the _sort parameter. -
Uses of FHIRSearchContext in com.ibm.fhir.search.uri
Methods in com.ibm.fhir.search.uri with parameters of type FHIRSearchContext Modifier and Type Method Description UriBuilder
UriBuilder. context(FHIRSearchContext context)
adds the context inline. -
Uses of FHIRSearchContext in com.ibm.fhir.search.util
Methods in com.ibm.fhir.search.util that return FHIRSearchContext Modifier and Type Method Description static FHIRSearchContext
SearchUtil. parseCompartmentQueryParameters(String compartmentName, String compartmentLogicalId, Class<?> resourceType, Map<String,List<String>> queryParameters)
static FHIRSearchContext
SearchUtil. parseCompartmentQueryParameters(String compartmentName, String compartmentLogicalId, Class<?> resourceType, Map<String,List<String>> queryParameters, boolean lenient)
static FHIRSearchContext
SearchUtil. parseQueryParameters(Class<?> resourceType, Map<String,List<String>> queryParameters)
static FHIRSearchContext
SearchUtil. parseQueryParameters(Class<?> resourceType, Map<String,List<String>> queryParameters, boolean lenient)
static FHIRSearchContext
SearchUtil. parseReadQueryParameters(Class<?> resourceType, Map<String,List<String>> queryParameters, String interaction, boolean lenient)
Parse query parameters for read and vread.Methods in com.ibm.fhir.search.util with parameters of type FHIRSearchContext Modifier and Type Method Description static String
SearchUtil. buildSearchSelfUri(String requestUriString, FHIRSearchContext context)
Build the self link from the search parameters actually used by the serverstatic void
SearchUtil. checkInclusionIterateParameters(String resourceType, FHIRSearchContext context, boolean lenient)
Check if _include or _revinclude parameters with the :iterate modifier reference invalid resource types.static boolean
SearchUtil. isCompartmentSearch(FHIRSearchContext searchContext)
Inspect the searchContext to see if the parameters define a compartment-based search. -
Uses of FHIRSearchContext in com.ibm.fhir.server.spi.operation
Methods in com.ibm.fhir.server.spi.operation with parameters of type FHIRSearchContext Modifier and Type Method Description Map<String,Object>
FHIRResourceHelpers. buildPersistenceEventProperties(String type, String id, String version, FHIRSearchContext searchContext)
Builds a collection of properties that will be passed to the persistence interceptors. -
Uses of FHIRSearchContext in com.ibm.fhir.server.util
Methods in com.ibm.fhir.server.util with parameters of type FHIRSearchContext Modifier and Type Method Description Map<String,Object>
FHIRRestHelper. buildPersistenceEventProperties(String type, String id, String version, FHIRSearchContext searchContext)
(package private) Bundle
FHIRRestHelper. createSearchResponseBundle(List<Resource> resources, FHIRSearchContext searchContext, String type)
Creates a bundle that will hold results for a search operation.
-