Package org.nuxeo.ecm.core.bulk
Interface BulkAdminService
-
- All Known Implementing Classes:
BulkAdminServiceImpl
public interface BulkAdminService
The 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 Modifier and Type Method Description List<String>
getActions()
Returns a list of declared bulk actions.BulkActionValidation
getActionValidation(String action)
Gets the validation class of an action.int
getBatchSize(String action)
int
getBucketSize(String action)
String
getDefaultScroller(String action)
String
getInputStream(String action)
Long
getQueryLimit(String action)
Returns the default query limit for the bulk action.boolean
isHttpEnabled(String actionId)
Returns true if the action id is to be accessible through http API.boolean
isSequentialCommands(String actionId)
Returns true if commands about this action need to be executed sequentially instead of being run concurrently.
-
-
-
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)
-
getQueryLimit
Long getQueryLimit(String action)
Returns the default query limit for the bulk action.- Since:
- 11.4
-
getDefaultScroller
String getDefaultScroller(String action)
- Since:
- 11.1
-
getInputStream
String getInputStream(String action)
- Since:
- 11.1
-
isHttpEnabled
boolean isHttpEnabled(String actionId)
Returns true if the action id is to be accessible through http API.- Since:
- 10.3
-
isSequentialCommands
boolean isSequentialCommands(String actionId)
Returns true if commands about this action need to be executed sequentially instead of being run concurrently.- Since:
- 10.3
-
getActionValidation
BulkActionValidation getActionValidation(String action)
Gets the validation class of an action.- Since:
- 10.10
-
-