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 classContentCursorA class which could be used to generate cursor for the next/previous content pagination request or get cursor from stringclassSpaceCursorA 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 CursorLimitedRequest. getCursor()CursorLimitedRequestImpl. getCursor()default CursorPageRequest. getCursor()CursorSimplePageRequest. getCursor()default CursorPageResponse. getNextCursor()CursorPageResponseImpl. getNextCursor()default CursorPageResponse. getPrevCursor()CursorPageResponseImpl. getPrevCursor()Methods in com.atlassian.confluence.api.model.pagination with parameters of type Cursor Modifier and Type Method Description static LimitedRequestLimitedRequestImpl. create(Cursor cursor, int limit, int maxLimit)BPageResponseImpl.Builder. nextCursor(Cursor nextCursor)BPageResponseImpl.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 CursorCursorFactory. 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 CursorRestPageRequest. getCursor()CursorRestList. getNextCursor()CursorRestList. 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)
-