Class ServiceParameterUtil
java.lang.Object
com.flowable.serviceregistry.engine.impl.util.ServiceParameterUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static ServiceInputParameter
protected static ServiceOutputParameter
columnMappingToOutputParameter
(ColumnMapping mapping, Supplier<ServiceRegistryDataObjectModel> currentModelSupplier, Function<String, ServiceRegistryDataObjectModel> dataObjectModelProvider) static Object
convertJsonParameterValue
(String parameterName, com.fasterxml.jackson.databind.JsonNode value, com.fasterxml.jackson.databind.ObjectMapper objectMapper) static Object
convertParameterValue
(String parameterName, String type, Object value, com.fasterxml.jackson.databind.ObjectMapper objectMapper) static Object
convertParameterValue
(String parameterName, String type, Object value, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ExpressionManager expressionManager, VariableContainer variableContainer) protected static com.fasterxml.jackson.databind.JsonNode
convertValueToJson
(Object value, com.fasterxml.jackson.databind.ObjectMapper objectMapper) static Collection<ServiceInputParameter>
extractServiceInputParameters
(ServiceDefinitionModel model, ServiceOperation operation) static Collection<ServiceOutputParameter>
extractServiceOutputParameters
(ServiceDefinitionModel model, ServiceOperation operation, ServiceInvocationContextImpl context) static Collection<ServiceOutputParameter>
static Collection<ServiceOutputParameter>
extractServiceOutputParameters
(ServiceDefinitionModel model, Supplier<ServiceRegistryDataObjectModel> currentModelSupplier, Function<String, ServiceRegistryDataObjectModel> dataObjectModelProvider) static String
getParameterName
(ServiceParameter parameter)
-
Constructor Details
-
ServiceParameterUtil
public ServiceParameterUtil()
-
-
Method Details
-
convertParameterValue
public static Object convertParameterValue(String parameterName, String type, Object value, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ExpressionManager expressionManager, VariableContainer variableContainer) -
convertParameterValue
-
convertValueToJson
protected static com.fasterxml.jackson.databind.JsonNode convertValueToJson(Object value, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
convertJsonParameterValue
-
extractServiceInputParameters
public static Collection<ServiceInputParameter> extractServiceInputParameters(ServiceDefinitionModel model, ServiceOperation operation) -
extractServiceOutputParameters
public static Collection<ServiceOutputParameter> extractServiceOutputParameters(ServiceDefinitionModel model, ServiceOperation operation, ServiceInvocationContextImpl context) -
extractServiceOutputParameters
public static Collection<ServiceOutputParameter> extractServiceOutputParameters(ServiceDefinitionModel model, ServiceInvocationContextImpl context) -
extractServiceOutputParameters
public static Collection<ServiceOutputParameter> extractServiceOutputParameters(ServiceDefinitionModel model, Supplier<ServiceRegistryDataObjectModel> currentModelSupplier, Function<String, ServiceRegistryDataObjectModel> dataObjectModelProvider) -
columnMappingToInputParameter
-
columnMappingToOutputParameter
protected static ServiceOutputParameter columnMappingToOutputParameter(ColumnMapping mapping, Supplier<ServiceRegistryDataObjectModel> currentModelSupplier, Function<String, ServiceRegistryDataObjectModel> dataObjectModelProvider) -
getParameterName
-