Class AbstractAnonymizationHandler
- java.lang.Object
-
- com.broadleafcommerce.cart.service.anonymization.AbstractAnonymizationHandler
-
- All Implemented Interfaces:
com.broadleafcommerce.common.extension.data.DataRoutePartitionAware
,com.broadleafcommerce.common.privacy.anonymization.AnonymizationHandler
,org.springframework.core.Ordered
- Direct Known Subclasses:
CartAnonymizationHandler
public abstract class AbstractAnonymizationHandler extends Object implements com.broadleafcommerce.common.privacy.anonymization.AnonymizationHandler
Provide common processing functionality to all cart relatedAnonymizationHandler
instances.
-
-
Constructor Summary
Constructors Constructor Description AbstractAnonymizationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord>
process(String boundedContextIdentifier, com.broadleafcommerce.order.common.domain.Address member, String type, String fieldName)
Process aAddress
instanceprotected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord>
process(String boundedContextIdentifier, com.broadleafcommerce.order.common.domain.CustomerRef customerRef, String type, String fieldName)
Process aCustomerRef
instanceprotected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord>
process(String boundedContextIdentifier, com.broadleafcommerce.order.common.domain.Phone memberPhone, String type, String fieldName)
Process aPhone
instance-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
process
protected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord> process(String boundedContextIdentifier, @Nullable com.broadleafcommerce.order.common.domain.CustomerRef customerRef, String type, String fieldName)
Process aCustomerRef
instance- Parameters:
boundedContextIdentifier
- Identifier for an entity containing personal identifiable information. Usually customer id.customerRef
- The instance to processtype
- The simple class name for the entity containing the CustomerReffieldName
- The name of the field being changed in the entity- Returns:
- List of change information for all updated fields
-
process
protected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord> process(String boundedContextIdentifier, @Nullable com.broadleafcommerce.order.common.domain.Phone memberPhone, String type, String fieldName)
Process aPhone
instance- Parameters:
boundedContextIdentifier
- Identifier for an entity containing personal identifiable information. Usually customer id.memberPhone
- The instance to processtype
- The simple class name for the entity containing the CustomerReffieldName
- The name of the field being changed in the entity- Returns:
- List of change information for all updated fields
-
process
protected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord> process(String boundedContextIdentifier, @Nullable com.broadleafcommerce.order.common.domain.Address member, String type, String fieldName)
Process aAddress
instance- Parameters:
boundedContextIdentifier
- Identifier for an entity containing personal identifiable information. Usually customer id.member
- The instance to processtype
- The simple class name for the entity containing the CustomerReffieldName
- The name of the field being changed in the entity- Returns:
- List of change information for all updated fields
-
-