Uses of Class
com.flowable.serviceregistry.engine.impl.util.ServiceInvocationVariablesContainer
Package
Description
-
Uses of ServiceInvocationVariablesContainer in com.flowable.serviceregistry.engine.impl.invoker
Modifier and TypeMethodDescriptionprotected ServiceInvocationVariablesContainer
AbstractServiceInvoker.createAndInitializeServiceInvocationVariablesContainer
(ServiceDefinitionModel serviceDefinition, ServiceOperation serviceOperation, ServiceInvocationContext context) Creates and initializes a new service invocation variables container according the input parameter definition and initializes empty parameters as well to become accessible in various invocation contexts like expressions or scripts.Modifier and TypeMethodDescriptionprotected void
AbstractServiceInvoker.completeInputParameter
(ServiceDefinitionModel serviceDefinitionModel, ServiceInputParameter inputParameter, ServiceInvocationVariablesContainer serviceInvocationVariablesContainer) Internal method to process a single input parameter by looking at its definition and checking its value and adding null values for missing input parameter values in the data map. -
Uses of ServiceInvocationVariablesContainer in com.flowable.serviceregistry.engine.impl.invoker.db
Modifier and TypeMethodDescriptionprotected Collection<String>
DbServiceInvoker.asCollectionOfStrings
(Object object, ServiceInvocationVariablesContainer variablesContainer) protected int
DbServiceInvoker.asInt
(Object object, int valueIfNull, ServiceInvocationVariablesContainer variablesContainer) protected QueryParameter
DbServiceInvoker.asQueryParameter
(QueryColumnMapping queryColumn, ServiceDefinitionModel model, ServiceRegistryDataObjectModel dataObjectModel, ServiceInvocationVariablesContainer variablesContainer, Object value) protected Collection<com.flowable.serviceregistry.engine.impl.invoker.db.WhereClauseComponent>
DbServiceInvoker.createWhereClause
(ServiceInvocationVariablesContainer variableContainer, ServiceDefinitionModel model, ServiceRegistryDataObjectModel dataObjectModel, DBServiceOperationConfig operationConfig) protected Collection<String>
DbServiceInvoker.extractAccessibleByGroups
(ServiceInvocationVariablesContainer variablesContainer, DBServiceOperationConfig operationConfig, ServiceRegistryDataObjectModel dataObjectModel) protected Object
DbServiceInvoker.extractAccessibleByObject
(ServiceInvocationVariablesContainer variablesContainer, DBServiceOperationConfig operationConfig, ServiceRegistryDataObjectModel dataObjectModel, Function<PermissionDefinition, String> parameterNameExtractor, String defaultParameterName) protected String
DbServiceInvoker.extractAccessibleByUser
(ServiceInvocationVariablesContainer variablesContainer, DBServiceOperationConfig operationConfig, ServiceRegistryDataObjectModel dataObjectModel) protected int
DbServiceInvoker.extractPagingParameter
(ServiceInvocationVariablesContainer variableContainer, DBServiceOperationConfig operationConfig, Function<SelectPaging, String> parameterMapper, String defaultParameterName, int valueIfNull) protected Collection<OrderParameter>
DbServiceInvoker.extractSortParameters
(ServiceInvocationVariablesContainer variablesContainer, ServiceDefinitionModel serviceDefinitionModel, ServiceOperation operation, DBServiceOperationConfig operationConfig, boolean lookupIdFallback) DatabaseSchemaDataObjectJdbcTemplate.insert
(ServiceInvocationVariablesContainer variableContainer, ServiceDefinitionModel serviceDefinitionModel, Map<String, List<DbColumnMapping>> insertColumnsByName, BiFunction<String, ServiceDefinitionModel, ColumnMapping> columnMappingProvider) protected int
DbServiceInvoker.performDelete
(ServiceInvocationVariablesContainer serviceInvocationVariablesContainer, ServiceDefinitionModel serviceDefinitionModel, ServiceRegistryDataObjectModel dataObjectModel, DBServiceOperationConfig operationConfig) protected DatabaseServiceInvocationResponse
DbServiceInvoker.performSearch
(ServiceInvocationVariablesContainer serviceInvocationVariablesContainer, ServiceDefinitionModel serviceDefinitionModel, ServiceRegistryDataObjectModel dataObjectModel, ServiceOperation serviceOperation, DBServiceOperationConfig operationConfig) protected int
DbServiceInvoker.performUpdate
(ServiceInvocationVariablesContainer serviceInvocationVariablesContainer, ServiceDefinitionModel serviceDefinitionModel, ServiceRegistryDataObjectModel dataObjectModel, ServiceOperation serviceOperation, DBServiceOperationConfig operationConfig) protected boolean
DatabaseSchemaDataObjectJdbcTemplate.shouldAutoGenerateId
(ServiceInvocationVariablesContainer variableContainer, String lookupIdName) int
DatabaseSchemaDataObjectJdbcTemplate.update
(ServiceInvocationVariablesContainer variablesContainer, DatabaseGenericInstanceQuery query, Map<String, List<DbColumnMapping>> updateColumnsByName, Function<String, ColumnMapping> columnMappingProvider) -
Uses of ServiceInvocationVariablesContainer in com.flowable.serviceregistry.engine.impl.invoker.rest
Modifier and TypeMethodDescriptionprotected void
RestServiceInvoker.configureRequest
(ServiceDefinitionModel serviceDefinitionModel, ServiceOperation serviceOperation, HttpRequest request, ServiceInvocationVariablesContainer variablesContainer) protected FlowableHttpClient
RestServiceInvoker.createFlowableHttpClient
(ServiceDefinitionModel serviceDefinitionModel, ServiceOperation serviceOperation, ServiceInvocationVariablesContainer variablesContainer, ServiceInvocationContext context, HttpRequest request, ServiceRegistryEngineConfiguration engineConfiguration) protected String
RestServiceInvoker.ensureUrlIsEncoded
(String url, ServiceInvocationVariablesContainer variablesContainer) RestServiceInvoker.execute
(HttpRequest request, ServiceDefinitionModel serviceDefinitionModel, ServiceOperation serviceOperation, ServiceInvocationContext context, ServiceInvocationVariablesContainer serviceDataVariablesContainer) protected String
RestServiceInvoker.getBody
(ServiceDefinitionModel serviceDefinitionModel, ServiceOperation serviceOperation, ExpressionManager expressionManager, ServiceInvocationVariablesContainer serviceInvocationVariablesContainer) RestServiceInvoker.perform
(FlowableHttpClient client, ServiceDefinitionModel serviceDefinitionModel, ServiceOperation serviceOperation, ServiceInvocationContext context, HttpRequest httpRequest, ServiceInvocationVariablesContainer variablesContainer) protected void
RestServiceInvoker.processInputParameter
(ServiceInvocationVariablesContainer serviceInvocationVariablesContainer, ExpressionManager expressionManager, com.fasterxml.jackson.databind.node.ObjectNode bodyJson, ServiceInputParameter inputParameter) protected String
RestServiceInvoker.resolveExpressionAsString
(String value, ExpressionManager expressionManager, ServiceInvocationVariablesContainer variablesContainer) protected MultiValueMap<String,
String> RestServiceInvoker.resolveHeaderExpressions
(MultiValueMap<String, String> headers, ExpressionManager expressionManager, ServiceInvocationVariablesContainer variablesContainer) protected void
RestServiceInvoker.validate
(HttpRequest request, ServiceInvocationVariablesContainer variablesContainer)