public class RestartProcessInstancesCmd extends AbstractRestartProcessInstanceCmd<Void>
Modifier and Type | Field and Description |
---|---|
protected boolean |
writeUserOperationLog |
builder, commandExecutor
Constructor and Description |
---|
RestartProcessInstancesCmd(CommandExecutor commandExecutor,
RestartProcessInstanceBuilderImpl builder,
boolean writeUserOperationLog) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyProperties(ProcessInstantiationBuilderImpl instantiationBuilder,
ProcessDefinition processDefinition,
HistoricProcessInstance processInstance) |
protected void |
checkAuthorization(CommandContext commandContext,
ProcessDefinition processDefinition) |
protected org.camunda.bpm.engine.variable.VariableMap |
collectInitialVariables(CommandContext commandContext,
HistoricProcessInstance processInstance) |
protected org.camunda.bpm.engine.variable.VariableMap |
collectLastVariables(CommandContext commandContext,
HistoricProcessInstance processInstance) |
protected org.camunda.bpm.engine.variable.VariableMap |
collectVariables(CommandContext commandContext,
HistoricProcessInstance processInstance) |
protected void |
ensureHistoricProcessInstanceNotActive(HistoricProcessInstance instance) |
protected void |
ensureSameProcessDefinition(HistoricProcessInstance instance,
String processDefinitionId) |
Void |
execute(CommandContext commandContext) |
protected HistoricProcessInstance |
getHistoricProcessInstance(CommandContext commandContext,
String processInstanceId) |
protected ProcessInstantiationBuilderImpl |
getProcessInstantiationBuilder(CommandExecutor commandExecutor,
String processDefinitionId) |
protected HistoricActivityInstance |
resolveStartActivityInstance(HistoricProcessInstance processInstance) |
collectProcessInstanceIds, getProcessDefinition, writeUserOperationLog
public RestartProcessInstancesCmd(CommandExecutor commandExecutor, RestartProcessInstanceBuilderImpl builder, boolean writeUserOperationLog)
public Void execute(CommandContext commandContext)
protected void checkAuthorization(CommandContext commandContext, ProcessDefinition processDefinition)
protected HistoricProcessInstance getHistoricProcessInstance(CommandContext commandContext, String processInstanceId)
protected void ensureSameProcessDefinition(HistoricProcessInstance instance, String processDefinitionId)
protected void ensureHistoricProcessInstanceNotActive(HistoricProcessInstance instance)
protected ProcessInstantiationBuilderImpl getProcessInstantiationBuilder(CommandExecutor commandExecutor, String processDefinitionId)
protected void applyProperties(ProcessInstantiationBuilderImpl instantiationBuilder, ProcessDefinition processDefinition, HistoricProcessInstance processInstance)
protected org.camunda.bpm.engine.variable.VariableMap collectVariables(CommandContext commandContext, HistoricProcessInstance processInstance)
protected org.camunda.bpm.engine.variable.VariableMap collectInitialVariables(CommandContext commandContext, HistoricProcessInstance processInstance)
protected org.camunda.bpm.engine.variable.VariableMap collectLastVariables(CommandContext commandContext, HistoricProcessInstance processInstance)
protected HistoricActivityInstance resolveStartActivityInstance(HistoricProcessInstance processInstance)
Copyright © 2017. All rights reserved.