Interface PageableCollection<T>
- All Known Implementing Classes:
ReadAllQueryResultCollection,ReportQueryResultCollection
public interface PageableCollection<T>
Marker interface for queries returning paged results
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the link.getCount()Gets the total number of records in the current response.Returns true if collection has moregetItems()getLimit()Gets the limit.getLinks()Gets the links.Gets the offset.voidSets the count.voidsetHasMore(Boolean hasMore) Sets hasMorevoidvoidSets the limit.voidSets the links.voidSets the offset.
-
Method Details
-
getItems
-
setItems
-
setHasMore
Sets hasMore- Parameters:
hasMore- the new checks for more
-
getHasMore
Boolean getHasMore()Returns true if collection has more- Returns:
- the checks for more
-
getCount
Integer getCount()Gets the total number of records in the current response.- Returns:
- the count
-
setCount
Sets the count.- Parameters:
count- the new count
-
getLimit
Integer getLimit()Gets the limit.- Returns:
- the limit
-
setLimit
Sets the limit.- Parameters:
limit- the new limit
-
setOffset
Sets the offset.- Parameters:
offset- the new offset
-
getOffset
Integer getOffset()Gets the offset.- Returns:
- the offset
-
getLinks
Gets the links.- Returns:
- the links
-
setLinks
Sets the links.- Parameters:
links- the new links
-
addLink
Adds the link.- Parameters:
link- the link
-