Interface BatchUpdater<T>

Type Parameters:
T - the type of the entity to update
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 BatchUpdater<T>
Utilized in ImportBatchHandler to perform and persist updates of entities.

Most commonly, this interface is implemented by passing a reference to CrudEntityService.updateAllAllowingPartialSuccess(List, ContextInfo).

Author:
Phillip Verheyden (phillipuniverse)
  • Method Summary

    Modifier and Type
    Method
    Description
    com.broadleafcommerce.data.tracking.core.service.BulkPersistenceResponse<T>
    updateAllAllowingPartialSuccess(List<com.broadleafcommerce.data.tracking.core.service.Update<T>> updates, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
     
  • Method Details

    • updateAllAllowingPartialSuccess

      com.broadleafcommerce.data.tracking.core.service.BulkPersistenceResponse<T> updateAllAllowingPartialSuccess(@NonNull List<com.broadleafcommerce.data.tracking.core.service.Update<T>> updates, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context)