Class BulkRunAction
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.operations.services.bulk.BulkRunAction
-
public class BulkRunAction extends Object
Automation operation that can run an http enabled Bulk Action.- Since:
- 10.2
-
-
Field Summary
Fields Modifier and Type Field Description protected String
action
protected BulkAdminService
admin
protected int
batchSize
protected int
bucketSize
protected StringList
excludeDocs
static String
ID
protected Properties
namedParameters
protected static String
ORDER_TOKEN
protected String
parametersAsJson
protected String
providerName
protected String
query
protected long
queryLimit
protected StringList
queryParams
protected StringList
quickFilters
protected String
repositoryName
protected BulkService
service
protected CoreSession
session
protected static String
WHERE_TOKEN
-
Constructor Summary
Constructors Constructor Description BulkRunAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
addExcludeClause(String query, StringList excludeDocs)
protected Map<String,Serializable>
getParams(String parametersAsJson)
BulkStatus
run()
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
WHERE_TOKEN
protected static final String WHERE_TOKEN
- See Also:
- Constant Field Values
-
ORDER_TOKEN
protected static final String ORDER_TOKEN
- See Also:
- Constant Field Values
-
service
protected BulkService service
-
admin
protected BulkAdminService admin
-
session
protected CoreSession session
-
query
protected String query
-
providerName
protected String providerName
-
queryParams
protected StringList queryParams
-
namedParameters
protected Properties namedParameters
-
quickFilters
protected StringList quickFilters
-
action
protected String action
-
repositoryName
protected String repositoryName
-
bucketSize
protected int bucketSize
-
batchSize
protected int batchSize
-
parametersAsJson
protected String parametersAsJson
-
excludeDocs
protected StringList excludeDocs
-
queryLimit
protected long queryLimit
-
-
Method Detail
-
run
public BulkStatus run() throws IOException, OperationException
- Throws:
IOException
OperationException
-
getParams
protected Map<String,Serializable> getParams(String parametersAsJson)
-
addExcludeClause
protected String addExcludeClause(String query, StringList excludeDocs)
-
-