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
serviceConfigurationFields 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.voiddelete(VariableInstanceEntity entity, boolean fireDeleteEvent) voiddeleteByScopeIdAndScopeType(String scopeId, String scopeType) voiddeleteByScopeIdAndScopeTypes(String scopeId, Collection<String> scopeTypes) voiddeleteBySubScopeIdAndScopeTypes(String subScopeId, Collection<String> scopeTypes) voiddeleteVariablesByExecutionId(String executionId) voiddeleteVariablesByTaskId(String taskId) longfindVariableInstanceCountByNativeQuery(Map<String, Object> parameterMap) longfindVariableInstanceCountByQueryCriteria(VariableInstanceQueryImpl variableInstanceQuery) findVariableInstancesByNativeQuery(Map<String, Object> parameterMap) findVariableInstancesByQueryCriteria(VariableInstanceQueryImpl variableInstanceQuery) voidinsertWithValue(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, getServiceConfigurationMethods 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:VariableInstanceEntityManagerCreates a variable instance for the given tenant, name and value.- Specified by:
createin interfaceVariableInstanceEntityManager- Parameters:
name- the name of the variable instance- Returns:
- the
VariableInstanceEntityto be used
-
insertWithValue
Description copied from interface:VariableInstanceEntityManagerInserts a variable instance with the given value.- Specified by:
insertWithValuein interfaceVariableInstanceEntityManager- Parameters:
variable- the variable instance to insertvalue- the value to settenantId- the tenant id of the variable instance
-
createInternalVariableInstanceQuery
- Specified by:
createInternalVariableInstanceQueryin interfaceVariableInstanceEntityManager
-
findVariableInstanceCountByQueryCriteria
public long findVariableInstanceCountByQueryCriteria(VariableInstanceQueryImpl variableInstanceQuery) - Specified by:
findVariableInstanceCountByQueryCriteriain interfaceVariableInstanceEntityManager
-
findVariableInstancesByQueryCriteria
public List<VariableInstance> findVariableInstancesByQueryCriteria(VariableInstanceQueryImpl variableInstanceQuery) - Specified by:
findVariableInstancesByQueryCriteriain interfaceVariableInstanceEntityManager
-
findVariableInstancesByNativeQuery
- Specified by:
findVariableInstancesByNativeQueryin interfaceVariableInstanceEntityManager
-
findVariableInstanceCountByNativeQuery
- Specified by:
findVariableInstanceCountByNativeQueryin interfaceVariableInstanceEntityManager
-
delete
- Specified by:
deletein interfaceEntityManager<VariableInstanceEntity>- Overrides:
deletein classAbstractEntityManager<VariableInstanceEntity,VariableInstanceDataManager>
-
deleteVariablesByTaskId
- Specified by:
deleteVariablesByTaskIdin interfaceVariableInstanceEntityManager
-
deleteVariablesByExecutionId
- Specified by:
deleteVariablesByExecutionIdin interfaceVariableInstanceEntityManager
-
deleteByScopeIdAndScopeType
- Specified by:
deleteByScopeIdAndScopeTypein interfaceVariableInstanceEntityManager
-
deleteByScopeIdAndScopeTypes
- Specified by:
deleteByScopeIdAndScopeTypesin interfaceVariableInstanceEntityManager
-
deleteBySubScopeIdAndScopeTypes
- Specified by:
deleteBySubScopeIdAndScopeTypesin interfaceVariableInstanceEntityManager
-