Class ProductsSummaryQuery

  • All Implemented Interfaces:
    java.lang.Comparable<SearchQuery>

    public class ProductsSummaryQuery
    extends SearchQuery
    Search for multiple products.
    • Constructor Detail

      • ProductsSummaryQuery

        public ProductsSummaryQuery​(ProductIndexQuery query)
        Constructor makes a SearchQuery of type product summary
        Parameters:
        query - ProductIndexQuery
    • Method Detail

      • getResult

        public java.util.List<ProductSummary> getResult()
        Description copied from class: SearchQuery
        Get the result associated with a specific query type.
        Specified by:
        getResult in class SearchQuery
        Returns:
        the result, or null if the search has not yet executed.
      • setResult

        public void setResult​(java.util.List<ProductSummary> products)
        Parameters:
        products - List of ProductSummaries