|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PagingControl
A class that implements the PagingControl
interface provides
information about which page of a feed is being requested.
Nested Class Summary | |
---|---|
static class |
PagingControl.PagingMethod
|
Method Summary | |
---|---|
java.lang.Integer |
getCount()
Gets the number of records to be returned. |
SDataConstants.KeyDirection |
getKeyDirection()
Gets the SDataConstants.KeyDirection for the paging request. |
PagingControl.PagingMethod |
getMethod()
Gets the paging method used. |
java.lang.Integer |
getStartIndex()
Gets the starting index of the first record to be returned. |
java.lang.String |
getStartKey()
Gets the startKey value for paging. |
boolean |
isLastPage()
returns whether this request is for the last page or not. |
Method Detail |
---|
java.lang.String getStartKey()
The value returned, if any, is in the SData form, without any surrounding quotes etc. and without any transport-related encoding. However it is still encoded according to the application's method for encoding keys.
SDataConstants.KeyDirection getKeyDirection()
SDataConstants.KeyDirection
for the paging request.
SDataConstants.KeyDirection
or null if no keyDirection
existsjava.lang.Integer getStartIndex()
Note: This index is 1-based.
java.lang.Integer getCount()
boolean isLastPage()
PagingControl.PagingMethod getMethod()
PagingControl.PagingMethod
used.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |