Interface ServiceInvocationBuilder
- All Known Implementing Classes:
ServiceInvocationBuilderImpl
public interface ServiceInvocationBuilder
-
Method Summary
Modifier and TypeMethodDescriptionadditionalData
(String key, Object value) additionalData
(Map<String, Object> additionalData) invoke()
To make sure everything is serializable into proper case/process variables (also important for indexing), the return type is fixed to a json representation.operationKey
(String operationKey) operationType
(String operationType) parentDeploymentId
(String parentDeploymentId) Restricts the lookup of theServiceDefinition
using theserviceKey(String)
to the given parent deployment.referenceKey
(String referenceKey) serviceData
(String key, Object value) serviceData
(Map<String, Object> serviceData) serviceDefinitionId
(String serviceDefinitionId) serviceKey
(String serviceKey) variableContainer
(VariableContainer variableContainer)
-
Method Details
-
serviceDefinitionId
-
serviceKey
-
referenceKey
-
operationKey
-
operationType
-
serviceData
-
serviceData
-
variableContainer
-
additionalData
-
additionalData
-
tenantId
-
parentDeploymentId
Restricts the lookup of theServiceDefinition
using theserviceKey(String)
to the given parent deployment. This is typically needed when the service registry is called for example from the process or case engine to invoke a service and it needs to look up the service definition in the same deployment. -
invoke
ServiceInvocationResultResponse invoke()To make sure everything is serializable into proper case/process variables (also important for indexing), the return type is fixed to a json representation. -
invokeList
List<ServiceInvocationResultResponse> invokeList() -
getServiceDefinitionId
String getServiceDefinitionId() -
getServiceKey
String getServiceKey() -
getReferenceKey
String getReferenceKey() -
getOperationKey
String getOperationKey() -
getOperationType
String getOperationType() -
getServiceData
-
getAdditionalData
-
getVariableContainer
VariableContainer getVariableContainer() -
getTenantId
String getTenantId() -
getParentDeploymentId
String getParentDeploymentId()
-