Package org.camunda.bpm.engine.history
Interface SetRemovalTimeToHistoricBatchesBuilder
-
- All Known Subinterfaces:
SetRemovalTimeSelectModeForHistoricBatchesBuilder
- All Known Implementing Classes:
SetRemovalTimeToHistoricBatchesBuilderImpl
public interface SetRemovalTimeToHistoricBatchesBuilderFluent builder to set the removal time to historic batches and all associated historic entities.- Author:
- Tassilo Weidner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SetRemovalTimeToHistoricBatchesBuilderbyIds(java.lang.String... historicBatchIds)Selects historic batches by the given ids.SetRemovalTimeToHistoricBatchesBuilderbyQuery(HistoricBatchQuery historicBatchQuery)Selects historic batches by the given query.BatchexecuteAsync()Sets the removal time asynchronously as batch.
-
-
-
Method Detail
-
byQuery
SetRemovalTimeToHistoricBatchesBuilder byQuery(HistoricBatchQuery historicBatchQuery)
Selects historic batches by the given query.- Parameters:
historicBatchQuery- to be evaluated.- Returns:
- the builder.
-
byIds
SetRemovalTimeToHistoricBatchesBuilder byIds(java.lang.String... historicBatchIds)
Selects historic batches by the given ids.- Parameters:
historicBatchIds- supposed to be affected.- Returns:
- the builder.
-
executeAsync
Batch 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 noCREATE_BATCH_SET_REMOVAL_TIMEor no permissionCREATEpermission is granted onResources.BATCH.
-
-