Interface Grid.SpringData.FetchCallback<PAGEABLE,T>

Type Parameters:
T - the type of the items to fetch
All Superinterfaces:
Serializable
Enclosing interface:
Grid.SpringData
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 Grid.SpringData.FetchCallback<PAGEABLE,T> extends Serializable
Callback interface for fetching a list of items from a backend based on a Spring Data Pageable.
  • Method Summary

    Modifier and Type
    Method
    Description
    fetch(PAGEABLE pageable)
    Fetches a list of items based on a pageable.
  • Method Details

    • fetch

      List<T> fetch(PAGEABLE pageable)
      Fetches a list of items based on a pageable. The pageable defines the paging of the items to fetch and the sorting.
      Parameters:
      pageable - the pageable that defines which items to fetch and the sort order
      Returns:
      a list of items