|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.query.PagingRequest
public class PagingRequest
Simple wrapper for single page request (with optional request for total count up to a given max)
| Constructor Summary | |
|---|---|
PagingRequest(int maxItems)
Construct a page request |
|
PagingRequest(int skipCount,
int maxItems)
Construct a page request |
|
PagingRequest(int skipCount,
int maxItems,
java.lang.String queryExecutionId)
Construct a page request |
|
PagingRequest(int maxItems,
java.lang.String queryExecutionId)
Construct a page request |
|
| Method Summary | |
|---|---|
int |
getMaxItems()
Size of the page - if skip count is 0 then return up to max items. |
java.lang.String |
getQueryExecutionId()
Get a unique ID associated with these query results. |
int |
getRequestTotalCountMax()
Get requested total count (up to a given maximum). |
int |
getSkipCount()
Results to skip before retrieving the page. |
protected void |
setMaxItems(int maxItems)
Change the size of the page. |
protected void |
setQueryExecutionId(java.lang.String queryExecutionId)
Change the unique query ID for the results. |
void |
setRequestTotalCountMax(int requestTotalCountMax)
Set request total count (up to a given maximum). |
protected void |
setSkipCount(int skipCount)
Change the skip count. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PagingRequest(int maxItems)
maxItems - the maximum number of items per page
public PagingRequest(int skipCount,
int maxItems)
maxItems - the maximum number of items per pageskipCount - the number of items to skip before the first page
public PagingRequest(int maxItems,
java.lang.String queryExecutionId)
maxItems - the maximum number of items per pagequeryExecutionId - a query execution ID associated with ealier paged requests
public PagingRequest(int skipCount,
int maxItems,
java.lang.String queryExecutionId)
maxItems - the maximum number of items per pageskipCount - the number of items to skip before the first pagequeryExecutionId - a query execution ID associated with ealier paged requests| Method Detail |
|---|
public int getSkipCount()
protected void setSkipCount(int skipCount)
public int getMaxItems()
protected void setMaxItems(int maxItems)
public int getRequestTotalCountMax()
public void setRequestTotalCountMax(int requestTotalCountMax)
requestTotalCountMax - public java.lang.String getQueryExecutionId()
protected void setQueryExecutionId(java.lang.String queryExecutionId)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||