com.atlassian.confluence.api.model.pagination
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
ONE
public static PageRequest ONE
SimplePageRequest
public SimplePageRequest(LimitedRequest request)
SimplePageRequest
public SimplePageRequest(int start,
int limit)
getLimit
public int getLimit()
- Specified by:
getLimit
in interface PageRequest
- Returns:
- the number of the results to return in the page
getStart
public int getStart()
- Specified by:
getStart
in interface PageRequest
- Returns:
- start index for the page of results
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2003–2015 Atlassian. All rights reserved.