All Known Implementing Classes:
DefaultCategorySource, MarketplaceCategorySource, VariantCategorySource

public interface CategorySource
CategorySource. Retrieves a collection of categories to index for a specific model & index configuration.
  • Method Details

    • getCategoriesForConfigAndProperty

      Collection<CategoryModel> getCategoriesForConfigAndProperty(IndexConfig indexConfig, IndexedProperty indexedProperty, Object model)
      Returns a collection of CategoryModel of a given indexedProperty that are fetched from the model based on the indexConfig.
      Parameters:
      indexConfig - index config
      indexedProperty - indexed property
      model - model
      Returns:
      Collection of categories