|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.orion.sdata.servlet.DefaultPagingControl
com.sage.orion.sdata.servlet.IndexedPagingControl
public final class IndexedPagingControl
A structure to hold the elements of any indexed paging control request.
This holds the paging information as Objects rather than primitives, with null references used if they were not specified.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.sage.orion.sdata.servlet.PagingControl |
---|
PagingControl.PagingMethod |
Method Summary | |
---|---|
PagingControl.PagingMethod |
getMethod()
Gets the paging method used. |
java.lang.Integer |
getStartIndex()
Gets the starting index of the first record to be returned. |
boolean |
isLastPage()
returns whether this request is for the last page or not. |
Methods inherited from class com.sage.orion.sdata.servlet.DefaultPagingControl |
---|
getCount, getKeyDirection, getStartKey |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.Integer getStartIndex()
PagingControl
Note: This index is 1-based.
getStartIndex
in interface PagingControl
getStartIndex
in class DefaultPagingControl
public boolean isLastPage()
PagingControl
isLastPage
in interface PagingControl
isLastPage
in class DefaultPagingControl
public PagingControl.PagingMethod getMethod()
PagingControl
getMethod
in interface PagingControl
getMethod
in class DefaultPagingControl
PagingControl.PagingMethod
used.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |