Package org.silverpeas.cmis
Class Paging
- java.lang.Object
-
- org.silverpeas.cmis.Paging
-
public class Paging extends Object
Paging parameters to apply to the collection of items to return.- Author:
- mmoquillon
-
-
Constructor Summary
Constructors Constructor Description Paging(BigInteger skipCount, BigInteger maxItems)Constructs a newPaginginstance with the specified paging parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)BigIntegergetMaxItems()Gets the maximum number of items to return.BigIntegergetSkipCount()Gets the number of items to skip before returning the items.inthashCode()
-
-
-
Field Detail
-
NO_PAGING
public static final Paging NO_PAGING
Default value for no paging.
-
-
Constructor Detail
-
Paging
public Paging(BigInteger skipCount, BigInteger maxItems)
Constructs a newPaginginstance with the specified paging parameters.- Parameters:
skipCount- the number of items to skip in the collection to return.maxItems- the number of items to return in the collection.
-
-
Method Detail
-
getMaxItems
public BigInteger getMaxItems()
Gets the maximum number of items to return.- Returns:
- the maximum items count in the collection to return.
-
getSkipCount
public BigInteger getSkipCount()
Gets the number of items to skip before returning the items.- Returns:
- the items count to skip in the collection to return.
-
-