public class ExtensionQuery extends Object
Java class for ExtensionQuery complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ExtensionQuery"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="query" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="offset" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="limit" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="filters" type="{http://www.xwiki.org/extension}Filter" maxOccurs="unbounded" minOccurs="0"/> <element name="sortClauses" type="{http://www.xwiki.org/extension}SortClause" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Filter> |
filters |
protected int |
limit |
protected int |
offset |
protected String |
query |
protected List<SortClause> |
sortClauses |
Constructor and Description |
---|
ExtensionQuery() |
Modifier and Type | Method and Description |
---|---|
List<Filter> |
getFilters()
Gets the value of the filters property.
|
int |
getLimit()
Gets the value of the limit property.
|
int |
getOffset()
Gets the value of the offset property.
|
String |
getQuery()
Gets the value of the query property.
|
List<SortClause> |
getSortClauses()
Gets the value of the sortClauses property.
|
void |
setLimit(int value)
Sets the value of the limit property.
|
void |
setOffset(int value)
Sets the value of the offset property.
|
void |
setQuery(String value)
Sets the value of the query property.
|
ExtensionQuery |
withFilters(Collection<Filter> values) |
ExtensionQuery |
withFilters(Filter... values) |
ExtensionQuery |
withLimit(int value) |
ExtensionQuery |
withOffset(int value) |
ExtensionQuery |
withQuery(String value) |
ExtensionQuery |
withSortClauses(Collection<SortClause> values) |
ExtensionQuery |
withSortClauses(SortClause... values) |
protected String query
protected int offset
protected int limit
protected List<SortClause> sortClauses
public String getQuery()
String
public void setQuery(String value)
value
- allowed object is
String
public int getOffset()
public void setOffset(int value)
public int getLimit()
public void setLimit(int value)
public List<Filter> getFilters()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the filters property.
For example, to add a new item, do as follows:
getFilters().add(newItem);
Objects of the following type(s) are allowed in the list
Filter
public List<SortClause> getSortClauses()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the sortClauses property.
For example, to add a new item, do as follows:
getSortClauses().add(newItem);
Objects of the following type(s) are allowed in the list
SortClause
public ExtensionQuery withQuery(String value)
public ExtensionQuery withOffset(int value)
public ExtensionQuery withLimit(int value)
public ExtensionQuery withFilters(Filter... values)
public ExtensionQuery withFilters(Collection<Filter> values)
public ExtensionQuery withSortClauses(SortClause... values)
public ExtensionQuery withSortClauses(Collection<SortClause> values)
Copyright © 2004–2017 XWiki. All rights reserved.