public class RestartProcessInstancesBatchCmd extends AbstractRestartProcessInstanceCmd<Batch>
builder, commandExecutor
Constructor and Description |
---|
RestartProcessInstancesBatchCmd(CommandExecutor commandExecutor,
RestartProcessInstanceBuilderImpl builder) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkPermissions(CommandContext commandContext) |
protected BatchEntity |
createBatch(CommandContext commandContext,
List<AbstractProcessInstanceModificationCommand> instructions,
List<String> processInstanceIds,
ProcessDefinitionEntity processDefinition) |
protected void |
ensureTenantAuthorized(CommandContext commandContext,
ProcessDefinitionEntity processDefinition) |
Batch |
execute(CommandContext commandContext) |
protected BatchJobHandler<RestartProcessInstancesBatchConfiguration> |
getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration) |
collectProcessInstanceIds, getProcessDefinition, writeUserOperationLog
public RestartProcessInstancesBatchCmd(CommandExecutor commandExecutor, RestartProcessInstanceBuilderImpl builder)
public Batch execute(CommandContext commandContext)
protected void checkPermissions(CommandContext commandContext)
protected BatchEntity createBatch(CommandContext commandContext, List<AbstractProcessInstanceModificationCommand> instructions, List<String> processInstanceIds, ProcessDefinitionEntity processDefinition)
protected BatchJobHandler<RestartProcessInstancesBatchConfiguration> getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration)
protected void ensureTenantAuthorized(CommandContext commandContext, ProcessDefinitionEntity processDefinition)
Copyright © 2019. All rights reserved.