public class LimitHelper extends Object
| Modifier and Type | Method and Description | 
|---|---|
static int | 
getFirstRow(RowSelection selection)
Retrieve the indicated first row for pagination 
 | 
static boolean | 
hasFirstRow(RowSelection selection)
Is a first row limit indicated? 
 | 
static boolean | 
hasMaxRows(RowSelection selection)
Is a max row limit indicated? 
 | 
static boolean | 
useLimit(LimitHandler limitHandler,
        RowSelection selection)
Should limit be applied? 
 | 
public static boolean hasMaxRows(RowSelection selection)
selection - The row selection optionspublic static boolean useLimit(LimitHandler limitHandler, RowSelection selection)
limitHandler - The limit handlerselection - The row selectionpublic static boolean hasFirstRow(RowSelection selection)
selection - The row selection optionspublic static int getFirstRow(RowSelection selection)
selection - The row selection optionsCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.