Uses of Interface
com.atlassian.confluence.api.model.pagination.PaginationBatch
Package
Description
-
Uses of PaginationBatch in com.atlassian.confluence.api.service.pagination
Modifier and TypeMethodDescription<H,
M> PageResponse<M> PaginationService.performPaginationListRequest
(LimitedRequest pageRequest, PaginationBatch<H> fetchBatch, Function<Iterable<H>, Iterable<M>> modelConverter) Perform a pagination request, this will execute the fetchBatch function as many times as necessary to retrieve the page of results.<H,
M> PageResponse<M> PaginationService.performPaginationRequest
(LimitedRequest pageRequest, PaginationBatch<H> fetchBatch, Function<? super H, M> modelConverter) Perform a pagination request, this will execute the fetchBatch function as many times as necessary to retrieve the page of results. -
Uses of PaginationBatch in com.atlassian.confluence.impl.pagination
Modifier and TypeMethodDescription<F,
T> Paginated<T> PaginationServiceImpl.newPaginated
(PaginationBatch<F> fetchBatch, Function<Iterable<F>, Iterable<T>> modelConverter, int maxLimit) <F,
T> Paginated<T> PaginationServiceInternal.newPaginated
(PaginationBatch<F> fetchBatch, Function<Iterable<F>, Iterable<T>> modelConverter, int maxLimit) Constructs a Paginated implementation backed by the given PaginationBatch.<F,
T> PagingIterator<T> PaginationServiceImpl.newPagingIterator
(PaginationBatch<F> fetchBatch, int resultsPerPage, Function<Iterable<F>, Iterable<T>> modelConverter) <F,
T> PagingIterator<T> PaginationServiceInternal.newPagingIterator
(PaginationBatch<F> fetchBatch, int resultsPerPage, Function<Iterable<F>, Iterable<T>> modelConverter) Constructs a PagingIterator backed by the given PaginationBatch.<H,
M> PageResponse<M> PaginationServiceImpl.performPaginationListRequest
(LimitedRequest initialRequest, PaginationBatch<H> fetchPage, Function<Iterable<H>, Iterable<M>> modelConverter) <H,
M> PageResponse<M> PaginationServiceImpl.performPaginationRequest
(LimitedRequest initialRequest, PaginationBatch<H> fetchPage, Function<? super H, M> modelConverter)