public class UpdateProcessInstancesSuspendStateBatchCmd extends AbstractUpdateProcessInstancesSuspendStateCmd<Batch>
builder, commandExecutor, suspending
Constructor and Description |
---|
UpdateProcessInstancesSuspendStateBatchCmd(CommandExecutor commandExecutor,
UpdateProcessInstancesSuspensionStateBuilderImpl builder,
boolean suspending) |
Modifier and Type | Method and Description |
---|---|
protected int |
calculateSize(ProcessEngineConfigurationImpl engineConfiguration,
UpdateProcessInstancesSuspendStateBatchConfiguration batchConfiguration) |
protected void |
checkAuthorizations(CommandContext commandContext) |
protected BatchEntity |
createBatch(CommandContext commandContext,
Collection<String> processInstanceIds) |
Batch |
execute(CommandContext commandContext) |
protected BatchConfiguration |
getAbstractIdsBatchConfiguration(List<String> processInstanceIds) |
protected BatchJobHandler<UpdateProcessInstancesSuspendStateBatchConfiguration> |
getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration) |
collectProcessInstanceIds, writeUserOperationLog
public UpdateProcessInstancesSuspendStateBatchCmd(CommandExecutor commandExecutor, UpdateProcessInstancesSuspensionStateBuilderImpl builder, boolean suspending)
public Batch execute(CommandContext commandContext)
protected BatchEntity createBatch(CommandContext commandContext, Collection<String> processInstanceIds)
protected int calculateSize(ProcessEngineConfigurationImpl engineConfiguration, UpdateProcessInstancesSuspendStateBatchConfiguration batchConfiguration)
protected BatchConfiguration getAbstractIdsBatchConfiguration(List<String> processInstanceIds)
protected BatchJobHandler<UpdateProcessInstancesSuspendStateBatchConfiguration> getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration)
protected void checkAuthorizations(CommandContext commandContext)
Copyright © 2020. All rights reserved.