Class Paging
- java.lang.Object
-
- com.saperion.connector.options.paging.Paging
-
public final class Paging extends java.lang.ObjectPaging is used to set the range of pages that should be rendered.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaging.RangeA 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.Rangefrom(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.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object- See Also:
Object.toString()
-
-