org.camunda.bpm.engine.impl.cmd
Class UpdateProcessInstancesSuspendStateBatchCmd

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmd.AbstractUpdateProcessInstancesSuspendStateCmd<Batch>
      extended by org.camunda.bpm.engine.impl.cmd.UpdateProcessInstancesSuspendStateBatchCmd
All Implemented Interfaces:
Command<Batch>

public class UpdateProcessInstancesSuspendStateBatchCmd
extends AbstractUpdateProcessInstancesSuspendStateCmd<Batch>


Field Summary
 
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractUpdateProcessInstancesSuspendStateCmd
builder, commandExecutor, suspending
 
Constructor Summary
UpdateProcessInstancesSuspendStateBatchCmd(CommandExecutor commandExecutor, UpdateProcessInstancesSuspensionStateBuilderImpl builder, boolean suspending)
           
 
Method Summary
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)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.cmd.AbstractUpdateProcessInstancesSuspendStateCmd
collectProcessInstanceIds, writeUserOperationLog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateProcessInstancesSuspendStateBatchCmd

public UpdateProcessInstancesSuspendStateBatchCmd(CommandExecutor commandExecutor,
                                                  UpdateProcessInstancesSuspensionStateBuilderImpl builder,
                                                  boolean suspending)
Method Detail

execute

public Batch execute(CommandContext commandContext)

createBatch

protected BatchEntity createBatch(CommandContext commandContext,
                                  Collection<String> processInstanceIds)

calculateSize

protected int calculateSize(ProcessEngineConfigurationImpl engineConfiguration,
                            UpdateProcessInstancesSuspendStateBatchConfiguration batchConfiguration)

getAbstractIdsBatchConfiguration

protected BatchConfiguration getAbstractIdsBatchConfiguration(List<String> processInstanceIds)

getBatchJobHandler

protected BatchJobHandler<UpdateProcessInstancesSuspendStateBatchConfiguration> getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration)

checkAuthorizations

protected void checkAuthorizations(CommandContext commandContext)


Copyright © 2017 camunda services GmbH. All rights reserved.