public class PagingRequest
extends java.lang.Object
| Constructor and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public PagingRequest(int maxItems)
maxItems - the maximum number of items per pagepublic PagingRequest(int skipCount,
int maxItems)
maxItems - the maximum number of items per pageskipCount - the number of items to skip before the first pagepublic PagingRequest(int maxItems,
java.lang.String queryExecutionId)
maxItems - the maximum number of items per pagequeryExecutionId - a query execution ID associated with ealier paged requestspublic 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 requestspublic 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)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.