Package com.onwbp.adaptation
Class RequestPagination.Page
- java.lang.Object
- com.onwbp.adaptation.RequestPagination.Page
 
- Enclosing class:
- RequestPagination
 
 - public static final class RequestPagination.Page extends Object Represents a page over a request.
-   Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Adaptation>getRows()Returns the rows of the current page, nevernull.intgetSize()Returns the actual size of this page (the number of rows).booleanhasNextPage()Returnsfalseif and only if we are on the last page.booleanhasPreviousPage()Returnsfalseif and only if we are on the first page.booleanisEmpty()Returns whether this page is empty.StringtoString()
 
-   
-   Method Detail- getSize- public int getSize() Returns the actual size of this page (the number of rows).- See Also:
- RequestPagination.setPageSize(int)
 
 - isEmpty- public boolean isEmpty() Returns whether this page is empty.- See Also:
- RequestPagination.setPageSize(int)
 
 - getRows- public List<Adaptation> getRows() Returns the rows of the current page, never- null.- The returned - Listis read only and has a size that is equal or less that the one specified by the method- RequestPagination.setPageSize(int).
 - hasPreviousPage- public boolean hasPreviousPage() Returns- falseif and only if we are on the first page.
 - hasNextPage- public boolean hasNextPage() Returns- falseif and only if we are on the last page.
 
 
-