Package | Description |
---|---|
com.atlassian.confluence.api.impl.pagination | |
com.atlassian.confluence.api.service.pagination |
Modifier and Type | Method and Description |
---|---|
<F,T> Paginated<T> |
PaginationServiceImpl.createPaginated(PaginationBatch<F> fetchBatch,
com.google.common.base.Function<Iterable<F>,Iterable<T>> modelConverter,
int maxLimit) |
<F,T> Paginated<T> |
PaginationServiceInternal.createPaginated(PaginationBatch<F> fetchBatch,
com.google.common.base.Function<Iterable<F>,Iterable<T>> modelConverter,
int maxLimit)
Constructs a Paginated implementation backed by the given PaginationBatch.
|
<F,T> PagingIterator<T> |
PaginationServiceImpl.createPagingIterator(PaginationBatch<F> fetchBatch,
int resultsPerPage,
com.google.common.base.Function<Iterable<F>,Iterable<T>> modelConverter) |
<F,T> PagingIterator<T> |
PaginationServiceInternal.createPagingIterator(PaginationBatch<F> fetchBatch,
int resultsPerPage,
com.google.common.base.Function<Iterable<F>,Iterable<T>> modelConverter)
Constructs a PagingIterator backed by the given PaginationBatch.
|
<H,M> PageResponse<M> |
PaginationServiceImpl.doPaginationListRequest(LimitedRequest initialRequest,
PaginationBatch<H> fetchPage,
com.google.common.base.Function<Iterable<H>,Iterable<M>> modelConverter) |
<H,M> PageResponse<M> |
PaginationServiceImpl.doPaginationRequest(LimitedRequest initialRequest,
PaginationBatch<H> fetchPage,
com.google.common.base.Function<? super H,M> modelConverter) |
Modifier and Type | Method and Description |
---|---|
<H,M> PageResponse<M> |
PaginationService.doPaginationListRequest(LimitedRequest pageRequest,
PaginationBatch<H> fetchBatch,
com.google.common.base.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.doPaginationRequest(LimitedRequest pageRequest,
PaginationBatch<H> fetchBatch,
com.google.common.base.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.
|
Copyright © 2003–2018 Atlassian. All rights reserved.