Interface ProductSearchService

    • Method Detail

      • findProducts

        SearchResult<ProductModel> findProducts​(java.lang.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 search
        pageableData - the pagination object
        catalogVersion - 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