Interface CallbackDataProvider.FetchCallback<T>

Type Parameters:
T - the data item type
Enclosing class:
CallbackDataProvider<T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface CallbackDataProvider.FetchCallback<T>
Callback for fetching a page of data.
  • Method Summary

    Modifier and Type
    Method
    Description
    fetch(Query query)
    Fetches items matching the query.
  • Method Details

    • fetch

      DataResult<T> fetch(Query query)
      Fetches items matching the query.
      Parameters:
      query - the query parameters
      Returns:
      the result with items and total count