Interface DataFeedProcessHydrationService

All Known Implementing Classes:
DefaultDataFeedProcessHydrationService

public interface DataFeedProcessHydrationService
The service is used to hydrate the DataFeedProcessResponse with the additional information.
Author:
Dima Myroniuk (dmyroniuk)
  • Method Details

    • mapToResponseAndHydrateIfApplicable

      List<DataFeedProcessResponse> mapToResponseAndHydrateIfApplicable(List<DataFeedProcess> dataFeedProcesses, DataFeedHydrationInfo dataFeedHydrationInfo, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Converts each DataFeedProcess from the provided list to DataFeedProcessResponse with the additional information. By default, it reads the Applications for the provided processes and sets the application names to the response.
      Parameters:
      dataFeedProcesses - the data feed processes to hydrate
      dataFeedHydrationInfo - the configuration that is used to specify what information should be hydrated to the response
      contextInfo - context information around multitenant state
      Returns:
      the hydrated list of DataFeedProcessResponse