Interface BulkItemPageOperator<I extends BulkOperationItem>

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface BulkItemPageOperator<I extends BulkOperationItem>
Represents a operator to use against a page of BulkOperationItems. This is expected to be supplied by a BulkUpdateProcessor to BulkUpdateProcessorHelper to simplify shared processing logic. The main logic specific to the operation is represented by this Operator.
Since:
2.1.0-GA
Author:
Nathan Moore (nathandmoore)
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.data.domain.Page<I>
    process(BulkOperation bulkOperation, org.springframework.data.domain.Page<I> bulkOperationItems)
    Runs the operation against the given page of BulkOperationItems.
  • Method Details

    • process

      org.springframework.data.domain.Page<I> process(BulkOperation bulkOperation, org.springframework.data.domain.Page<I> bulkOperationItems)
      Runs the operation against the given page of BulkOperationItems.
      Parameters:
      bulkOperation - The parent BulkOperation
      bulkOperationItems - The items to operate against.
      Returns:
      The modified items.