Class HistoricDecisionInstanceManager
java.lang.Object
org.camunda.bpm.engine.impl.persistence.AbstractManager
org.camunda.bpm.engine.impl.persistence.AbstractHistoricManager
org.camunda.bpm.engine.impl.history.event.HistoricDecisionInstanceManager
- All Implemented Interfaces:
Session
Data base operations for
HistoricDecisionInstanceEntity
.- Author:
- Philipp Ossler
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.impl.persistence.AbstractHistoricManager
historyLevel, isHistoryEnabled, isHistoryLevelFullEnabled, LOG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addRemovalTimeToDecisionsByDecisionInstanceId
(String instanceId, Date removalTime) void
addRemovalTimeToDecisionsByProcessInstanceId
(String processInstanceId, Date removalTime) Map<Class<? extends DbEntity>,
DbOperation> addRemovalTimeToDecisionsByProcessInstanceId
(String processInstanceId, Date removalTime, Integer batchSize, Set<String> entities) void
addRemovalTimeToDecisionsByRootDecisionInstanceId
(String rootInstanceId, Date removalTime) void
addRemovalTimeToDecisionsByRootProcessInstanceId
(String rootProcessInstanceId, Date removalTime) Map<Class<? extends DbEntity>,
DbOperation> addRemovalTimeToDecisionsByRootProcessInstanceId
(String rootProcessInstanceId, Date removalTime, Integer batchSize, Set<String> entities) protected void
appendHistoricDecisionInputInstances
(Map<String, HistoricDecisionInstanceEntity> decisionInstancesById, HistoricDecisionInstanceQueryImpl query) protected void
appendHistoricDecisionOutputInstances
(Map<String, HistoricDecisionInstanceEntity> decisionInstancesById, HistoricDecisionInstanceQueryImpl query) protected ListQueryParameterObject
configureParameterizedQuery
(Object parameter) protected void
void
deleteHistoricDecisionInstanceByIds
(List<String> decisionInstanceIds) void
deleteHistoricDecisionInstancesByDecisionDefinitionId
(String decisionDefinitionId) Map<Class<? extends DbEntity>,
DbOperation> deleteHistoricDecisionsByRemovalTime
(Date removalTime, int minuteFrom, int minuteTo, int batchSize) void
enrichHistoricDecisionsWithInputsAndOutputs
(HistoricDecisionInstanceQueryImpl query, List<HistoricDecisionInstance> decisionInstances) protected void
fetchVariableValue
(HistoricDecisionInputInstanceEntity decisionInputInstance, boolean isCustomObjectDeserializationEnabled) protected void
fetchVariableValue
(HistoricDecisionOutputInstanceEntity decisionOutputInstance, boolean isCustomObjectDeserializationEnabled) findCleanableHistoricDecisionInstancesReportByCriteria
(CleanableHistoricDecisionInstanceReportImpl query, Page page) long
findCleanableHistoricDecisionInstancesReportCountByCriteria
(CleanableHistoricDecisionInstanceReportImpl query) protected List<HistoricDecisionInputInstanceEntity>
findHistoricDecisionInputInstancesByDecisionInstanceIds
(Set<String> historicDecisionInstanceKeys) findHistoricDecisionInstance
(String historicDecisionInstanceId) long
findHistoricDecisionInstanceCountByNativeQuery
(Map<String, Object> parameterMap) long
findHistoricDecisionInstanceDeploymentIdMappingsByQueryCriteria
(HistoricDecisionInstanceQueryImpl query) findHistoricDecisionInstanceIdsForCleanup
(Integer batchSize, int minuteFrom, int minuteTo) protected List<HistoricDecisionInstanceEntity>
findHistoricDecisionInstancesByDecisionDefinitionId
(String decisionDefinitionId) findHistoricDecisionInstancesByNativeQuery
(Map<String, Object> parameterMap, int firstResult, int maxResults) protected List<HistoricDecisionOutputInstanceEntity>
findHistoricDecisionOutputInstancesByDecisionInstanceIds
(Set<String> decisionInstanceKeys) protected void
initializeInputInstances
(Collection<HistoricDecisionInstanceEntity> decisionInstances) protected void
initializeOutputInstances
(Collection<HistoricDecisionInstanceEntity> decisionInstances) protected void
insertHistoricDecisionInputInstances
(List<HistoricDecisionInputInstance> inputs, String decisionInstanceId) protected void
insertHistoricDecisionInstance
(HistoricDecisionInstanceEntity historicDecisionInstance) void
protected void
insertHistoricDecisionOutputInstances
(List<HistoricDecisionOutputInstance> outputs, String decisionInstanceId) protected boolean
isBinaryValue
(HistoricDecisionInputInstance decisionInputInstance) protected boolean
isBinaryValue
(HistoricDecisionOutputInstance decisionOutputInstance) Methods inherited from class org.camunda.bpm.engine.impl.persistence.AbstractHistoricManager
addOperation, addOperation, checkHistoryEnabled, isHistoryEnabled, isHistoryLevelFullEnabled, isPerformUpdate, isPerformUpdateOnly
Methods inherited from class org.camunda.bpm.engine.impl.persistence.AbstractManager
checkAuthorization, close, configureQuery, delete, deleteAuthorizations, deleteAuthorizationsForGroup, deleteAuthorizationsForUser, deleteDefaultAuthorizations, flush, getAttachmentManager, getAuthorizationManager, getBatchManager, getByteArrayManager, getCamundaFormDefinitionManager, getCaseDefinitionManager, getCaseExecutionManager, getCaseInstanceManager, getCommandContext, getCurrentAuthentication, getDbEntityManager, getDbSqlSession, getDecisionDefinitionManager, getDecisionRequirementsDefinitionManager, getDeploymentManager, getEventSubscriptionManager, getHistoricActivityInstanceManager, getHistoricBatchManager, getHistoricCaseActivityInstanceManager, getHistoricCaseInstanceManager, getHistoricDecisionInstanceManager, getHistoricDetailManager, getHistoricExternalTaskLogManager, getHistoricIdentityLinkManager, getHistoricIncidentManager, getHistoricJobLogManager, getHistoricProcessInstanceManager, getHistoricReportManager, getHistoricTaskInstanceManager, getHistoricVariableInstanceManager, getIdentityInfoManager, getIdentityLinkManager, getJobDefinitionManager, getJobManager, getProcessDefinitionManager, getProcessInstanceManager, getResourceAuthorizationProvider, getResourceManager, getSession, getTaskManager, getTaskReportManager, getTenantManager, getUserOperationLogManager, getVariableInstanceManager, insert, isAuthorizationEnabled, saveDefaultAuthorizations
-
Constructor Details
-
HistoricDecisionInstanceManager
public HistoricDecisionInstanceManager()
-
-
Method Details
-
deleteHistoricDecisionInstancesByDecisionDefinitionId
-
findHistoricDecisionInstancesByDecisionDefinitionId
protected List<HistoricDecisionInstanceEntity> findHistoricDecisionInstancesByDecisionDefinitionId(String decisionDefinitionId) -
deleteHistoricDecisionInstanceByIds
-
insertHistoricDecisionInstances
-
insertHistoricDecisionInstance
protected void insertHistoricDecisionInstance(HistoricDecisionInstanceEntity historicDecisionInstance) -
insertHistoricDecisionInputInstances
protected void insertHistoricDecisionInputInstances(List<HistoricDecisionInputInstance> inputs, String decisionInstanceId) -
insertHistoricDecisionOutputInstances
protected void insertHistoricDecisionOutputInstances(List<HistoricDecisionOutputInstance> outputs, String decisionInstanceId) -
findHistoricDecisionInstancesByQueryCriteria
public List<HistoricDecisionInstance> findHistoricDecisionInstancesByQueryCriteria(HistoricDecisionInstanceQueryImpl query, Page page) -
findHistoricDecisionInstanceDeploymentIdMappingsByQueryCriteria
public List<ImmutablePair<String,String>> findHistoricDecisionInstanceDeploymentIdMappingsByQueryCriteria(HistoricDecisionInstanceQueryImpl query) -
enrichHistoricDecisionsWithInputsAndOutputs
public void enrichHistoricDecisionsWithInputsAndOutputs(HistoricDecisionInstanceQueryImpl query, List<HistoricDecisionInstance> decisionInstances) -
findHistoricDecisionInstanceIdsForCleanup
-
appendHistoricDecisionInputInstances
protected void appendHistoricDecisionInputInstances(Map<String, HistoricDecisionInstanceEntity> decisionInstancesById, HistoricDecisionInstanceQueryImpl query) -
initializeInputInstances
protected void initializeInputInstances(Collection<HistoricDecisionInstanceEntity> decisionInstances) -
findHistoricDecisionInputInstancesByDecisionInstanceIds
protected List<HistoricDecisionInputInstanceEntity> findHistoricDecisionInputInstancesByDecisionInstanceIds(Set<String> historicDecisionInstanceKeys) -
isBinaryValue
-
fetchVariableValue
protected void fetchVariableValue(HistoricDecisionInputInstanceEntity decisionInputInstance, boolean isCustomObjectDeserializationEnabled) -
appendHistoricDecisionOutputInstances
protected void appendHistoricDecisionOutputInstances(Map<String, HistoricDecisionInstanceEntity> decisionInstancesById, HistoricDecisionInstanceQueryImpl query) -
initializeOutputInstances
protected void initializeOutputInstances(Collection<HistoricDecisionInstanceEntity> decisionInstances) -
findHistoricDecisionOutputInstancesByDecisionInstanceIds
protected List<HistoricDecisionOutputInstanceEntity> findHistoricDecisionOutputInstancesByDecisionInstanceIds(Set<String> decisionInstanceKeys) -
isBinaryValue
-
fetchVariableValue
protected void fetchVariableValue(HistoricDecisionOutputInstanceEntity decisionOutputInstance, boolean isCustomObjectDeserializationEnabled) -
findHistoricDecisionInstance
public HistoricDecisionInstanceEntity findHistoricDecisionInstance(String historicDecisionInstanceId) -
findHistoricDecisionInstanceCountByQueryCriteria
public long findHistoricDecisionInstanceCountByQueryCriteria(HistoricDecisionInstanceQueryImpl query) -
findHistoricDecisionInstancesByNativeQuery
public List<HistoricDecisionInstance> findHistoricDecisionInstancesByNativeQuery(Map<String, Object> parameterMap, int firstResult, int maxResults) -
findHistoricDecisionInstanceCountByNativeQuery
-
configureQuery
-
configureParameterizedQuery
-
findCleanableHistoricDecisionInstancesReportByCriteria
public List<CleanableHistoricDecisionInstanceReportResult> findCleanableHistoricDecisionInstancesReportByCriteria(CleanableHistoricDecisionInstanceReportImpl query, Page page) -
findCleanableHistoricDecisionInstancesReportCountByCriteria
public long findCleanableHistoricDecisionInstancesReportCountByCriteria(CleanableHistoricDecisionInstanceReportImpl query) -
addRemovalTimeToDecisionsByRootProcessInstanceId
-
addRemovalTimeToDecisionsByRootProcessInstanceId
-
addRemovalTimeToDecisionsByProcessInstanceId
-
addRemovalTimeToDecisionsByProcessInstanceId
-
addRemovalTimeToDecisionsByRootDecisionInstanceId
-
addRemovalTimeToDecisionsByDecisionInstanceId
-
deleteHistoricDecisionsByRemovalTime
public Map<Class<? extends DbEntity>,DbOperation> deleteHistoricDecisionsByRemovalTime(Date removalTime, int minuteFrom, int minuteTo, int batchSize)
-