|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PagedRequest
Implemented by pageable request types.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
static java.lang.String |
ORIG_PAGE_SIZE
|
static java.lang.String |
PAGE_NUM
|
static java.lang.String |
PAGE_OFFSET_INFO
|
static java.lang.String |
PAGE_SIZE
|
Method Summary | |
---|---|
java.lang.Boolean |
getFastPaging()
Returns an indication of whether fast paging is enabled for this request. |
java.lang.Integer |
getPageNum()
Returns the 0-based page number that should be retrieved. |
atg.search.routing.command.search.PageOffsetInfo |
getPageOffsetInfo()
Returns internal page offset information when fast paging is used with a multi-partition index. |
java.lang.Integer |
getPageSize()
Returns the number of results that should be returned per page |
void |
setFastPaging(java.lang.Boolean pFastPaging)
Sets whether fast paging is enabled for this request. |
void |
setPageNum(java.lang.Integer pageNum)
Sets the 0-based page number that should be retrieved. |
void |
setPageOffsetInfo(atg.search.routing.command.search.PageOffsetInfo pPageOffsetInfo)
Sets the page offset information, which is used internally to manage fast paging for multiple partitions. |
void |
setPageSize(java.lang.Integer pageSize)
Sets the number of results that should be returned per page. |
Field Detail |
---|
static final java.lang.String CLASS_VERSION
static final java.lang.String PAGE_OFFSET_INFO
static final java.lang.String PAGE_NUM
static final java.lang.String PAGE_SIZE
static final java.lang.String ORIG_PAGE_SIZE
Method Detail |
---|
java.lang.Boolean getFastPaging()
void setFastPaging(java.lang.Boolean pFastPaging)
pFastPaging
- true to enable fast pagingjava.lang.Integer getPageSize()
void setPageSize(java.lang.Integer pageSize)
pageSize
- number of results that should be returned per pagejava.lang.Integer getPageNum()
void setPageNum(java.lang.Integer pageNum)
pageNum
- specifies which 0-based page number to return, starting from the first page 0 and so on.void setPageOffsetInfo(atg.search.routing.command.search.PageOffsetInfo pPageOffsetInfo)
pPageOffsetInfo
- page offset infoatg.search.routing.command.search.PageOffsetInfo getPageOffsetInfo()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |