Class ProductDetailQuery

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

    public class ProductDetailQuery
    extends SearchQuery
    Search for one product.
    • Constructor Detail

      • ProductDetailQuery

        public ProductDetailQuery​(ProductIndexQuery query)
        Constructor making a SearchQuery object with PRODUCT_DETAIL as the method
        Parameters:
        query - a ProductIndexQuery
    • Method Detail

      • getResult

        public java.util.List<Product> 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<Product> product)
        Parameters:
        product - list to set