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 newPaging
instance with the specified paging parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
BigInteger
getMaxItems()
Gets the maximum number of items to return.BigInteger
getSkipCount()
Gets the number of items to skip before returning the items.int
hashCode()
-
-
-
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 newPaging
instance 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.
-
-