Interface SerializablePagedCollection<T>

All Known Subinterfaces:
ListPage<E>
All Known Implementing Classes:
ArrayListPage, CollectionWithPagingInfo

public interface SerializablePagedCollection<T>
A specialist representation of a Collection that can be serialized to json with paging information
Author:
Gethin James.
  • 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