Class AbstractAnonymizationHandler

    • Field Summary

      • Fields inherited from interface com.broadleafcommerce.common.extension.data.DataRoutePartitionAware

        ALL_MATCH
      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • 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 a Address instance
      protected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord> process​(String boundedContextIdentifier, com.broadleafcommerce.order.common.domain.Phone memberPhone, String type, String fieldName)
      Process a Phone instance
      • Methods inherited from interface com.broadleafcommerce.common.privacy.anonymization.AnonymizationHandler

        anonymize, empty, fail, getOrder, process
      • Methods inherited from interface com.broadleafcommerce.common.extension.data.DataRoutePartitionAware

        getDataRoutePartition
    • Constructor Detail

      • AbstractAnonymizationHandler

        public AbstractAnonymizationHandler()
    • Method Detail

      • 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 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
      • 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 a Address instance
        Parameters:
        boundedContextIdentifier - Identifier for an entity containing personal identifiable information. Usually customer id.
        member - 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