public class SetRemovalTimeToHistoricBatchesCmd extends AbstractIDBasedBatchCmd<Batch>
| Modifier and Type | Field and Description |
|---|---|
protected SetRemovalTimeToHistoricBatchesBuilderImpl |
builder |
| Constructor and Description |
|---|
SetRemovalTimeToHistoricBatchesCmd(SetRemovalTimeToHistoricBatchesBuilderImpl builder) |
| Modifier and Type | Method and Description |
|---|---|
protected HistoricBatchQuery |
createHistoricBatchQuery(CommandContext commandContext) |
Batch |
execute(CommandContext commandContext) |
protected List<String> |
findHistoricInstanceIds(List<String> instanceIds,
CommandContext commandContext) |
protected BatchConfiguration |
getAbstractIdsBatchConfiguration(List<String> ids) |
protected BatchJobHandler |
getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration) |
protected boolean |
hasRemovalTime(SetRemovalTimeToHistoricBatchesBuilderImpl.Mode mode) |
protected void |
writeUserOperationLog(CommandContext commandContext,
int numInstances,
SetRemovalTimeToHistoricBatchesBuilderImpl.Mode mode,
Date removalTime,
boolean async) |
createBatchcheckAuthorizationsprotected SetRemovalTimeToHistoricBatchesBuilderImpl builder
public SetRemovalTimeToHistoricBatchesCmd(SetRemovalTimeToHistoricBatchesBuilderImpl builder)
public Batch execute(CommandContext commandContext)
protected List<String> findHistoricInstanceIds(List<String> instanceIds, CommandContext commandContext)
protected HistoricBatchQuery createHistoricBatchQuery(CommandContext commandContext)
protected void writeUserOperationLog(CommandContext commandContext, int numInstances, SetRemovalTimeToHistoricBatchesBuilderImpl.Mode mode, Date removalTime, boolean async)
protected BatchConfiguration getAbstractIdsBatchConfiguration(List<String> ids)
getAbstractIdsBatchConfiguration in class AbstractIDBasedBatchCmd<Batch>protected boolean hasRemovalTime(SetRemovalTimeToHistoricBatchesBuilderImpl.Mode mode)
protected BatchJobHandler getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration)
getBatchJobHandler in class AbstractIDBasedBatchCmd<Batch>Copyright © 2013–2019 camunda services GmbH. All rights reserved.