Interface AnonymousConsentFacade

  • All Known Implementing Classes:
    DefaultAnonymousConsentFacade

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

      • synchronizeAnonymousConsents

        void synchronizeAnonymousConsents​(java.util.function.Supplier<java.util.List<AnonymousConsentData>> anonymousConsentReader,
                                          java.util.function.Consumer<java.util.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