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 org.hl7.fhir.instance.model.api.IBaseResource> theReturnTypeFromRp,
Method theMethod,
ca.uhn.fhir.context.FhirContext theContext,
Object theProvider,
boolean theIdempotent,
String theOperationName,
Class<? extends org.hl7.fhir.instance.model.api.IBaseResource> theOperationType,
ca.uhn.fhir.rest.annotation.OperationParam[] theReturnParams,
ca.uhn.fhir.model.valueset.BundleTypeEnum theBundleType) |
|
OperationMethodBinding(Class<?> theReturnResourceType,
Class<? extends org.hl7.fhir.instance.model.api.IBaseResource> theReturnTypeFromRp,
Method theMethod,
ca.uhn.fhir.context.FhirContext theContext,
Object theProvider,
ca.uhn.fhir.rest.annotation.Operation theAnnotation) |
| Modifier and Type | Method and Description |
|---|---|
static BaseHttpClientInvocation |
createOperationInvocation(ca.uhn.fhir.context.FhirContext theContext,
String theResourceName,
String theId,
String theVersion,
String theOperationName,
org.hl7.fhir.instance.model.api.IBaseParameters theInput,
boolean theUseHttpGet) |
static BaseHttpClientInvocation |
createProcessMsgInvocation(ca.uhn.fhir.context.FhirContext theContext,
String theOperationName,
org.hl7.fhir.instance.model.api.IBaseBundle theInput,
Map<String,List<String>> urlParams) |
String |
getDescription() |
String |
getName()
Returns the name of the operation, starting with "$"
|
protected ca.uhn.fhir.model.valueset.BundleTypeEnum |
getResponseBundleType()
If the response is a bundle, this type will be placed in the root of the bundle (can be null)
|
ca.uhn.fhir.rest.api.RestOperationTypeEnum |
getRestOperationType() |
List<OperationMethodBinding.ReturnType> |
getReturnParams() |
BaseResourceReturningMethodBinding.ReturnTypeEnum |
getReturnType() |
BaseHttpClientInvocation |
invokeClient(Object[] theArgs) |
boolean |
isCanOperateAtInstanceLevel() |
boolean |
isCanOperateAtServerLevel() |
boolean |
isCanOperateAtTypeLevel() |
boolean |
isIdempotent() |
void |
setDescription(String theDescription) |
getMethodReturnType, getResourceName, invokeClient, isAddContentLocationHeader, setResourceNamebindMethod, createAppropriateParserForParsingResponse, getAllowableParamAnnotations, getContext, getIncludes, getMethod, getParameters, getProvider, isResourceInterface, isSupportsConditional, isSupportsConditionalMultiple, processNon2xxResponseAndReturnExceptionToThrow, setParameters, verifyMethodHasZeroOrOneOperationAnnotationprotected OperationMethodBinding(Class<?> theReturnResourceType, Class<? extends org.hl7.fhir.instance.model.api.IBaseResource> theReturnTypeFromRp, Method theMethod, ca.uhn.fhir.context.FhirContext theContext, Object theProvider, boolean theIdempotent, String theOperationName, Class<? extends org.hl7.fhir.instance.model.api.IBaseResource> theOperationType, ca.uhn.fhir.rest.annotation.OperationParam[] theReturnParams, ca.uhn.fhir.model.valueset.BundleTypeEnum theBundleType)
public OperationMethodBinding(Class<?> theReturnResourceType, Class<? extends org.hl7.fhir.instance.model.api.IBaseResource> theReturnTypeFromRp, Method theMethod, ca.uhn.fhir.context.FhirContext theContext, Object theProvider, ca.uhn.fhir.rest.annotation.Operation theAnnotation)
public String getDescription()
protected ca.uhn.fhir.model.valueset.BundleTypeEnum getResponseBundleType()
BaseResourceReturningMethodBindinggetResponseBundleType in class BaseResourceReturningMethodBindingpublic ca.uhn.fhir.rest.api.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 ca.uhn.fhir.rest.server.exceptions.InternalErrorException
invokeClient in class BaseMethodBinding<Object>ca.uhn.fhir.rest.server.exceptions.InternalErrorExceptionpublic boolean isCanOperateAtInstanceLevel()
public boolean isCanOperateAtServerLevel()
public boolean isCanOperateAtTypeLevel()
public boolean isIdempotent()
public void setDescription(String theDescription)
public static BaseHttpClientInvocation createOperationInvocation(ca.uhn.fhir.context.FhirContext theContext, String theResourceName, String theId, String theVersion, String theOperationName, org.hl7.fhir.instance.model.api.IBaseParameters theInput, boolean theUseHttpGet)
public static BaseHttpClientInvocation createProcessMsgInvocation(ca.uhn.fhir.context.FhirContext theContext, String theOperationName, org.hl7.fhir.instance.model.api.IBaseBundle theInput, Map<String,List<String>> urlParams)
Copyright © 2014–2019 University Health Network. All rights reserved.