|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPageCursor
The Interface IPageCursor.
Method Summary | |
---|---|
void |
checkCurrentPage()
Check current page. |
int |
getCurrentPage()
Gets the current page for the cursor. |
int |
getEndPage()
Gets the ending page for the cursor. |
int |
getEndRecord()
Gets the ending record for the current page. |
boolean |
getHasNextPage()
Determine if the cursor has a next page. |
boolean |
getHasPreviousPage()
Determine if the cursor has a previous page. |
int |
getNextPage()
Gets the next page. |
int |
getPagesPerCursor()
Gets the maximum number of pages to be displayed per cursor. |
int |
getPreviousPage()
Gets the previous page. |
int |
getRecordsPerPage()
Gets the maximum number of records to be displayed per page. |
int |
getStartPage()
Gets the starting page for the cursor. |
int |
getStartRecord()
Gets the starting record for the current page. |
int |
getTotalPageCount()
Gets the total page count. |
int |
getTotalRecordCount()
Gets the total record count. |
void |
setCurrentPage(int currentPage)
Sets the current page for the cursor. |
void |
setPagesPerCursor(int pagesPerCursor)
Sets the maximum number of pages to be displayed per cursor. |
void |
setRecordsPerPage(int recordsPerPage)
Sets the maximum number of records to be displayed per page. |
void |
setRecordsPerPageProvider(PageCursor.IRecordsPerPageProvider recordsPerPageProvider)
Sets records per page provider. |
void |
setTotalRecordCount(int totalRecordCount)
Sets the total record count. |
Method Detail |
---|
int getCurrentPage()
void setCurrentPage(int currentPage)
currentPage
- the current pageint getEndPage()
int getEndRecord()
boolean getHasNextPage()
boolean getHasPreviousPage()
int getNextPage()
int getPagesPerCursor()
void setPagesPerCursor(int pagesPerCursor)
pagesPerCursor
- the maximum number of pages per cursorint getPreviousPage()
int getRecordsPerPage()
void setRecordsPerPage(int recordsPerPage)
recordsPerPage
- the maximum number of records per pagevoid setRecordsPerPageProvider(PageCursor.IRecordsPerPageProvider recordsPerPageProvider)
recordsPerPageProvider
- records per page providerint getStartPage()
int getStartRecord()
int getTotalPageCount()
The total page count is based upon the total record count and the number of records per page.
int getTotalRecordCount()
This is the total record count associated with a query. It is used in conjunction with recordsPerPage to determine the number of pages available to the cursor.
void setTotalRecordCount(int totalRecordCount)
This is the total record count associated with a query. It is used in conjunction with recordsPerPage to determine the number of pages available to the cursor.
totalRecordCount
- the total record countvoid checkCurrentPage()
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |