Class AbstractAnonymizationHandler

    • Constructor Detail

      • AbstractAnonymizationHandler

        public AbstractAnonymizationHandler()
    • Method Detail

      • process

        protected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord> process​(String boundedContextIdentifier,
                                                                                                       @Nullable
                                                                                                       Phone memberPhone,
                                                                                                       String type,
                                                                                                       String fieldName)
        Process a Phone instance
        Parameters:
        boundedContextIdentifier - Identifier for an entity containing personal identifiable information. Usually customer id.
        memberPhone - The instance to process
        type - The simple class name for the entity containing the CustomerRef
        fieldName - The name of the field being changed in the entity
        Returns:
        List of change information for all updated fields
      • processAdditionalPhones

        protected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord> processAdditionalPhones​(String boundedContextIdentifier,
                                                                                                                       @Nullable
                                                                                                                       List<AdditionalPhone> members,
                                                                                                                       String type,
                                                                                                                       String fieldName)
        Process a list of AdditionalPhone instances
        Parameters:
        boundedContextIdentifier - Identifier for an entity containing personal identifiable information. Usually customer id.
        members - The instances to process
        type - The simple class name for the entity containing the CustomerRef
        fieldName - The name of the field being changed in the entity
        Returns:
        List of change information for all updated fields