public class TransactionParameter extends Object implements IParameter
| Modifier and Type | Class and Description |
|---|---|
static class |
TransactionParameter.ParamStyle |
| Constructor and Description |
|---|
TransactionParameter(FhirContext theContext) |
| Modifier and Type | Method and Description |
|---|---|
TransactionParameter.ParamStyle |
getParamStyle() |
void |
initializeTypes(Method theMethod,
Class<? extends Collection<?>> theOuterCollectionType,
Class<? extends Collection<?>> theInnerCollectionType,
Class<?> theParameterType) |
void |
translateClientArgumentIntoQueryArgument(FhirContext theContext,
Object theSourceClientArgument,
Map<String,List<String>> theTargetQueryArguments,
IBaseResource theTargetResource) |
Object |
translateQueryParametersIntoServerArgument(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding)
This server method method takes the data received by the server in an incoming request, and translates that data into a single argument for a server method invocation.
|
public TransactionParameter(FhirContext theContext)
public void initializeTypes(Method theMethod, Class<? extends Collection<?>> theOuterCollectionType, Class<? extends Collection<?>> theInnerCollectionType, Class<?> theParameterType)
initializeTypes in interface IParameterpublic void translateClientArgumentIntoQueryArgument(FhirContext theContext, Object theSourceClientArgument, Map<String,List<String>> theTargetQueryArguments, IBaseResource theTargetResource) throws InternalErrorException
translateClientArgumentIntoQueryArgument in interface IParameterInternalErrorExceptionpublic Object translateQueryParametersIntoServerArgument(RequestDetails theRequest, BaseMethodBinding<?> theMethodBinding) throws InternalErrorException, InvalidRequestException
IParametertranslateQueryParametersIntoServerArgument in interface IParametertheRequest - The incoming request objecttheMethodBinding - TODOIResourceProvider method.InternalErrorExceptionInvalidRequestExceptionpublic TransactionParameter.ParamStyle getParamStyle()
Copyright © 2014–2016 University Health Network. All rights reserved.