Class OrderAnonymizationHandler
- java.lang.Object
 - 
- com.broadleafcommerce.order.anonymization.AbstractAnonymizationHandler
 - 
- com.broadleafcommerce.order.anonymization.OrderAnonymizationHandler
 
 
 
- 
- All Implemented Interfaces:
 com.broadleafcommerce.common.extension.data.DataRoutePartitionAware,com.broadleafcommerce.common.privacy.anonymization.AnonymizationHandler,org.springframework.core.Ordered
public class OrderAnonymizationHandler extends AbstractAnonymizationHandler
Updates PII fields for theOrderdomain. 
- 
- 
Constructor Summary
Constructors Constructor Description OrderAnonymizationHandler(OrderService<com.broadleafcommerce.order.client.domain.Order> orderService, OrderAnonymizationProperties properties) 
- 
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)StringgetDataRoutePartition()protected OrderService<com.broadleafcommerce.order.client.domain.Order>getOrderService()protected OrderAnonymizationPropertiesgetProperties()protected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord>handleRecords(String boundedContextIdentifier, Stream<com.broadleafcommerce.order.client.domain.Order> members, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)- 
Methods inherited from class com.broadleafcommerce.order.anonymization.AbstractAnonymizationHandler
process, process 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
OrderAnonymizationHandler
public OrderAnonymizationHandler(OrderService<com.broadleafcommerce.order.client.domain.Order> orderService, OrderAnonymizationProperties properties)
 
 - 
 
- 
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<com.broadleafcommerce.order.client.domain.Order> members, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
 
- 
getOrderService
protected OrderService<com.broadleafcommerce.order.client.domain.Order> getOrderService()
 
- 
getProperties
protected OrderAnonymizationProperties getProperties()
 
 - 
 
 -