Class Page<T>

java.lang.Object
org.jobrunr.storage.Page<T>

public class Page<T> extends Object
  • Constructor Details

    • Page

      public Page(long total, List<T> items, PageRequest pageRequest)
    • Page

      public Page(long total, List<T> items, long offset, int limit)
  • Method Details

    • getTotal

      public long getTotal()
    • getOffset

      public long getOffset()
    • getLimit

      public int getLimit()
    • getItems

      public List<T> getItems()
    • getCurrentPage

      public int getCurrentPage()
    • getTotalPages

      public int getTotalPages()
    • hasPrevious

      public boolean hasPrevious()
    • hasNext

      public boolean hasNext()