Uses of Interface
com.atlassian.confluence.api.model.pagination.Cursor
Package
Description
-
Uses of Cursor in com.atlassian.confluence.api.model.pagination
Modifier and TypeClassDescriptionclass
A class which could be used to generate cursor for the next/previous content pagination request or get cursor from stringclass
A class which could be used to generate cursor for the next/previous space pagination request or get cursor from spaceModifier and TypeMethodDescriptiondefault Cursor
LimitedRequest.getCursor()
LimitedRequestImpl.getCursor()
default Cursor
PageRequest.getCursor()
SimplePageRequest.getCursor()
default Cursor
PageResponse.getNextCursor()
PageResponseImpl.getNextCursor()
default Cursor
PageResponse.getPrevCursor()
PageResponseImpl.getPrevCursor()
Modifier and TypeMethodDescriptionstatic LimitedRequest
PageResponseImpl.Builder.nextCursor
(Cursor nextCursor) PageResponseImpl.Builder.prevCursor
(Cursor prevCursor) Modifier and TypeMethodDescriptionstatic <T> PageResponse<T>
PageResponseImpl.filteredResponseWithCursor
(LimitedRequest limitedRequest, List<T> items, Predicate<? super T> predicate, BiFunction<T, Boolean, Cursor> cursorCalculator, Comparator<T> ascComparator) Reduces a list of items for a limited request by the predicate provided.ModifierConstructorDescriptionprotected
LimitedRequestImpl
(int start, Cursor cursor, int limit, int needed, int maxLimit, boolean shouldSkipDiscardingThreshold) protected
SimplePageRequest
(int start, Cursor cursor, int limit) SimplePageRequest
(Cursor cursor, int limit) -
Uses of Cursor in com.atlassian.confluence.api.service.pagination
Modifier and TypeMethodDescription<H,
M> PageResponse<M> PaginationService.performPaginationListRequestWithCursor
(LimitedRequest pageRequest, Function<LimitedRequest, PageResponse<H>> fetchBatch, Function<Iterable<H>, Iterable<M>> modelConverter, BiFunction<H, Boolean, Cursor> cursorCalculator) Perform a pagination request, this will execute the fetchBatch function as many times as to retrieve the page of results. -
Uses of Cursor in com.atlassian.confluence.impl.pagination
Modifier and TypeMethodDescription<H,
M> PageResponse<M> PaginationServiceImpl.performPaginationListRequestWithCursor
(LimitedRequest initialRequest, Function<LimitedRequest, PageResponse<H>> fetchBatch, Function<Iterable<H>, Iterable<M>> modelConverter, BiFunction<H, Boolean, Cursor> cursorCalculator) -
Uses of Cursor in com.atlassian.confluence.rest.v2.api.model
Modifier and TypeMethodDescriptionRestPageRequest.getCursor()
RestList.getNextCursor()
RestList.getPrevCursor()
Modifier and TypeMethodDescriptionModifierConstructorDescriptionRestPageRequest
(Navigation.Builder navBuilder, Cursor cursor, int limit) protected
RestPageRequest
(javax.ws.rs.core.UriBuilder requestUri, int start, Cursor cursor, int limit) RestPageRequest
(javax.ws.rs.core.UriBuilder requestUri, Cursor cursor, int limit) RestPageRequest
(javax.ws.rs.core.UriInfo requestInfo, Cursor cursor, int limit)