Class Page<T>

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

public class Page<T> extends Object
  • Constructor Details

  • Method Details

    • emptyPage

      public static Page emptyPage()
    • getTotal

      public Long getTotal()
    • getCurrentPage

      public int getCurrentPage()
    • getTotalPages

      public int getTotalPages()
    • getLimit

      public int getLimit()
    • getOffset

      public long getOffset()
    • getPreviousPage

      public String getPreviousPage()
    • getNextPage

      public String getNextPage()
    • getItems

      public List<T> getItems()
    • hasItems

      public boolean hasItems()
    • hasPreviousPage

      public boolean hasPreviousPage()
    • hasNextPage

      public boolean hasNextPage()