public class OperationMethodBinding extends BaseResourceReturningMethodBinding
| Modifier and Type | Class and Description |
|---|---|
static class |
OperationMethodBinding.ReturnType |
BaseResourceReturningMethodBinding.MethodReturnTypeEnum, BaseResourceReturningMethodBinding.ResourceOrDstu1Bundle, BaseResourceReturningMethodBinding.ReturnTypeEnumALLOWED_PARAMS| Modifier | Constructor and Description |
|---|---|
protected |
OperationMethodBinding(Class<?> theReturnResourceType,
Class<? extends IBaseResource> theReturnTypeFromRp,
Method theMethod,
FhirContext theContext,
Object theProvider,
boolean theIdempotent,
String theOperationName,
Class<? extends IBaseResource> theOperationType,
OperationParam[] theReturnParams,
BundleTypeEnum theBundleType) |
|
OperationMethodBinding(Class<?> theReturnResourceType,
Class<? extends IBaseResource> theReturnTypeFromRp,
Method theMethod,
FhirContext theContext,
Object theProvider,
Operation theAnnotation) |
getMethodReturnType, getResourceName, invokeClient, isAddContentLocationHeader, setResourceNamebindMethod, createAppropriateParserForParsingResponse, getAllowableParamAnnotations, getContext, getIncludes, getMethod, getParameters, getProvider, isResourceInterface, isSupportsConditional, isSupportsConditionalMultiple, processNon2xxResponseAndReturnExceptionToThrow, setParameters, verifyMethodHasZeroOrOneOperationAnnotationprotected OperationMethodBinding(Class<?> theReturnResourceType, Class<? extends IBaseResource> theReturnTypeFromRp, Method theMethod, FhirContext theContext, Object theProvider, boolean theIdempotent, String theOperationName, Class<? extends IBaseResource> theOperationType, OperationParam[] theReturnParams, BundleTypeEnum theBundleType)
public OperationMethodBinding(Class<?> theReturnResourceType, Class<? extends IBaseResource> theReturnTypeFromRp, Method theMethod, FhirContext theContext, Object theProvider, Operation theAnnotation)
public String getDescription()
protected BundleTypeEnum getResponseBundleType()
BaseResourceReturningMethodBindinggetResponseBundleType in class BaseResourceReturningMethodBindingpublic RestOperationTypeEnum getRestOperationType()
getRestOperationType in class BaseMethodBinding<Object>public List<OperationMethodBinding.ReturnType> getReturnParams()
public BaseResourceReturningMethodBinding.ReturnTypeEnum getReturnType()
getReturnType in class BaseResourceReturningMethodBindingpublic BaseHttpClientInvocation invokeClient(Object[] theArgs) throws InternalErrorException
invokeClient in class BaseMethodBinding<Object>InternalErrorExceptionpublic boolean isCanOperateAtInstanceLevel()
public boolean isCanOperateAtServerLevel()
public boolean isCanOperateAtTypeLevel()
public boolean isIdempotent()
public void setDescription(String theDescription)
public static BaseHttpClientInvocation createOperationInvocation(FhirContext theContext, String theResourceName, String theId, String theOperationName, IBaseParameters theInput, boolean theUseHttpGet)
public static BaseHttpClientInvocation createProcessMsgInvocation(FhirContext theContext, String theOperationName, IBaseBundle theInput, Map<String,List<String>> urlParams)
Copyright © 2014–2018 University Health Network. All rights reserved.