Class 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 Detail

      • OrderNoteAnonymizationHandler

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

      • 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()