Interface ProductSearchService
- All Known Implementing Classes:
DefaultNamedQueryServiceProductSearchService
public interface ProductSearchService
Service Interface for Searching Products
-
Method Summary
Modifier and TypeMethodDescriptionfindProducts(String text, PageableData pageableData, CatalogVersionModel catalogVersion) Method to find products using a free-text form.
-
Method Details
-
findProducts
SearchResult<ProductModel> findProducts(String text, PageableData pageableData, CatalogVersionModel catalogVersion) Method to find products using a free-text form. It also supports pagination.- Parameters:
text- The free-text string to be used on the product searchpageableData- the pagination objectcatalogVersion- the catalog version used in the search- Returns:
- the search result object containing the resulting list and the pagination object.
- Throws:
InvalidNamedQueryException- when the named query is invalid in the application context
-