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