Package org.camunda.bpm.engine.history
Interface SetRemovalTimeToHistoricBatchesBuilder
- All Known Subinterfaces:
- SetRemovalTimeSelectModeForHistoricBatchesBuilder
- All Known Implementing Classes:
- SetRemovalTimeToHistoricBatchesBuilderImpl
public interface SetRemovalTimeToHistoricBatchesBuilder
Fluent builder to set the removal time to historic batches and
 all associated historic entities.
- Author:
- Tassilo Weidner
- 
Method SummaryModifier and TypeMethodDescriptionSelects historic batches by the given ids.byQuery(HistoricBatchQuery historicBatchQuery) Selects historic batches by the given query.Sets the removal time asynchronously as batch.
- 
Method Details- 
byQuerySelects historic batches by the given query.- Parameters:
- historicBatchQuery- to be evaluated.
- Returns:
- the builder.
 
- 
byIdsSelects historic batches by the given ids.- Parameters:
- historicBatchIds- supposed to be affected.
- Returns:
- the builder.
 
- 
executeAsyncBatch executeAsync()Sets the removal time asynchronously as batch. The returned batch can be used to track the progress of setting a removal time.- Returns:
- the batch which sets the removal time asynchronously.
- Throws:
- BadUserRequestException- when no historic batches could be found.
- AuthorizationException- when no- CREATE_BATCH_SET_REMOVAL_TIMEor no permission- CREATEpermission is granted on- Resources.BATCH.
 
 
-