Class DataFetchStartedEvent

All Implemented Interfaces:
Serializable

public class DataFetchStartedEvent extends AbstractDataFetchEvent
Event fired through the service event bus immediately before a page of items is requested from a data provider, on the thread that requests it.
Since:
25.3
See Also:
  • Constructor Details

    • DataFetchStartedEvent

      public DataFetchStartedEvent(UI ui, Component component, int offset, int limit, boolean filtered)
      Creates a new event.
      Parameters:
      ui - the UI the fetching component belongs to, not null
      component - the component whose data is being fetched, or null if it could not be resolved
      offset - the index of the first item requested
      limit - the number of items requested
      filtered - whether a filter was set on the query