|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.orion.sdata.servlet.PagingInfo
com.sage.orion.sdata.servlet.IndexedPagingInfo
public class IndexedPagingInfo
The implementation of PagingInfo for IndexedPaging links
Field Summary |
---|
Fields inherited from class com.sage.orion.sdata.servlet.PagingInfo |
---|
resourceSetURL |
Constructor Summary | |
---|---|
IndexedPagingInfo(int pageSize,
int startIndex,
int currentPageSize,
int totalRecords)
Create a paging information structure with the given data. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexedPagingInfo(int pageSize, int startIndex, int currentPageSize, int totalRecords)
pageSize
- the number of records in each page. This should be the page size
specified by the SData consumer (using the count
parameter), or the default page size if the consumer did not
specify a count.startIndex
- the 1-based index of the first recordcurrentPageSize
- the number of records in the feed page being returned, which
might be different from the pageSize
. For example the
last page may well contain less.totalRecords
- the total number of records in the whole set (including those
not yet returned)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |