Class SimplePageRequest
- java.lang.Object
- 
- com.atlassian.confluence.api.model.pagination.SimplePageRequest
 
- 
- All Implemented Interfaces:
- PageRequest
 
 public class SimplePageRequest extends Object implements PageRequest A simple immutable implementation of PageRequest
- 
- 
Field SummaryFields Modifier and Type Field Description static PageRequestONE
 - 
Constructor SummaryConstructors Modifier Constructor Description SimplePageRequest(int start, int limit)protectedSimplePageRequest(int start, Cursor cursor, int limit)SimplePageRequest(Cursor cursor, int limit)SimplePageRequest(LimitedRequest request)
 
- 
- 
- 
Field Detail- 
ONEpublic static final PageRequest ONE 
 
- 
 - 
Constructor Detail- 
SimplePageRequestpublic SimplePageRequest(LimitedRequest request) 
 - 
SimplePageRequestpublic SimplePageRequest(int start, int limit)- Parameters:
- start- zero-based start index for the page of results (first result is 0)
- limit- the number of the results to return in the page
 
 - 
SimplePageRequestpublic SimplePageRequest(Cursor cursor, int limit) 
 - 
SimplePageRequestprotected SimplePageRequest(int start, Cursor cursor, int limit)
 
- 
 - 
Method Detail- 
getLimitpublic int getLimit() - Specified by:
- getLimitin interface- PageRequest
- Returns:
- the number of the results to return in the page
 
 - 
getStartpublic int getStart() - Specified by:
- getStartin interface- PageRequest
- Returns:
- zero-based start index for the page of results (first result is 0)
 
 - 
getCursorpublic Cursor getCursor() - Specified by:
- getCursorin interface- PageRequest
- Returns:
- the identifier which is used to skip results from a previous query when paginating
 
 
- 
 
-