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 Summary
Modifier and TypeMethodDescriptionmapToResponseAndHydrateIfApplicable
(List<DataFeedProcess> dataFeedProcesses, DataFeedHydrationInfo dataFeedHydrationInfo, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Converts eachDataFeedProcess
from the provided list toDataFeedProcessResponse
with the additional information.
-
Method Details
-
mapToResponseAndHydrateIfApplicable
List<DataFeedProcessResponse> mapToResponseAndHydrateIfApplicable(List<DataFeedProcess> dataFeedProcesses, DataFeedHydrationInfo dataFeedHydrationInfo, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Converts eachDataFeedProcess
from the provided list toDataFeedProcessResponse
with the additional information. By default, it reads theApplications
for the provided processes and sets the application names to the response.- Parameters:
dataFeedProcesses
- the data feed processes to hydratedataFeedHydrationInfo
- the configuration that is used to specify what information should be hydrated to the responsecontextInfo
- context information around multitenant state- Returns:
- the hydrated list of
DataFeedProcessResponse
-