Interface CategorySource
- 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 Summary
Modifier and TypeMethodDescriptiongetCategoriesForConfigAndProperty(IndexConfig indexConfig, IndexedProperty indexedProperty, Object model) Returns a collection ofCategoryModelof a given indexedProperty that are fetched from the model based on the indexConfig.
-
Method Details
-
getCategoriesForConfigAndProperty
Collection<CategoryModel> getCategoriesForConfigAndProperty(IndexConfig indexConfig, IndexedProperty indexedProperty, Object model) Returns a collection ofCategoryModelof a given indexedProperty that are fetched from the model based on the indexConfig.- Parameters:
indexConfig- index configindexedProperty- indexed propertymodel- model- Returns:
- Collection of categories
-