|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface defines a paging scheme that manages the number of search results that are displayed per page and the number of pages allowed in a range.
| Method Summary | |
int |
getCurrPageNumber()
Gets the current page number. |
int |
getItemsPerPage()
Gets the number of objects in a page. |
int |
getPagesPerRange()
Gets the number of pages in a range. |
int |
getRangeFirstPageNumber()
Gets the first page number in the current range. |
int |
getRangeLastPageNumber()
Gets the last page number in the current range. |
boolean |
hasNextPage()
Gets a boolean that determines whether the
IPagingQueryBase object has a next page.
|
boolean |
hasNextRange()
Gets a boolean that determines whether the
IPagingQueryBase object has a succeeding range.
|
boolean |
hasPrevPage()
Gets a boolean that determines whether the
IPagingQueryBase object has a previous page.
|
boolean |
hasPrevRange()
Gets a boolean that determines whether the
IPagingQueryBase object has a preceding range.
|
void |
moveToFirstPage()
Moves to the first page of the query set. |
void |
moveToLastPage()
Moves to the last page of the query set. |
void |
moveToNextPage()
Moves to the next page. |
void |
moveToNextRange()
Moves to the succeeding range. |
void |
moveToPreviousPage()
Moves to the previous page in the query set. |
void |
moveToPreviousRange()
Moves to the preceding range. |
void |
setCurrPageNumber(int val)
Sets the current page number. |
void |
setItemsPerPage(int lNum)
Sets the number of objects in a page. |
void |
setPagesPerRange(int lNum)
Sets the number of pages in a range. |
| Method Detail |
public int getItemsPerPage()
Gets the number of objects in a page.
int number of items that are allowed per page.
public void setItemsPerPage(int lNum)
throws SDKException
Sets the number of objects in a page.
lNum - The int that limits the number of objects per page.
SDKException - This is thrown if the process is unsuccessful.public int getPagesPerRange()
Gets the number of pages in a range.
int number of pages for a given range.
public void setPagesPerRange(int lNum)
throws SDKException
Sets the number of pages in a range.
lNum - The int that limits the number of pages per range.
SDKException - This is thrown if the process is unsuccessful.
public int getCurrPageNumber()
throws SDKException
Gets the current page number.
int.
SDKException - This is thrown if the process is unsuccessful.
public void setCurrPageNumber(int val)
throws SDKException
Sets the current page number.
val - The int that sets the current page number.
SDKException - This is thrown if the process is unsuccessful.
public boolean hasPrevPage()
throws SDKException
Gets a boolean that determines whether the
IPagingQueryBase object has a previous page.
true if there is a previous page, and
false otherwise.
SDKException - This is thrown if the process is unsuccessful.
public boolean hasNextPage()
throws SDKException
Gets a boolean that determines whether the
IPagingQueryBase object has a next page.
true if there is a next page, and
false otherwise.
SDKException - This is thrown if the process is unsuccessful.
public boolean hasPrevRange()
throws SDKException
Gets a boolean that determines whether the
IPagingQueryBase object has a preceding range.
true if there is a preceding range, and
false otherwise.
SDKException - This is thrown if the process is unsuccessful.
public boolean hasNextRange()
throws SDKException
Gets a boolean that determines whether the
IPagingQueryBase object has a succeeding range.
true if there is a succeeding range, and
false otherwise.
SDKException - This is thrown if the process is unsuccessful.
public int getRangeFirstPageNumber()
throws SDKException
Gets the first page number in the current range.
int.
SDKException - This is thrown if the process is unsuccessful.
public int getRangeLastPageNumber()
throws SDKException
Gets the last page number in the current range.
int.
SDKException - This is thrown if the process is unsuccessful.
public void moveToFirstPage()
throws SDKException
Moves to the first page of the query set.
SDKException - This is thrown if the process is unsuccessful.
public void moveToLastPage()
throws SDKException
Moves to the last page of the query set.
SDKException - This is thrown if the process is unsuccessful.
public void moveToPreviousPage()
throws SDKException
Moves to the previous page in the query set.
SDKException - This is thrown if the process is unsuccessful.
public void moveToNextPage()
throws SDKException
Moves to the next page.
SDKException - This is thrown if the process is unsuccessful.
public void moveToPreviousRange()
throws SDKException
Moves to the preceding range.
SDKException - This is thrown if the process is unsuccessful.
public void moveToNextRange()
throws SDKException
Moves to the succeeding range.
SDKException - This is thrown if the process is unsuccessful.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||