Interface PageableCollection<T>

All Known Implementing Classes:
ReadAllQueryResultCollection, ReportQueryResultCollection

public interface PageableCollection<T>
Marker interface for queries returning paged results
See Also:
  • Method Details

    • getItems

      List<T> getItems()
    • setItems

      void setItems(List<T> items)
    • setHasMore

      void setHasMore(Boolean hasMore)
      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

      void setCount(Integer count)
      Sets the count.
      Parameters:
      count - the new count
    • getLimit

      Integer getLimit()
      Gets the limit.
      Returns:
      the limit
    • setLimit

      void setLimit(Integer limit)
      Sets the limit.
      Parameters:
      limit - the new limit
    • setOffset

      void setOffset(Integer offset)
      Sets the offset.
      Parameters:
      offset - the new offset
    • getOffset

      Integer getOffset()
      Gets the offset.
      Returns:
      the offset
    • getLinks

      List<org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2> getLinks()
      Gets the links.
      Returns:
      the links
    • setLinks

      void setLinks(List<org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2> links)
      Sets the links.
      Parameters:
      links - the new links
    • addLink

      void addLink(org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2 link)
      Adds the link.
      Parameters:
      link - the link