Class SynchronizeProcessInstanceCmd
java.lang.Object
com.flowable.platform.engine.impl.cmd.AbstractSynchronizeCmd
com.flowable.platform.engine.impl.cmd.SynchronizeProcessInstanceCmd
- Author:
- Filip Hrisafov
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexecute
(CommandContext commandContext) protected void
syncActivityInstance
(ActivityInstance activity, HistoricActivityInstanceEntity existingHistoricActivity, HistoricActivityInstanceEntityManager historicActivityInstanceEntityManager) protected Collection<String>
syncActivityInstances
(ProcessEngineConfigurationImpl processEngineConfiguration) Synchronise all activity instances and return their idsprotected void
syncEntityLinks
(ProcessEngineConfigurationImpl processEngineConfiguration, DefaultHistoryManager defaultHistoryManager) protected void
syncIdentityLinks
(ProcessEngineConfigurationImpl processEngineConfiguration, DefaultHistoryManager defaultHistoryManager) protected void
syncProcessInstance
(ProcessEngineConfigurationImpl processEngineConfiguration, ExecutionEntity processInstance) protected Collection<String>
syncTasks
(ProcessEngineConfigurationImpl processEngineConfiguration, DefaultHistoryManager defaultHistoryManager) protected void
syncVariables
(ProcessEngineConfigurationImpl processEngineConfiguration) Methods inherited from class com.flowable.platform.engine.impl.cmd.AbstractSynchronizeCmd
syncEntityLinks, syncIdentityLinks, syncTask, syncTasks, syncVariableInstance, syncVariables
-
Field Details
-
processInstanceId
-
-
Constructor Details
-
SynchronizeProcessInstanceCmd
-
-
Method Details
-
execute
-
syncProcessInstance
protected void syncProcessInstance(ProcessEngineConfigurationImpl processEngineConfiguration, ExecutionEntity processInstance) -
syncActivityInstances
protected Collection<String> syncActivityInstances(ProcessEngineConfigurationImpl processEngineConfiguration) Synchronise all activity instances and return their ids- Parameters:
processEngineConfiguration
- the process engine configuration- Returns:
- the ids of all activities that were synchronized
-
syncActivityInstance
protected void syncActivityInstance(ActivityInstance activity, HistoricActivityInstanceEntity existingHistoricActivity, HistoricActivityInstanceEntityManager historicActivityInstanceEntityManager) -
syncVariables
-
syncEntityLinks
protected void syncEntityLinks(ProcessEngineConfigurationImpl processEngineConfiguration, DefaultHistoryManager defaultHistoryManager) -
syncIdentityLinks
protected void syncIdentityLinks(ProcessEngineConfigurationImpl processEngineConfiguration, DefaultHistoryManager defaultHistoryManager) -
syncTasks
protected Collection<String> syncTasks(ProcessEngineConfigurationImpl processEngineConfiguration, DefaultHistoryManager defaultHistoryManager) - Parameters:
processEngineConfiguration
- the process engine configurationdefaultHistoryManager
- the default history manager- Returns:
- the ids of all tasks that were synchronized
-