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, VariableType type) Create a variable instance without setting the value on it.createVariableInstance(String name, VariableType type, Object value) voiddeleteVariableInstance(VariableInstanceEntity variable) voiddeleteVariablesByExecutionId(String executionId) voiddeleteVariablesByTaskId(String taskId) voidinsertVariableInstance(VariableInstanceEntity variable) voidupdateVariableInstance(VariableInstanceEntity variableInstance) Updates variable instance with the new valueMethods 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
- Specified by:
createVariableInstancein interfaceVariableService
-
createVariableInstance
Description copied from interface:VariableServiceCreate a variable instance without setting the value on it. IMPORTANT: If you use this method you would have to callVariableInstance.setValue(Object)for setting the value- Specified by:
createVariableInstancein interfaceVariableService- Parameters:
name- the name of the variable to createtype- the type of the created variable- Returns:
- the
VariableInstanceEntityto be used
-
insertVariableInstance
- Specified by:
insertVariableInstancein interfaceVariableService
-
updateVariableInstance
Description copied from interface:VariableServiceUpdates variable instance with the new value- Specified by:
updateVariableInstancein interfaceVariableService- Parameters:
variableInstance- to update
-
deleteVariableInstance
- Specified by:
deleteVariableInstancein interfaceVariableService
-
deleteVariablesByExecutionId
- Specified by:
deleteVariablesByExecutionIdin interfaceVariableService
-
deleteVariablesByTaskId
- Specified by:
deleteVariablesByTaskIdin interfaceVariableService
-
getVariableInstanceEntityManager
-