public interface PaginationServiceInternal extends PaginationService
Modifier and Type | Method and Description |
---|---|
<F,T> Paginated<T> |
createPaginated(PaginationBatch<F> fetchBatch,
com.google.common.base.Function<Iterable<F>,Iterable<T>> modelConverter,
int maxLimit)
Deprecated.
since 7.0.1. Use
newPaginated(PaginationBatch, Function, int) |
<F,T> PagingIterator<T> |
createPagingIterator(PaginationBatch<F> fetchBatch,
int resultsPerPage,
com.google.common.base.Function<Iterable<F>,Iterable<T>> modelConverter)
Deprecated.
since 7.0.1. Use
newPagingIterator(PaginationBatch, int, Function) |
default <F,T> Paginated<T> |
newPaginated(PaginationBatch<F> fetchBatch,
Function<Iterable<F>,Iterable<T>> modelConverter,
int maxLimit)
Constructs a Paginated implementation backed by the given PaginationBatch.
|
default <F,T> PagingIterator<T> |
newPagingIterator(PaginationBatch<F> fetchBatch,
int resultsPerPage,
Function<Iterable<F>,Iterable<T>> modelConverter)
Constructs a PagingIterator backed by the given PaginationBatch.
|
doPaginationListRequest, doPaginationRequest, performPaginationListRequest, performPaginationRequest
@Deprecated <F,T> PagingIterator<T> createPagingIterator(PaginationBatch<F> fetchBatch, int resultsPerPage, com.google.common.base.Function<Iterable<F>,Iterable<T>> modelConverter)
newPagingIterator(PaginationBatch, int, Function)
fetchBatch
- - a request for a range of dataresultsPerPage
- - number of results to request from PaginationBatch each invocation.modelConverter
- - a function to convert from the supplied object to a model object, this will be executed within a transaction.PagingIterator
default <F,T> PagingIterator<T> newPagingIterator(PaginationBatch<F> fetchBatch, int resultsPerPage, Function<Iterable<F>,Iterable<T>> modelConverter)
fetchBatch
- - a request for a range of dataresultsPerPage
- - number of results to request from PaginationBatch each invocation.modelConverter
- - a function to convert from the supplied object to a model object, this will be executed within a transaction.PagingIterator
@Deprecated <F,T> Paginated<T> createPaginated(PaginationBatch<F> fetchBatch, com.google.common.base.Function<Iterable<F>,Iterable<T>> modelConverter, int maxLimit)
newPaginated(PaginationBatch, Function, int)
fetchBatch
- - a request for a range of datamodelConverter
- - a function to convert from the supplied object to a model object, this will be executed within a transaction.maxLimit
- - the max limit to apply when creating LimitedRequests for paged requests from the Paginated.Paginated
default <F,T> Paginated<T> newPaginated(PaginationBatch<F> fetchBatch, Function<Iterable<F>,Iterable<T>> modelConverter, int maxLimit)
fetchBatch
- - a request for a range of datamodelConverter
- - a function to convert from the supplied object to a model object, this will be executed within a transaction.maxLimit
- - the max limit to apply when creating LimitedRequests for paged requests from the Paginated.Paginated
Copyright © 2003–2021 Atlassian. All rights reserved.