Interface CategoryDetailsContextConsolidator

All Superinterfaces:
org.springframework.core.Ordered
All Known Implementing Classes:
RelatedProductsCategoryContextConsolidator, RelatedPromotionalProductsCategoryContextConsolidator, RelatedVariantsCategoryContextConsolidator

public interface CategoryDetailsContextConsolidator extends org.springframework.core.Ordered
Services implementing this interface should handle consolidating context information provided by CategoryDetailsContextContributor as needed.

CategoryDetailsContextContributors should handle any necessary DB queries to gather the related entities while contributors merge the data together before they are contributed to a CategoryDetails.

Author:
Nathan Moore (nathandmoore)
  • Field Summary

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    consolidate(CategoryDetailsContext categoryDetailsContext)
    Consolidate context information provided on a CategoryDetailsContext.

    Methods inherited from interface org.springframework.core.Ordered

    getOrder
  • Method Details

    • consolidate

      void consolidate(CategoryDetailsContext categoryDetailsContext)
      Consolidate context information provided on a CategoryDetailsContext. This is expected to directly mutate the context.
      Parameters:
      categoryDetailsContext - Context on which to perform some consolidation operations.