public class PageIdQuery extends Object implements Query
Query
testing the page property of a content or resource.Query.LogicalOperator, Query.Operator
Modifier and Type | Field and Description |
---|---|
private List<String> |
_ids |
private Query.Operator |
_operator |
Constructor and Description |
---|
PageIdQuery(Collection<String> ids)
Build a PageIdQuery.
|
PageIdQuery(Query.Operator operator,
Collection<String> ids)
Build a SiteQuery.
|
PageIdQuery(Query.Operator operator,
String... ids)
Build a PageIdQuery.
|
PageIdQuery(String... ids)
Build a PageIdQuery.
|
Modifier and Type | Method and Description |
---|---|
String |
build()
Build the solr query string representing the Query object.
|
boolean |
equals(Object obj) |
int |
hashCode() |
private Query.Operator _operator
public PageIdQuery(String... ids)
ids
- the page ids.public PageIdQuery(Collection<String> ids)
ids
- the page ids.public PageIdQuery(Query.Operator operator, String... ids)
operator
- the operator.ids
- the page ids.public PageIdQuery(Query.Operator operator, Collection<String> ids)
operator
- the operator.ids
- the site names.public String build() throws QuerySyntaxException
Query
build
in interface Query
QuerySyntaxException
- if the query can't be built because of a syntax error.