Package org.alfresco.model.model
Class Pagination
java.lang.Object
org.alfresco.model.model.Pagination
Pagination
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCount()The number of objects in the entries array.The value of the **maxItems** parameter used to generate this list.An integer describing how many entities exist in the collection before those included in this list.An integer describing the total number of entities in the collection.inthashCode()hasMoreItems(Boolean hasMoreItems) A boolean value which is **true** if there are more entities in the collection beyond those in this response.voidvoidsetHasMoreItems(Boolean hasMoreItems) voidsetMaxItems(Long maxItems) voidsetSkipCount(Long skipCount) voidsetTotalItems(Long totalItems) toString()totalItems(Long totalItems)
-
Constructor Details
-
Pagination
public Pagination()
-
-
Method Details
-
count
-
getCount
The number of objects in the entries array.- Returns:
- count
-
setCount
-
hasMoreItems
-
isHasMoreItems
A boolean value which is **true** if there are more entities in the collection beyond those in this response. A true value means a request with a larger value for the **skipCount** or the **maxItems** parameter will return more entities.- Returns:
- hasMoreItems
-
setHasMoreItems
-
totalItems
-
getTotalItems
An integer describing the total number of entities in the collection. The API might not be able to determine this value, in which case this property will not be present.- Returns:
- totalItems
-
setTotalItems
-
skipCount
-
getSkipCount
An integer describing how many entities exist in the collection before those included in this list. If there was no **skipCount** parameter then the default value is 0.- Returns:
- skipCount
-
setSkipCount
-
maxItems
-
getMaxItems
The value of the **maxItems** parameter used to generate this list. If there was no **maxItems** parameter then the default value is 100.- Returns:
- maxItems
-
setMaxItems
-
equals
-
hashCode
public int hashCode() -
toString
-