Uses of Interface
com.atlassian.confluence.api.model.pagination.Cursor
Packages that use Cursor
Package
Description
-
Uses of Cursor in com.atlassian.confluence.api.impl.pagination
Method parameters in com.atlassian.confluence.api.impl.pagination with type arguments of type CursorModifier 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.api.model.pagination
Classes in com.atlassian.confluence.api.model.pagination that implement CursorModifier 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 spaceMethods in com.atlassian.confluence.api.model.pagination that return CursorModifier and TypeMethodDescriptiondefault Cursor
LimitedRequest.getCursor()
LimitedRequestImpl.getCursor()
default Cursor
PageRequest.getCursor()
SimplePageRequest.getCursor()
NavigablePageResponseImpl.getNextCursor()
default Cursor
PageResponse.getNextCursor()
PageResponseImpl.getNextCursor()
NavigablePageResponseImpl.getPrevCursor()
default Cursor
PageResponse.getPrevCursor()
PageResponseImpl.getPrevCursor()
Methods in com.atlassian.confluence.api.model.pagination with parameters of type CursorModifier and TypeMethodDescriptionstatic LimitedRequest
NavigablePageResponseImpl.Builder.nextCursor
(Cursor nextCursor) PageResponseImpl.Builder.nextCursor
(Cursor nextCursor) NavigablePageResponseImpl.Builder.prevCursor
(Cursor prevCursor) PageResponseImpl.Builder.prevCursor
(Cursor prevCursor) Method parameters in com.atlassian.confluence.api.model.pagination with type arguments of type CursorModifier 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.Constructors in com.atlassian.confluence.api.model.pagination with parameters of type CursorModifierConstructorDescriptionprotected
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
Methods in com.atlassian.confluence.api.service.pagination that return CursorModifier and TypeMethodDescriptionstatic Cursor
Create cursor from stringstatic Cursor
CursorFactory.getEmptyCursorBy
(ContentType contentType) Method parameters in com.atlassian.confluence.api.service.pagination with type arguments of type CursorModifier 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.static void
CursorFactory.registerCursorInstanceCreator
(String cursorType, Function<String, Cursor> function) Additional cursor types could be registered through this method. -
Uses of Cursor in com.atlassian.confluence.internal.api.incrementalsync.model
Classes in com.atlassian.confluence.internal.api.incrementalsync.model that implement CursorModifier and TypeClassDescriptionclass
A class which could be used to generate cursor for the next incremental sync pagination requestMethods in com.atlassian.confluence.internal.api.incrementalsync.model that return CursorMethods in com.atlassian.confluence.internal.api.incrementalsync.model with parameters of type CursorModifier and TypeMethodDescriptionIncrementalSyncPageResponse.Builder.setNextCursor
(Cursor nextCursor) -
Uses of Cursor in com.atlassian.confluence.rest.v2.api.model
Methods in com.atlassian.confluence.rest.v2.api.model that return CursorModifier and TypeMethodDescriptionRestPageRequest.getCursor()
RestList.getNextCursor()
RestList.getPrevCursor()
Methods in com.atlassian.confluence.rest.v2.api.model with parameters of type CursorModifier and TypeMethodDescriptionConstructors in com.atlassian.confluence.rest.v2.api.model with parameters of type CursorModifierConstructorDescriptionRestPageRequest
(Navigation.Builder navBuilder, Cursor cursor, int limit) Deprecated.protected
RestPageRequest
(URI requestUri, int start, Cursor cursor, int limit) RestPageRequest
(URI requestUri, Cursor cursor, int limit) protected
RestPageRequest
(javax.ws.rs.core.UriBuilder requestUri, int start, Cursor cursor, int limit) Deprecated.since 9.4 useRestPageRequest(URI, int, Cursor, int)
RestPageRequest
(javax.ws.rs.core.UriBuilder requestUri, Cursor cursor, int limit) Deprecated.since 9.4 useRestPageRequest(URI, Cursor, int)
RestPageRequest
(javax.ws.rs.core.UriInfo requestInfo, Cursor cursor, int limit) Deprecated.since 9.4 useRestPageRequest(URI, Cursor, int)
-
Uses of Cursor in com.atlassian.confluence.rest.v2.api.services
Methods in com.atlassian.confluence.rest.v2.api.services with parameters of type CursorModifier and TypeMethodDescriptiondefault PageRequest
RestNavigation.RestBuilder.createPageRequest
(Cursor cursor, int limit)
Navigation.Builder.createPageRequest(Cursor, int)