Class CustomerAnonymizationHandler
- java.lang.Object
-
- com.broadleafcommerce.customer.service.anonymization.AbstractAnonymizationHandler
-
- com.broadleafcommerce.customer.service.anonymization.CustomerAnonymizationHandler
-
- All Implemented Interfaces:
com.broadleafcommerce.common.extension.data.DataRoutePartitionAware
,com.broadleafcommerce.common.privacy.anonymization.AnonymizationHandler
,org.springframework.core.Ordered
public class CustomerAnonymizationHandler extends AbstractAnonymizationHandler
Updates PII fields for theCustomer
domain.
-
-
Constructor Summary
Constructors Constructor Description CustomerAnonymizationHandler(CustomerService<Customer> customerService)
-
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)
protected CustomerService<Customer>
getCustomerService()
String
getDataRoutePartition()
int
getOrder()
protected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord>
handleRecords(String boundedContextIdentifier, Customer member, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
Methods inherited from class com.broadleafcommerce.customer.service.anonymization.AbstractAnonymizationHandler
process, processAdditionalPhones
-
-
-
-
Constructor Detail
-
CustomerAnonymizationHandler
public CustomerAnonymizationHandler(CustomerService<Customer> customerService)
-
-
Method Detail
-
getDataRoutePartition
public String getDataRoutePartition()
-
getOrder
public int getOrder()
-
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, Customer member, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
getCustomerService
protected CustomerService<Customer> getCustomerService()
-
-