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.voiddeleteVariableInstance(VariableInstanceEntity variable) voiddeleteVariablesByExecutionId(String executionId) voiddeleteVariablesByTaskId(String taskId) voidinsertVariableInstance(VariableInstanceEntity variable) voidinsertVariableInstanceWithValue(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
getConfigurationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.variable.service.VariableService
findVariableInstanceByScopeIdAndScopeType, findVariableInstanceBySubScopeIdAndScopeType, findVariableInstancesByExecutionId
-
Constructor Details
-
VariableServiceImpl
-
-
Method Details
-
createInternalVariableInstanceQuery
- Specified by:
createInternalVariableInstanceQueryin interfaceVariableService
-
createVariableInstance
Description copied from interface:VariableServiceCreate a variable instance with the given name and value for the given tenant.- Specified by:
createVariableInstancein interfaceVariableService- Parameters:
name- the name of the variable to create- Returns:
- the
VariableInstanceEntityto be used
-
insertVariableInstance
- Specified by:
insertVariableInstancein interfaceVariableService
-
insertVariableInstanceWithValue
public void insertVariableInstanceWithValue(VariableInstanceEntity variable, Object value, String tenantId) Description copied from interface:VariableServiceInserts a variable instance with the given value.- Specified by:
insertVariableInstanceWithValuein interfaceVariableService- Parameters:
variable- the variable instance to insertvalue- the value to settenantId- the tenant id of the variable instance
-
deleteVariableInstance
- Specified by:
deleteVariableInstancein interfaceVariableService
-
deleteVariablesByExecutionId
- Specified by:
deleteVariablesByExecutionIdin interfaceVariableService
-
deleteVariablesByTaskId
- Specified by:
deleteVariablesByTaskIdin interfaceVariableService
-
getVariableInstanceEntityManager
-