Package org.alfresco.search.sql.model
Class Pagination
- java.lang.Object
-
- org.alfresco.search.sql.model.Pagination
-
@Validated public class Pagination extends Object
Pagination
-
-
Constructor Summary
Constructors Constructor Description Pagination()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Paginationcount(Long count)booleanequals(Object o)@NotNull LonggetCount()The number of objects in the entries array.@NotNull LonggetMaxItems()The value of the **maxItems** parameter used to generate this list, or if there was no **maxItems** parameter the default value is 100@NotNull LonggetSkipCount()An integer describing how many entities exist in the collection before those included in this list.LonggetTotalItems()An integer describing the total number of entities in the collection.inthashCode()PaginationhasMoreItems(Boolean hasMoreItems)@NotNull BooleanisHasMoreItems()A boolean value which is **true** if there are more entities in the collection beyond those in this response.PaginationmaxItems(Long maxItems)voidsetCount(Long count)voidsetHasMoreItems(Boolean hasMoreItems)voidsetMaxItems(Long maxItems)voidsetSkipCount(Long skipCount)voidsetTotalItems(Long totalItems)PaginationskipCount(Long skipCount)StringtoString()PaginationtotalItems(Long totalItems)
-
-
-
Method Detail
-
count
public Pagination count(Long count)
-
getCount
@NotNull public @NotNull Long getCount()
The number of objects in the entries array.- Returns:
- count
-
setCount
public void setCount(Long count)
-
hasMoreItems
public Pagination hasMoreItems(Boolean hasMoreItems)
-
isHasMoreItems
@NotNull public @NotNull Boolean 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
public void setHasMoreItems(Boolean hasMoreItems)
-
totalItems
public Pagination totalItems(Long totalItems)
-
getTotalItems
public Long 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
public void setTotalItems(Long totalItems)
-
skipCount
public Pagination skipCount(Long skipCount)
-
getSkipCount
@NotNull public @NotNull Long getSkipCount()
An integer describing how many entities exist in the collection before those included in this list.- Returns:
- skipCount
-
setSkipCount
public void setSkipCount(Long skipCount)
-
maxItems
public Pagination maxItems(Long maxItems)
-
getMaxItems
@NotNull public @NotNull Long 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
public void setMaxItems(Long maxItems)
-
-