Class LogBulkUpdateProcessor
java.lang.Object
com.broadleafcommerce.catalog.service.bulkoperation.processor.LogBulkUpdateProcessor
- All Implemented Interfaces:
BulkUpdateProcessor
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLogBulkUpdateProcessor(ProductService<Product> productService, BulkUpdateProcessorHelper<BulkOperationItem> bulkUpdateProcessorHelper) -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether or not this processor can handle the requested bulk operation.protected BulkUpdateProcessorHelper<BulkOperationItem>The operation type that this processor supports.protected StringgetPostfix(BulkOperation bulkOperation, BulkOperationItem bulkOperationItem) protected StringgetPrefix(BulkOperation bulkOperation, BulkOperationItem bulkOperationItem) protected ProductService<Product>voidprocess(BulkOperation bulkOperation) Processes the provided bulk operation.protected BulkOperationItemprocessBulkOperationItem(BulkOperation bulkOperation, BulkOperationItem bulkOperationItem) protected org.springframework.data.domain.Page<BulkOperationItem>processPageOfItems(BulkOperation bulkOperation, org.springframework.data.domain.Page<BulkOperationItem> bulkOperationItems)
-
Field Details
-
OPERATION_TYPE
- See Also:
-
PREFIX
- See Also:
-
POSTFIX
- See Also:
-
-
Constructor Details
-
LogBulkUpdateProcessor
public LogBulkUpdateProcessor(ProductService<Product> productService, BulkUpdateProcessorHelper<BulkOperationItem> bulkUpdateProcessorHelper)
-
-
Method Details
-
getOperationType
Description copied from interface:BulkUpdateProcessorThe operation type that this processor supports.- Specified by:
getOperationTypein interfaceBulkUpdateProcessor- Returns:
- the operation type that this processor supports
-
canHandle
Description copied from interface:BulkUpdateProcessorWhether or not this processor can handle the requested bulk operation.- Specified by:
canHandlein interfaceBulkUpdateProcessor- Parameters:
operationType- the type of operation to be performed- Returns:
- true, if the processor is able to handle the request, otherwise false
-
process
Description copied from interface:BulkUpdateProcessorProcesses the provided bulk operation.- Specified by:
processin interfaceBulkUpdateProcessor- Parameters:
bulkOperation- the bulk operation to be processed
-
getPrefix
-
getPostfix
-
processPageOfItems
protected org.springframework.data.domain.Page<BulkOperationItem> processPageOfItems(BulkOperation bulkOperation, org.springframework.data.domain.Page<BulkOperationItem> bulkOperationItems) -
processBulkOperationItem
protected BulkOperationItem processBulkOperationItem(BulkOperation bulkOperation, BulkOperationItem bulkOperationItem) -
getProductService
-
getBulkUpdateProcessorHelper
-