Interface ProductCategorySearchService
- All Known Implementing Classes:
DefaultProductCategorySearchService
public interface ProductCategorySearchService
Service Interface for Searching Product Categories
-
Method Summary
Modifier and TypeMethodDescriptionfindProductCategories(String text, PageableData pageableData, CatalogVersionModel catalogVersion) Method to find product categories using a free-text form.
-
Method Details
-
findProductCategories
SearchResult<CategoryModel> findProductCategories(String text, PageableData pageableData, CatalogVersionModel catalogVersion) Method to find product categories using a free-text form. It also supports pagination. Query for a localized field (`name` in example) it inner joins a second table (_lp IIRC) where the values per language is stored It should add the modifier :o (for outer join) to the localized field - Parameters:
text- The free-text string to be used on the product category searchpageableData- the pagination objectcatalogVersion- the catalog version to search for the product categories from- 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
-