Interface SerializablePagedCollection<T>
- All Known Implementing Classes:
CollectionWithPagingInfo
public interface SerializablePagedCollection<T>
A specialist representation of a Collection that can be serialized to json with paging information
- Author:
- Gethin James.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the Collection objectThe search context for the collectionThe requested paging parameters set by the clientThe parent/source entity responsible for the collectionIndicates the total number of items available.boolean
Indicates if the returned collection has more items after the current returned list.
-
Method Details
-
getCollection
Collection<T> getCollection()Returns the Collection object- Returns:
- Collection
-
hasMoreItems
boolean hasMoreItems()Indicates if the returned collection has more items after the current returned list. -
getTotalItems
Integer getTotalItems()Indicates the total number of items available. Can be greater than the number of items returned in the list. -
getSourceEntity
Object getSourceEntity()The parent/source entity responsible for the collection -
getPaging
Paging getPaging()The requested paging parameters set by the client -
getContext
SearchContext getContext()The search context for the collection
-