Class Paging
- java.lang.Object
-
- com.saperion.connector.options.paging.Paging
-
public final class Paging extends java.lang.Object
Paging is used to set the range of pages that should be rendered.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Paging.Range
A paging where the beginning of the range of pages was already set.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Paging.Range
from(java.lang.Integer from)
Starts the creation of a new Paging starting from the specified page.java.util.Set<java.lang.Integer>
getAllPages()
Gets a set containing all pages that should be rendered.java.lang.String
toString()
-
-
-
Method Detail
-
from
public static Paging.Range from(java.lang.Integer from)
Starts the creation of a new Paging starting from the specified page.- Parameters:
from
- from page- Returns:
- the range
-
getAllPages
public java.util.Set<java.lang.Integer> getAllPages()
Gets a set containing all pages that should be rendered.- Returns:
- the set containing all pages
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
-