Interface AnonymousConsentFacade

All Known Implementing Classes:
DefaultAnonymousConsentFacade

public interface AnonymousConsentFacade
Facade interface providing an API for performing operations on consents of anonymous users.
  • Method Details

    • synchronizeAnonymousConsents

      void synchronizeAnonymousConsents(Supplier<List<AnonymousConsentData>> anonymousConsentReader, Consumer<List<AnonymousConsentData>> anonymousConsentWriter)
      Synchronizes the supplied list of anonymous consents with its current state and forwards the resulted list.
      Parameters:
      anonymousConsentReader - anonymous consent reader to supply the list of anonymous consents to synchronize
      anonymousConsentWriter - anonymous consent writer to consume the result of synchronization
    • setPopulatingConsentsEnabled

      default void setPopulatingConsentsEnabled(boolean populatingConsentsEnabled)
      Enables populating consents flag in commerceservices
      Parameters:
      populatingConsentsEnabled -