Package org.nuxeo.ecm.core.bulk
Interface BulkAdminService
-
- All Known Implementing Classes:
BulkAdminServiceImpl
public interface BulkAdminServiceThe Bulk admin service, it's an internal service in order to access configuration from Bulk Action Framework.- Since:
- 10.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description List<String>getActions()Returns a list of declared bulk actions.BulkActionValidationgetActionValidation(String action)Gets the validation class of an action.intgetBatchSize(String action)DurationgetBatchTransactionTimeout(String action)Returns the transaction timeout to use to process a batch.intgetBucketSize(String action)StringgetDefaultScroller(String action)StringgetInputStream(String action)LonggetQueryLimit(String action)Returns the default query limit for the bulk action.booleanisExclusive(String actionId)Returns true if action is exclusive and only one of such command per repository can be scheduled or running.booleanisHttpEnabled(String actionId)Returns true if the action id is to be accessible through http API.booleanisSequentialCommands(String actionId)Deprecated.since 2021.45, useisSequentialScroll(String)instead.booleanisSequentialProcessing(String actionId)Returns true if command processing for this action should be done sequentially.booleanisSequentialScroll(String actionId)Returns true if commands of this action need to be scrolled sequentially.
-
-
-
Method Detail
-
getActions
List<String> getActions()
Returns a list of declared bulk actions. By design a bulk action listen the stream of its own name.- Returns:
- a list of declared bulk actions
-
getBucketSize
int getBucketSize(String action)
-
getBatchSize
int getBatchSize(String action)
-
getBatchTransactionTimeout
Duration getBatchTransactionTimeout(String action)
Returns the transaction timeout to use to process a batch.- Since:
- 11.5
-
getQueryLimit
Long getQueryLimit(String action)
Returns the default query limit for the bulk action.- Since:
- 11.4
-
isHttpEnabled
boolean isHttpEnabled(String actionId)
Returns true if the action id is to be accessible through http API.- Since:
- 10.3
-
isSequentialCommands
@Deprecated boolean isSequentialCommands(String actionId)
Deprecated.since 2021.45, useisSequentialScroll(String)instead.Returns true if commands of this action need to be scrolled sequentially.- Since:
- 10.3
-
isSequentialScroll
boolean isSequentialScroll(String actionId)
Returns true if commands of this action need to be scrolled sequentially.- Since:
- 2021.45
-
isSequentialProcessing
boolean isSequentialProcessing(String actionId)
Returns true if command processing for this action should be done sequentially.- Since:
- 2021.45
-
isExclusive
boolean isExclusive(String actionId)
Returns true if action is exclusive and only one of such command per repository can be scheduled or running.- Since:
- 2021.45
-
getActionValidation
BulkActionValidation getActionValidation(String action)
Gets the validation class of an action.- Since:
- 10.10
-
-