Class FormServiceInvokerImpl
- java.lang.Object
-
- com.flowable.platform.service.form.invocation.FormServiceInvokerImpl
-
- All Implemented Interfaces:
FormServiceInvoker
public class FormServiceInvokerImpl extends Object implements FormServiceInvoker
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
FORM_FIELD_TYPE_INVOKE_SERVICE
protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
protected SecurityHelper
securityHelper
protected static String
SERVICE_MODEL_KEY
protected static String
SERVICE_MODEL_OPERATION_KEY
protected static String
SERVICE_MODEL_PERMISSION_GROUPS
protected ServiceRegistryRepositoryService
serviceRegistryRepositoryService
protected ServiceRegistryRuntimeService
serviceRegistryRuntimeService
-
Constructor Summary
Constructors Constructor Description FormServiceInvokerImpl(ServiceRegistryRuntimeService serviceRegistryRuntimeService, ServiceRegistryRepositoryService serviceRegistryRepositoryService, SecurityHelper securityHelper, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
currentUserHasAccess(Map<String,Object> extraSettings)
ServiceInvocationResultResponseResponse
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 Detail
-
SERVICE_MODEL_PERMISSION_GROUPS
protected static final String SERVICE_MODEL_PERMISSION_GROUPS
- See Also:
- Constant Field Values
-
SERVICE_MODEL_KEY
protected static final String SERVICE_MODEL_KEY
- See Also:
- Constant Field Values
-
SERVICE_MODEL_OPERATION_KEY
protected static final String SERVICE_MODEL_OPERATION_KEY
- See Also:
- Constant Field Values
-
FORM_FIELD_TYPE_INVOKE_SERVICE
protected static final String FORM_FIELD_TYPE_INVOKE_SERVICE
- See Also:
- Constant Field Values
-
serviceRegistryRuntimeService
protected final ServiceRegistryRuntimeService serviceRegistryRuntimeService
-
serviceRegistryRepositoryService
protected final ServiceRegistryRepositoryService serviceRegistryRepositoryService
-
securityHelper
protected final SecurityHelper securityHelper
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Detail
-
FormServiceInvokerImpl
public FormServiceInvokerImpl(ServiceRegistryRuntimeService serviceRegistryRuntimeService, ServiceRegistryRepositoryService serviceRegistryRepositoryService, SecurityHelper securityHelper, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
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)
-
-