|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ListPagingOptions
Represents the paging options for a ListPresentation
Method Summary | |
---|---|
int |
getMaxPages()
Returns the maximum number of pages to return |
int |
getReadAhead()
Returns the number of pages to 'read ahead' |
int |
getResultsPerPage()
Returns the number of results to show per page |
int |
getStartPage()
Returns the start page |
void |
setMaxPages(int p_maxPages)
Sets the maximum number of pages to return |
void |
setReadAhead(int p_readAhead)
Sets the number of pages to 'read ahead' |
void |
setResultsPerPage(int p_resultsPerPage)
Sets the number of results to show per page |
void |
setStartPage(int p_startPage)
Sets the start page |
Method Detail |
---|
int getResultsPerPage()
void setResultsPerPage(int p_resultsPerPage)
If a value less than 1 is supplied, then the default value of '10' will be set
p_resultsPerPage
- the number of results to showint getStartPage()
void setStartPage(int p_startPage)
If a value less than 1 is supplied, then the default value of '1' will be set
p_startPage
- the start pageint getMaxPages()
void setMaxPages(int p_maxPages)
If a value less than 1 is supplied, then the default value of '10' will be set
p_maxPages
- the maximum number of pages to returnint getReadAhead()
Used to store extra cache entries to ensure sufficient results after security filtering
void setReadAhead(int p_readAhead)
If a value less than 1 is supplied, then the default value of '10' will be set
For lists that don't show different results based on security, set the readahead to 1
p_readAhead
- the number of pages to 'read ahead'
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |