Class AccountAnonymizationHandler
- java.lang.Object
-
- com.broadleafcommerce.customer.service.anonymization.AccountAnonymizationHandler
-
- All Implemented Interfaces:
com.broadleafcommerce.common.extension.data.DataRoutePartitionAware
,com.broadleafcommerce.common.privacy.anonymization.AnonymizationHandler
,org.springframework.core.Ordered
public class AccountAnonymizationHandler extends Object implements com.broadleafcommerce.common.privacy.anonymization.AnonymizationHandler
Updates PII fields for theAccount
domain.
-
-
Constructor Summary
Constructors Constructor Description AccountAnonymizationHandler(AccountMemberService<AccountMember> accountMemberService)
-
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 AccountMemberService<AccountMember>
getAccountMemberService()
String
getDataRoutePartition()
protected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord>
handleRecords(String boundedContextIdentifier, List<AccountMember> members)
-
-
-
Constructor Detail
-
AccountAnonymizationHandler
public AccountAnonymizationHandler(AccountMemberService<AccountMember> accountMemberService)
-
-
Method Detail
-
getDataRoutePartition
public String getDataRoutePartition()
- Specified by:
getDataRoutePartition
in interfacecom.broadleafcommerce.common.extension.data.DataRoutePartitionAware
-
anonymize
public List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord> anonymize(String boundedContextIdentifier, Object context)
- Specified by:
anonymize
in interfacecom.broadleafcommerce.common.privacy.anonymization.AnonymizationHandler
-
handleRecords
protected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord> handleRecords(String boundedContextIdentifier, List<AccountMember> members)
-
getAccountMemberService
protected AccountMemberService<AccountMember> getAccountMemberService()
-
-