Interface BulkUpdateProcessor
- All Known Implementing Classes:
AddTagsProductBulkUpdateProcessor,ArchiveProductBulkUpdateProcessor,LogBulkUpdateProcessor,RemoveTagsProductBulkUpdateProcessor,SetActiveProductBulkUpdateProcessor
public interface BulkUpdateProcessor
Responsible for processing bulk updates based on the operation type and entity type.
Each implementation of this class should specify a specific operation type that it can handle.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanWhether or not this processor can handle the requested bulk operation.The operation type that this processor supports.voidprocess(BulkOperation bulkOperation) Processes the provided bulk operation.
-
Method Details
-
canHandle
Whether or not this processor can handle the requested bulk operation.- Parameters:
operationType- the type of operation to be performed- Returns:
- true, if the processor is able to handle the request, otherwise false
-
process
Processes the provided bulk operation.- Parameters:
bulkOperation- the bulk operation to be processed
-
getOperationType
String getOperationType()The operation type that this processor supports.- Returns:
- the operation type that this processor supports
-