Class Page<T>

java.lang.Object
com.liferay.batch.engine.pagination.Page<T>

public class Page<T> extends Object
  • Method Details

    • of

      public static <T> Page<T> of(Collection<T> items)
    • of

      public static <T> Page<T> of(Collection<T> items, Pagination pagination, long totalCount)
    • getItems

      public Collection<T> getItems()
    • getLastPage

      public long getLastPage()
    • getPage

      public long getPage()
    • getPageSize

      public long getPageSize()
    • getTotalCount

      public long getTotalCount()
    • hasNext

      public boolean hasNext()
    • hasPrevious

      public boolean hasPrevious()