Uses of Interface
com.atlassian.confluence.api.model.pagination.Cursor
-
-
Uses of Cursor in com.atlassian.confluence.api.impl.pagination
Method parameters in com.atlassian.confluence.api.impl.pagination with type arguments of type Cursor Modifier and Type Method Description <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 Cursor Modifier and Type Class Description class
ContentCursor
A class which could be used to generate cursor for the next/previous content pagination request or get cursor from stringclass
SpaceCursor
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 Cursor Modifier and Type Method Description default Cursor
LimitedRequest. getCursor()
Cursor
LimitedRequestImpl. getCursor()
default Cursor
PageRequest. getCursor()
Cursor
SimplePageRequest. getCursor()
default Cursor
PageResponse. getNextCursor()
Cursor
PageResponseImpl. getNextCursor()
default Cursor
PageResponse. getPrevCursor()
Cursor
PageResponseImpl. getPrevCursor()
Methods in com.atlassian.confluence.api.model.pagination with parameters of type Cursor Modifier and Type Method Description static LimitedRequest
LimitedRequestImpl. create(Cursor cursor, int limit, int maxLimit)
B
PageResponseImpl.Builder. nextCursor(Cursor nextCursor)
B
PageResponseImpl.Builder. prevCursor(Cursor prevCursor)
Method parameters in com.atlassian.confluence.api.model.pagination with type arguments of type Cursor Modifier and Type Method Description static <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 Cursor Constructor Description LimitedRequestImpl(int start, Cursor cursor, int limit, int needed, int maxLimit, boolean shouldSkipDiscardingThreshold)
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 Cursor Modifier and Type Method Description static Cursor
CursorFactory. buildFrom(String cursorString)
Create cursor from stringMethod parameters in com.atlassian.confluence.api.service.pagination with type arguments of type Cursor Modifier and Type Method Description default <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.rest.api.model
Methods in com.atlassian.confluence.rest.api.model that return Cursor Modifier and Type Method Description Cursor
RestPageRequest. getCursor()
Cursor
RestList. getNextCursor()
Cursor
RestList. getPrevCursor()
Methods in com.atlassian.confluence.rest.api.model with parameters of type Cursor Modifier and Type Method Description RestList.Builder<T>
RestList.Builder. results(List<T> results, Cursor nextCursor, Cursor prevCursor, boolean hasMore)
Constructors in com.atlassian.confluence.rest.api.model with parameters of type Cursor Constructor Description RestPageRequest(Navigation.Builder navBuilder, Cursor cursor, int limit)
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)
-