Class CustomerAddressAnonymizationHandler
- java.lang.Object
-
- com.broadleafcommerce.customer.service.anonymization.AbstractAnonymizationHandler
-
- com.broadleafcommerce.customer.service.anonymization.CustomerAddressAnonymizationHandler
-
- All Implemented Interfaces:
com.broadleafcommerce.common.extension.data.DataRoutePartitionAware,com.broadleafcommerce.common.privacy.anonymization.AnonymizationHandler,org.springframework.core.Ordered
public class CustomerAddressAnonymizationHandler extends AbstractAnonymizationHandler
Updates PII fields for theCustomerAddressdomain.
-
-
Constructor Summary
Constructors Constructor Description CustomerAddressAnonymizationHandler(CustomerAddressService<CustomerAddress> customerAddressService)
-
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 CustomerAddressService<CustomerAddress>getCustomerAddressService()StringgetDataRoutePartition()protected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord>handleRecords(String boundedContextIdentifier, Stream<CustomerAddress> members, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)-
Methods inherited from class com.broadleafcommerce.customer.service.anonymization.AbstractAnonymizationHandler
process, processAdditionalPhones
-
-
-
-
Constructor Detail
-
CustomerAddressAnonymizationHandler
public CustomerAddressAnonymizationHandler(CustomerAddressService<CustomerAddress> customerAddressService)
-
-
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<CustomerAddress> members, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
getCustomerAddressService
protected CustomerAddressService<CustomerAddress> getCustomerAddressService()
-
-