Class EventDetailQuery

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

    public class EventDetailQuery
    extends SearchQuery
    Search for one event.
    • Constructor Detail

      • EventDetailQuery

        public EventDetailQuery​(ProductIndexQuery query)
        Constructor. Takes in a single ProductIndexQuery
        Parameters:
        query - ProductIndexQuery
    • Method Detail

      • getResult

        public java.util.List<Event> 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<Event> event)
        Parameters:
        event - list of events to set as result