Interface VariableService

All Known Implementing Classes:
VariableServiceImpl

public interface VariableService
Service which provides access to variables.
Author:
Tijs Rademakers, Joram Barrez
  • Method Details

    • createInternalVariableInstanceQuery

      InternalVariableInstanceQuery createInternalVariableInstanceQuery()
    • findVariableInstancesByExecutionId

      default List<VariableInstanceEntity> findVariableInstancesByExecutionId(String executionId)
    • findVariableInstanceByScopeIdAndScopeType

      default List<VariableInstanceEntity> findVariableInstanceByScopeIdAndScopeType(String scopeId, String scopeType)
    • findVariableInstanceBySubScopeIdAndScopeType

      default List<VariableInstanceEntity> findVariableInstanceBySubScopeIdAndScopeType(String subScopeId, String scopeType)
    • createVariableInstance

      VariableInstanceEntity createVariableInstance(String name)
      Create a variable instance with the given name and value for the given tenant.
      Parameters:
      name - the name of the variable to create
      Returns:
      the VariableInstanceEntity to be used
    • insertVariableInstance

      void insertVariableInstance(VariableInstanceEntity variable)
    • insertVariableInstanceWithValue

      void insertVariableInstanceWithValue(VariableInstanceEntity variable, Object value, String tenantId)
      Inserts a variable instance with the given value.
      Parameters:
      variable - the variable instance to insert
      value - the value to set
      tenantId - the tenant id of the variable instance
    • deleteVariableInstance

      void deleteVariableInstance(VariableInstanceEntity variable)
    • deleteVariablesByExecutionId

      void deleteVariablesByExecutionId(String executionId)
    • deleteVariablesByTaskId

      void deleteVariablesByTaskId(String taskId)