Class OrderNoteAnonymizationHandler

java.lang.Object
com.broadleafcommerce.order.anonymization.AbstractAnonymizationHandler
com.broadleafcommerce.order.anonymization.OrderNoteAnonymizationHandler
All Implemented Interfaces:
com.broadleafcommerce.common.extension.data.DataRoutePartitionAware, com.broadleafcommerce.common.privacy.anonymization.AnonymizationHandler, org.springframework.core.Ordered

public class OrderNoteAnonymizationHandler extends AbstractAnonymizationHandler
Updates PII fields for the OrderNote domain.
  • Constructor Details

    • OrderNoteAnonymizationHandler

      public OrderNoteAnonymizationHandler(OrderService<com.broadleafcommerce.order.client.domain.Order> orderService, OrderNoteService<OrderNote> noteService)
  • Method Details

    • getDataRoutePartition

      public String getDataRoutePartition()
    • anonymize

      public List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord> anonymize(String boundedContextIdentifier, Object context)
    • handleRecords

      protected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord> handleRecords(String boundedContextIdentifier, Stream<OrderNote> members, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • getOrderService

      protected OrderService<com.broadleafcommerce.order.client.domain.Order> getOrderService()
    • getNoteService

      protected OrderNoteService<OrderNote> getNoteService()