Class FormServiceInvokerImpl
java.lang.Object
com.flowable.platform.service.form.invocation.FormServiceInvokerImpl
- All Implemented Interfaces:
FormServiceInvoker
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected com.fasterxml.jackson.databind.ObjectMapper
protected final SecurityHelper
protected static final String
protected static final String
protected static final String
protected final ServiceRegistryRepositoryService
protected final ServiceRegistryRuntimeService
-
Constructor Summary
ConstructorDescriptionFormServiceInvokerImpl
(ServiceRegistryRuntimeService serviceRegistryRuntimeService, ServiceRegistryRepositoryService serviceRegistryRepositoryService, SecurityHelper securityHelper, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
currentUserHasAccess
(Map<String, Object> extraSettings) invoke
(FormInfo formInfo, String fieldId, VariableContainer variableContainer, Map<String, Object> serviceInvocationInput, SecurityScope securityScope) protected ServiceInvocationResultResponseResponse
performInvokeServiceDefinition
(String serviceKey, String operationKey, VariableContainer variableContainer, Map<String, Object> serviceInvocationInput, SecurityScope securityScope)
-
Field Details
-
SERVICE_MODEL_PERMISSION_GROUPS
- See Also:
-
SERVICE_MODEL_KEY
- See Also:
-
SERVICE_MODEL_OPERATION_KEY
- See Also:
-
FORM_FIELD_TYPE_INVOKE_SERVICE
- See Also:
-
serviceRegistryRuntimeService
-
serviceRegistryRepositoryService
-
securityHelper
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
FormServiceInvokerImpl
public FormServiceInvokerImpl(ServiceRegistryRuntimeService serviceRegistryRuntimeService, ServiceRegistryRepositoryService serviceRegistryRepositoryService, SecurityHelper securityHelper, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
invoke
public ServiceInvocationResultResponseResponse invoke(FormInfo formInfo, String fieldId, VariableContainer variableContainer, Map<String, Object> serviceInvocationInput, SecurityScope securityScope) - Specified by:
invoke
in interfaceFormServiceInvoker
-
performInvokeServiceDefinition
protected ServiceInvocationResultResponseResponse performInvokeServiceDefinition(String serviceKey, String operationKey, VariableContainer variableContainer, Map<String, Object> serviceInvocationInput, SecurityScope securityScope) -
currentUserHasAccess
-