Class PaginatedResult<T>

java.lang.Object
tech.ailef.dbadmin.external.dto.PaginatedResult<T>

public class PaginatedResult<T> extends Object
A wrapper class that holds info about the current pagination and one page of returned result.
  • Constructor Details

  • Method Details

    • getPagination

      public PaginationInfo getPagination()
      Returns the pagination settings used to produce this output
      Returns:
    • getResults

      public List<T> getResults()
      Returns the list of results in the current page
      Returns:
    • isEmpty

      public boolean isEmpty()
      Returns whether the results are empty
      Returns:
    • getNumberOfResults

      public int getNumberOfResults()
      Returns the number of results for the current page
      Returns: