Package org.alfresco.search.model
Class Pagination
java.lang.Object
org.alfresco.search.model.Pagination
Pagination
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull LonggetCount()The number of objects in the entries array.@NotNull LongThe value of the **maxItems** parameter used to generate this list, or if there was no **maxItems** parameter the default value is 100@NotNull LongAn 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) @NotNull BooleanA 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.- Returns:
- skipCount
-
setSkipCount
-
maxItems
-
getMaxItems
The value of the **maxItems** parameter used to generate this list, or if there was no **maxItems** parameter the default value is 100- Returns:
- maxItems
-
setMaxItems
-
equals
-
hashCode
public int hashCode() -
toString
-