Class SearchEvent<F,R>

Type Parameters:
F - the filter object class
R - the result object class

@Deprecated(since="16.0", forRemoval=true) public class SearchEvent<F,R> extends BusinessEvent<PageResponse<R>>
Deprecated, for removal: This API element is subject to removal in a future version.
General business event that permits to search an object of <R> type.
The launcher must provide a valid <F> filter in order to successfully call this event.
The listener searches all the <R> objects starting from the event input, i.e. the given <F> filter.
The search result consists of a PageResponse of the found <R> objects.
Since:
9.2
GCApi:
event
No Reactors
No Spouts
  • Field Details

    • filter

      protected F filter
      Deprecated, for removal: This API element is subject to removal in a future version.
    • page

      @Valid protected @Valid Page page
      Deprecated, for removal: This API element is subject to removal in a future version.
    • order

      protected Order order
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • SearchEvent

      public SearchEvent(Page page, F filter)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Instantiates a new search event for <R> object.
      Parameters:
      page - the page that will contain the paginated result
      filter - the set of filters that will be applied to the search
    • SearchEvent

      public SearchEvent(Page page, F filter, Order order)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Instantiates a new search event for <R> object.
      Parameters:
      page - the Page that will contain the paginated result
      filter - the set of filters that will be applied to the search
      order - the order the will be applied to the search
  • Method Details

    • getPage

      public Page getPage()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getFilter

      public F getFilter()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getOrder

      public Order getOrder()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setOrder

      public void setOrder(Order order)
      Deprecated, for removal: This API element is subject to removal in a future version.