Interface TmaSolrDiscountSearchFacade
- All Known Implementing Classes:
DefaultTmaSolrDiscountSearchFacade
public interface TmaSolrDiscountSearchFacade
Implements functionality for the discount prices search in solr.
- Since:
- 2302
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddApplicableDiscountsFromIndex(FacetSearchPageData<SearchStateData, ProductData> productSearchPageData) Retrieves applicable discounts from solr and maps them to eachProductDataand to each one of its pricesretrieveDiscounts(SolrSearchQueryData searchQueryData) Executes a search in solr for finding the discount prices.
-
Method Details
-
retrieveDiscounts
List<PriceData> retrieveDiscounts(SolrSearchQueryData searchQueryData) throws de.hybris.platform.solrfacetsearch.search.FacetSearchException Executes a search in solr for finding the discount prices.- Parameters:
searchQueryData- the search query data- Returns:
- the search results
- Throws:
de.hybris.platform.solrfacetsearch.search.FacetSearchException
-
addApplicableDiscountsFromIndex
void addApplicableDiscountsFromIndex(FacetSearchPageData<SearchStateData, ProductData> productSearchPageData) Retrieves applicable discounts from solr and maps them to eachProductDataand to each one of its prices- Parameters:
productSearchPageData- the product search page that contains the products to which the applicable discounts are added
-