Class VariableServiceImpl
java.lang.Object
org.flowable.common.engine.impl.service.CommonServiceImpl<VariableServiceConfiguration>
org.flowable.variable.service.impl.VariableServiceImpl
- All Implemented Interfaces:
VariableService
public class VariableServiceImpl
extends CommonServiceImpl<VariableServiceConfiguration>
implements VariableService
- Author:
- Tom Baeyens, Joram Barrez
-
Field Summary
Fields inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
configuration
-
Constructor Summary
ConstructorsConstructorDescriptionVariableServiceImpl
(VariableServiceConfiguration variableServiceConfiguration) -
Method Summary
Modifier and TypeMethodDescriptioncreateVariableInstance
(String name) Create a variable instance with the given name and value for the given tenant.void
deleteVariableInstance
(VariableInstanceEntity variable) void
deleteVariablesByExecutionId
(String executionId) void
deleteVariablesByTaskId
(String taskId) void
insertVariableInstance
(VariableInstanceEntity variable) void
insertVariableInstanceWithValue
(VariableInstanceEntity variable, Object value, String tenantId) Inserts a variable instance with the given value.Methods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.flowable.variable.service.VariableService
findVariableInstanceByScopeIdAndScopeType, findVariableInstanceBySubScopeIdAndScopeType, findVariableInstancesByExecutionId
-
Constructor Details
-
VariableServiceImpl
-
-
Method Details
-
createInternalVariableInstanceQuery
- Specified by:
createInternalVariableInstanceQuery
in interfaceVariableService
-
createVariableInstance
Description copied from interface:VariableService
Create a variable instance with the given name and value for the given tenant.- Specified by:
createVariableInstance
in interfaceVariableService
- Parameters:
name
- the name of the variable to create- Returns:
- the
VariableInstanceEntity
to be used
-
insertVariableInstance
- Specified by:
insertVariableInstance
in interfaceVariableService
-
insertVariableInstanceWithValue
public void insertVariableInstanceWithValue(VariableInstanceEntity variable, Object value, String tenantId) Description copied from interface:VariableService
Inserts a variable instance with the given value.- Specified by:
insertVariableInstanceWithValue
in interfaceVariableService
- Parameters:
variable
- the variable instance to insertvalue
- the value to settenantId
- the tenant id of the variable instance
-
deleteVariableInstance
- Specified by:
deleteVariableInstance
in interfaceVariableService
-
deleteVariablesByExecutionId
- Specified by:
deleteVariablesByExecutionId
in interfaceVariableService
-
deleteVariablesByTaskId
- Specified by:
deleteVariablesByTaskId
in interfaceVariableService
-
getVariableInstanceEntityManager
-