Class VariableInstanceEntityManagerImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager<EntityImpl,DM>
org.flowable.common.engine.impl.persistence.entity.AbstractServiceEngineEntityManager<VariableServiceConfiguration,VariableInstanceEntity,VariableInstanceDataManager>
org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntityManagerImpl
- All Implemented Interfaces:
EntityManager<VariableInstanceEntity>
,VariableInstanceEntityManager
public class VariableInstanceEntityManagerImpl
extends AbstractServiceEngineEntityManager<VariableServiceConfiguration,VariableInstanceEntity,VariableInstanceDataManager>
implements VariableInstanceEntityManager
- Author:
- Tom Baeyens, Joram Barrez, Saeid Mirzaei
-
Field Summary
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractServiceEngineEntityManager
serviceConfiguration
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager
dataManager, engineType
-
Constructor Summary
ConstructorsConstructorDescriptionVariableInstanceEntityManagerImpl
(VariableServiceConfiguration variableServiceConfiguration, VariableInstanceDataManager variableInstanceDataManager) -
Method Summary
Modifier and TypeMethodDescriptionCreates a variable instance for the given tenant, name and value.void
delete
(VariableInstanceEntity entity, boolean fireDeleteEvent) void
deleteByScopeIdAndScopeType
(String scopeId, String scopeType) void
deleteByScopeIdAndScopeTypes
(String scopeId, Collection<String> scopeTypes) void
deleteBySubScopeIdAndScopeTypes
(String subScopeId, Collection<String> scopeTypes) void
deleteVariablesByExecutionId
(String executionId) void
deleteVariablesByTaskId
(String taskId) long
findVariableInstanceCountByNativeQuery
(Map<String, Object> parameterMap) long
findVariableInstanceCountByQueryCriteria
(VariableInstanceQueryImpl variableInstanceQuery) findVariableInstancesByNativeQuery
(Map<String, Object> parameterMap) findVariableInstancesByQueryCriteria
(VariableInstanceQueryImpl variableInstanceQuery) void
insertWithValue
(VariableInstanceEntity variable, Object value, String tenantId) Inserts a variable instance with the given value.Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractServiceEngineEntityManager
getClock, getEventDispatcher, getServiceConfiguration
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager
create, createEntityEvent, delete, delete, findById, fireEntityDeletedEvent, fireEntityInsertedEvent, fireEntityUpdatedEvent, getDataManager, insert, insert, setDataManager, update, update
-
Constructor Details
-
VariableInstanceEntityManagerImpl
public VariableInstanceEntityManagerImpl(VariableServiceConfiguration variableServiceConfiguration, VariableInstanceDataManager variableInstanceDataManager)
-
-
Method Details
-
create
Description copied from interface:VariableInstanceEntityManager
Creates a variable instance for the given tenant, name and value.- Specified by:
create
in interfaceVariableInstanceEntityManager
- Parameters:
name
- the name of the variable instance- Returns:
- the
VariableInstanceEntity
to be used
-
insertWithValue
Description copied from interface:VariableInstanceEntityManager
Inserts a variable instance with the given value.- Specified by:
insertWithValue
in interfaceVariableInstanceEntityManager
- Parameters:
variable
- the variable instance to insertvalue
- the value to settenantId
- the tenant id of the variable instance
-
createInternalVariableInstanceQuery
- Specified by:
createInternalVariableInstanceQuery
in interfaceVariableInstanceEntityManager
-
findVariableInstanceCountByQueryCriteria
public long findVariableInstanceCountByQueryCriteria(VariableInstanceQueryImpl variableInstanceQuery) - Specified by:
findVariableInstanceCountByQueryCriteria
in interfaceVariableInstanceEntityManager
-
findVariableInstancesByQueryCriteria
public List<VariableInstance> findVariableInstancesByQueryCriteria(VariableInstanceQueryImpl variableInstanceQuery) - Specified by:
findVariableInstancesByQueryCriteria
in interfaceVariableInstanceEntityManager
-
findVariableInstancesByNativeQuery
- Specified by:
findVariableInstancesByNativeQuery
in interfaceVariableInstanceEntityManager
-
findVariableInstanceCountByNativeQuery
- Specified by:
findVariableInstanceCountByNativeQuery
in interfaceVariableInstanceEntityManager
-
delete
- Specified by:
delete
in interfaceEntityManager<VariableInstanceEntity>
- Overrides:
delete
in classAbstractEntityManager<VariableInstanceEntity,
VariableInstanceDataManager>
-
deleteVariablesByTaskId
- Specified by:
deleteVariablesByTaskId
in interfaceVariableInstanceEntityManager
-
deleteVariablesByExecutionId
- Specified by:
deleteVariablesByExecutionId
in interfaceVariableInstanceEntityManager
-
deleteByScopeIdAndScopeType
- Specified by:
deleteByScopeIdAndScopeType
in interfaceVariableInstanceEntityManager
-
deleteByScopeIdAndScopeTypes
- Specified by:
deleteByScopeIdAndScopeTypes
in interfaceVariableInstanceEntityManager
-
deleteBySubScopeIdAndScopeTypes
- Specified by:
deleteBySubScopeIdAndScopeTypes
in interfaceVariableInstanceEntityManager
-