Interface PaginatedDataCollector
-
- All Known Implementing Classes:
PaginatedDataCollectorImpl
public interface PaginatedDataCollector
Service for fetching paginated data with extra filtering
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> @NotNull PaginationResult<T>
collect(@NotNull PaginationRequest<T> request, @NotNull PaginatedDataProvider<T> provider)
Fetch data from provider with limitation in request.
-
-
-
Method Detail
-
collect
@NotNull <T> @NotNull PaginationResult<T> collect(@NotNull @NotNull PaginationRequest<T> request, @NotNull @NotNull PaginatedDataProvider<T> provider)
Fetch data from provider with limitation in request.- Type Parameters:
T
- return type- Parameters:
request
- specified request with predicatesprovider
-- Returns:
-
-