Interface TmaProductSearchFacade<T extends ProductData>
- Type Parameters:
T- Class that extendsProductData
- All Known Implementing Classes:
DefaultTmaProductSearchFacade
public interface TmaProductSearchFacade<T extends ProductData>
Facade handling ProductOffering search operations.
- Since:
- 1907
-
Method Summary
Modifier and TypeMethodDescriptiondecodeFacetSearchQuery(List<String> facetSearchOption) Creates a list ofSolrSearchQueryTermDatafrom the parameter provided.getProductOfferingsForOptions(ProductOfferingSearchContextData productOfferingSearchContext, Collection<ProductOption> options) Deprecated, for removal: This API element is subject to removal in a future version.since 1911 - use getAllProductsForOptions method of ProductExportFacade insteadgetSolrSearchResults(SolrSearchQueryData searchQuery, Integer offset, Integer limit) Calculates page number from offset and limit and returns those page/pages which contain the requested Product Offerings.
-
Method Details
-
getSolrSearchResults
List<FacetSearchPageData<SearchStateData,T>> getSolrSearchResults(SolrSearchQueryData searchQuery, Integer offset, Integer limit) Calculates page number from offset and limit and returns those page/pages which contain the requested Product Offerings.- Parameters:
searchQuery- The query to be executedoffset- The nth Product Offering from which limit number of Product Offerings will be sent (starts from 0)limit- The number of Product Offerings- Returns:
- List of
ProductSearchPageDatawhich contains the requested product offerings
-
decodeFacetSearchQuery
Creates a list ofSolrSearchQueryTermDatafrom the parameter provided.- Parameters:
facetSearchOption- list of filter options- Returns:
- List of
SolrSearchQueryTermData
-
getProductOfferingsForOptions
@Deprecated(since="1911", forRemoval=true) ProductResultData getProductOfferingsForOptions(ProductOfferingSearchContextData productOfferingSearchContext, Collection<ProductOption> options) Deprecated, for removal: This API element is subject to removal in a future version.since 1911 - use getAllProductsForOptions method of ProductExportFacade instead- Parameters:
productOfferingSearchContextData- product search context object stores all attributes for searchoptions- options set that determines amount of information that will be attached to the returned product.- Returns:
ProductResultData
-