|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.drinkjava2.jdialects.hibernatesrc.pagination.LimitHelper
public class LimitHelper
A helper for dealing with LimitHandler implementations
| Method Summary | |
|---|---|
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)
|
static boolean |
useLimit(LimitHandler limitHandler,
RowSelection selection)
Should limit be applied? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean hasMaxRows(RowSelection selection)
public static boolean useLimit(LimitHandler limitHandler,
RowSelection selection)
limitHandler - The limit handlerselection - The row selection
public static boolean hasFirstRow(RowSelection selection)
selection - The row selection options
public static int getFirstRow(RowSelection selection)
selection - The row selection options
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||