public abstract class BaseQueryParameter extends Object implements IParameter
| Constructor and Description |
|---|
BaseQueryParameter() |
| Modifier and Type | Method and Description |
|---|---|
abstract List<ca.uhn.fhir.rest.api.QualifiedParamList> |
encode(ca.uhn.fhir.context.FhirContext theContext,
Object theObject) |
abstract String |
getName() |
abstract ca.uhn.fhir.rest.api.RestSearchParameterTypeEnum |
getParamType() |
abstract boolean |
handlesMissing()
Parameter should return true if
parse(FhirContext, List) should be called even if the query string
contained no values for the given parameter |
void |
initializeTypes(Method theMethod,
Class<? extends Collection<?>> theOuterCollectionType,
Class<? extends Collection<?>> theInnerCollectionType,
Class<?> theParameterType) |
abstract boolean |
isRequired() |
abstract Object |
parse(ca.uhn.fhir.context.FhirContext theContext,
List<ca.uhn.fhir.rest.api.QualifiedParamList> theString) |
void |
translateClientArgumentIntoQueryArgument(ca.uhn.fhir.context.FhirContext theContext,
Object theSourceClientArgument,
Map<String,List<String>> theTargetQueryArguments,
org.hl7.fhir.instance.model.api.IBaseResource theTargetResource) |
public BaseQueryParameter()
public abstract List<ca.uhn.fhir.rest.api.QualifiedParamList> encode(ca.uhn.fhir.context.FhirContext theContext, Object theObject) throws ca.uhn.fhir.rest.server.exceptions.InternalErrorException
ca.uhn.fhir.rest.server.exceptions.InternalErrorExceptionpublic abstract ca.uhn.fhir.rest.api.RestSearchParameterTypeEnum getParamType()
public abstract boolean handlesMissing()
parse(FhirContext, List) should be called even if the query string
contained no values for the given parameterpublic void initializeTypes(Method theMethod, Class<? extends Collection<?>> theOuterCollectionType, Class<? extends Collection<?>> theInnerCollectionType, Class<?> theParameterType)
initializeTypes in interface IParameterpublic abstract boolean isRequired()
public abstract Object parse(ca.uhn.fhir.context.FhirContext theContext, List<ca.uhn.fhir.rest.api.QualifiedParamList> theString) throws ca.uhn.fhir.rest.server.exceptions.InternalErrorException, ca.uhn.fhir.rest.server.exceptions.InvalidRequestException
ca.uhn.fhir.rest.server.exceptions.InternalErrorExceptionca.uhn.fhir.rest.server.exceptions.InvalidRequestExceptionpublic void translateClientArgumentIntoQueryArgument(ca.uhn.fhir.context.FhirContext theContext, Object theSourceClientArgument, Map<String,List<String>> theTargetQueryArguments, org.hl7.fhir.instance.model.api.IBaseResource theTargetResource) throws ca.uhn.fhir.rest.server.exceptions.InternalErrorException
translateClientArgumentIntoQueryArgument in interface IParameterca.uhn.fhir.rest.server.exceptions.InternalErrorExceptionCopyright © 2014–2019 University Health Network. All rights reserved.