Class FormServiceInvokerImpl
java.lang.Object
com.flowable.platform.service.form.invocation.FormServiceInvokerImpl
- All Implemented Interfaces:
FormServiceInvoker
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected com.fasterxml.jackson.databind.ObjectMapperprotected final SecurityHelperprotected static final Stringprotected static final Stringprotected static final Stringprotected final ServiceRegistryRepositoryServiceprotected final ServiceRegistryRuntimeService -
Constructor Summary
ConstructorsConstructorDescriptionFormServiceInvokerImpl(ServiceRegistryRuntimeService serviceRegistryRuntimeService, ServiceRegistryRepositoryService serviceRegistryRepositoryService, SecurityHelper securityHelper, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancurrentUserHasAccess(Map<String, Object> extraSettings) invoke(FormInfo formInfo, String fieldId, VariableContainer variableContainer, Map<String, Object> serviceInvocationInput, SecurityScope securityScope) protected ServiceInvocationResultResponseResponseperformInvokeServiceDefinition(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:
invokein interfaceFormServiceInvoker
-
performInvokeServiceDefinition
protected ServiceInvocationResultResponseResponse performInvokeServiceDefinition(String serviceKey, String operationKey, VariableContainer variableContainer, Map<String, Object> serviceInvocationInput, SecurityScope securityScope) -
currentUserHasAccess
-