Class MybatisHistoricVariableInstanceDataManager
java.lang.Object
org.flowable.common.engine.impl.db.AbstractDataManager<HistoricVariableInstanceEntity>
org.flowable.variable.service.impl.persistence.entity.data.impl.MybatisHistoricVariableInstanceDataManager
- All Implemented Interfaces:
DataManager<HistoricVariableInstanceEntity>,HistoricVariableInstanceDataManager
public class MybatisHistoricVariableInstanceDataManager
extends AbstractDataManager<HistoricVariableInstanceEntity>
implements HistoricVariableInstanceDataManager
- Author:
- Joram Barrez
-
Field Summary
FieldsFields inherited from class org.flowable.common.engine.impl.db.AbstractDataManager
MAX_ENTRIES_IN_CLAUSE -
Constructor Summary
ConstructorsConstructorDescriptionMybatisHistoricVariableInstanceDataManager(VariableServiceConfiguration variableServiceConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionvoidbulkDeleteHistoricVariableInstancesByProcessInstanceIds(Collection<String> processInstanceIds) voidbulkDeleteHistoricVariableInstancesByScopeIdsAndScopeType(Collection<String> scopeIds, String scopeType) voidcreate()voidvoidfindHistoricalVariableInstancesByScopeIdAndScopeType(String scopeId, String scopeType) findHistoricalVariableInstancesBySubScopeIdAndScopeType(String subScopeId, String scopeType) findHistoricVariableInstanceByVariableInstanceId(String variableInstanceId) longfindHistoricVariableInstanceCountByNativeQuery(Map<String, Object> parameterMap) longfindHistoricVariableInstanceCountByQueryCriteria(HistoricVariableInstanceQueryImpl historicProcessVariableQuery) findHistoricVariableInstancesByNativeQuery(Map<String, Object> parameterMap) findHistoricVariableInstancesByProcessInstanceId(String processInstanceId) findHistoricVariableInstancesByQueryCriteria(HistoricVariableInstanceQueryImpl historicProcessVariableQuery) protected IdGeneratorClass<? extends HistoricVariableInstanceEntity>voidinsert(HistoricVariableInstanceEntity entity) Methods inherited from class org.flowable.common.engine.impl.db.AbstractDataManager
bulkDelete, bulkDeleteEntities, bulkUpdateEntities, createSafeInValuesList, delete, delete, deleteCachedEntities, deleteCachedEntities, executeChangeWithInClause, findById, findByQuery, getCommandContext, getDbSqlSession, getEntity, getEntityCache, getList, getList, getList, getList, getList, getListFromCache, getListFromCache, getManagedEntitySubClasses, getSession, isEntityInserted, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.common.engine.impl.persistence.entity.data.DataManager
delete, delete, findById, update
-
Field Details
-
historicVariableInstanceByTaskIdMatcher
protected CachedEntityMatcher<HistoricVariableInstanceEntity> historicVariableInstanceByTaskIdMatcher -
historicVariableInstanceByProcInstMatcher
protected CachedEntityMatcher<HistoricVariableInstanceEntity> historicVariableInstanceByProcInstMatcher -
historicVariableInstanceByScopeIdAndScopeTypeMatcher
protected CachedEntityMatcher<HistoricVariableInstanceEntity> historicVariableInstanceByScopeIdAndScopeTypeMatcher -
historicVariableInstanceBySubScopeIdAndScopeTypeMatcher
protected CachedEntityMatcher<HistoricVariableInstanceEntity> historicVariableInstanceBySubScopeIdAndScopeTypeMatcher -
variableServiceConfiguration
-
-
Constructor Details
-
MybatisHistoricVariableInstanceDataManager
public MybatisHistoricVariableInstanceDataManager(VariableServiceConfiguration variableServiceConfiguration)
-
-
Method Details
-
getManagedEntityClass
- Specified by:
getManagedEntityClassin classAbstractDataManager<HistoricVariableInstanceEntity>
-
create
- Specified by:
createin interfaceDataManager<HistoricVariableInstanceEntity>
-
insert
- Specified by:
insertin interfaceDataManager<HistoricVariableInstanceEntity>- Overrides:
insertin classAbstractDataManager<HistoricVariableInstanceEntity>
-
findHistoricVariableInstancesByProcessInstanceId
public List<HistoricVariableInstanceEntity> findHistoricVariableInstancesByProcessInstanceId(String processInstanceId) - Specified by:
findHistoricVariableInstancesByProcessInstanceIdin interfaceHistoricVariableInstanceDataManager
-
findHistoricVariableInstancesByTaskId
- Specified by:
findHistoricVariableInstancesByTaskIdin interfaceHistoricVariableInstanceDataManager
-
findHistoricVariableInstanceCountByQueryCriteria
public long findHistoricVariableInstanceCountByQueryCriteria(HistoricVariableInstanceQueryImpl historicProcessVariableQuery) - Specified by:
findHistoricVariableInstanceCountByQueryCriteriain interfaceHistoricVariableInstanceDataManager
-
findHistoricVariableInstancesByQueryCriteria
public List<HistoricVariableInstance> findHistoricVariableInstancesByQueryCriteria(HistoricVariableInstanceQueryImpl historicProcessVariableQuery) - Specified by:
findHistoricVariableInstancesByQueryCriteriain interfaceHistoricVariableInstanceDataManager
-
findHistoricVariableInstanceByVariableInstanceId
public HistoricVariableInstanceEntity findHistoricVariableInstanceByVariableInstanceId(String variableInstanceId) - Specified by:
findHistoricVariableInstanceByVariableInstanceIdin interfaceHistoricVariableInstanceDataManager
-
findHistoricalVariableInstancesByScopeIdAndScopeType
public List<HistoricVariableInstanceEntity> findHistoricalVariableInstancesByScopeIdAndScopeType(String scopeId, String scopeType) - Specified by:
findHistoricalVariableInstancesByScopeIdAndScopeTypein interfaceHistoricVariableInstanceDataManager
-
findHistoricalVariableInstancesBySubScopeIdAndScopeType
public List<HistoricVariableInstanceEntity> findHistoricalVariableInstancesBySubScopeIdAndScopeType(String subScopeId, String scopeType) - Specified by:
findHistoricalVariableInstancesBySubScopeIdAndScopeTypein interfaceHistoricVariableInstanceDataManager
-
findHistoricVariableInstancesByNativeQuery
public List<HistoricVariableInstance> findHistoricVariableInstancesByNativeQuery(Map<String, Object> parameterMap) - Specified by:
findHistoricVariableInstancesByNativeQueryin interfaceHistoricVariableInstanceDataManager
-
findHistoricVariableInstanceCountByNativeQuery
- Specified by:
findHistoricVariableInstanceCountByNativeQueryin interfaceHistoricVariableInstanceDataManager
-
bulkDeleteHistoricVariableInstancesByProcessInstanceIds
public void bulkDeleteHistoricVariableInstancesByProcessInstanceIds(Collection<String> processInstanceIds) - Specified by:
bulkDeleteHistoricVariableInstancesByProcessInstanceIdsin interfaceHistoricVariableInstanceDataManager
-
bulkDeleteHistoricVariableInstancesByTaskIds
- Specified by:
bulkDeleteHistoricVariableInstancesByTaskIdsin interfaceHistoricVariableInstanceDataManager
-
bulkDeleteHistoricVariableInstancesByScopeIdsAndScopeType
public void bulkDeleteHistoricVariableInstancesByScopeIdsAndScopeType(Collection<String> scopeIds, String scopeType) - Specified by:
bulkDeleteHistoricVariableInstancesByScopeIdsAndScopeTypein interfaceHistoricVariableInstanceDataManager
-
deleteHistoricVariableInstancesForNonExistingProcessInstances
public void deleteHistoricVariableInstancesForNonExistingProcessInstances()- Specified by:
deleteHistoricVariableInstancesForNonExistingProcessInstancesin interfaceHistoricVariableInstanceDataManager
-
deleteHistoricVariableInstancesForNonExistingCaseInstances
public void deleteHistoricVariableInstancesForNonExistingCaseInstances()- Specified by:
deleteHistoricVariableInstancesForNonExistingCaseInstancesin interfaceHistoricVariableInstanceDataManager
-
getIdGenerator
- Specified by:
getIdGeneratorin classAbstractDataManager<HistoricVariableInstanceEntity>
-