All Known Implementing Classes:
VariantProductSource

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

    • getProductsForConfigAndProperty

      Collection<ProductModel> getProductsForConfigAndProperty(IndexConfig indexConfig, IndexedProperty indexedProperty, Object model)
      Returns a collection of ProductModel 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 products
    • getProducts

      Set<ProductModel> getProducts(Object productModel)
      Gets all the products in the a model this could include all its variants.
      Parameters:
      productModel - productModel
      Returns:
      Collection of products