Interface PaginatedDataCollector

  • All Known Implementing Classes:
    PaginatedDataCollectorImpl

    public interface PaginatedDataCollector
    Service for fetching paginated data with extra filtering
    • 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 predicates
        provider -
        Returns: