Interface PaginatedDataCollector
- All Known Implementing Classes:
PaginatedDataCollectorImpl
public interface PaginatedDataCollector
Service for fetching paginated data with extra filtering
-
Method Summary
Modifier and TypeMethodDescription<T> @NotNull PaginationResult<T>
collect
(@NotNull PaginationRequest<T> request, @NotNull PaginatedDataProvider<T> provider) Fetch data from provider with limitation in request.
-
Method Details
-
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:
-