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 theOrderNote
domain.
-
-
Constructor Summary
Constructors Constructor Description OrderNoteAnonymizationHandler(OrderService<com.broadleafcommerce.order.client.domain.Order> orderService, OrderNoteService<OrderNote> noteService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord>
anonymize(String boundedContextIdentifier, Object context)
String
getDataRoutePartition()
protected OrderNoteService<OrderNote>
getNoteService()
protected OrderService<com.broadleafcommerce.order.client.domain.Order>
getOrderService()
protected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord>
handleRecords(String boundedContextIdentifier, Stream<OrderNote> members, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
Methods inherited from class com.broadleafcommerce.order.anonymization.AbstractAnonymizationHandler
process, process
-
-
-
-
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()
-
getNoteService
protected OrderNoteService<OrderNote> getNoteService()
-
-