public class PortalQueryParams
extends com.google.gwt.core.client.JavaScriptObject
Modifier and Type | Class and Description |
---|---|
static class |
PortalQueryParams.SortField |
Modifier and Type | Method and Description |
---|---|
int |
getNum()
The maximum number of results to be included.
|
java.lang.String |
getQ()
The query string to search with.
|
PortalQueryParams.SortField[] |
getSortField()
A list of field(s) to sort by.
|
int |
getStart()
The number of the first entry in the result set response.
|
void |
setNum(int num)
Set the num parameter.
|
void |
setQ(java.lang.String q)
Set the q parameter.
|
void |
setSortField(PortalQueryParams.SortField[] sortField)
Set the sort field parameter.
|
void |
setStart(int start)
Set the start parameter.
|
public final int getNum()
public final void setNum(int num)
num
- - The maximum number of results to be included. The default value is 10 and the maximum allowed value is 100.public final java.lang.String getQ()
public final void setQ(java.lang.String q)
q
- - The query string to search with.public final PortalQueryParams.SortField[] getSortField()
public final void setSortField(PortalQueryParams.SortField[] sortField)
sortField
- - A list of field(s) to sort by.public final int getStart()
public final void setStart(int start)
start
- - The number of the first entry in the result set response. The index number is 1-based. The
start parameter, along with the num parameter can be used to paginate the search results.