public class ContentPrivacyQuery extends Object implements Query
Query
testing the content privacy property.Query.LogicalOperator, Query.Operator
Modifier and Type | Field and Description |
---|---|
private Query.Operator |
_operator |
private Collection<String> |
_values |
Constructor and Description |
---|
ContentPrivacyQuery(Collection<String> values)
Build a ContentPrivacyQuery.
|
ContentPrivacyQuery(Query.Operator operator,
Collection<String> values)
Build a ContentPrivacyQuery.
|
ContentPrivacyQuery(Query.Operator operator,
String... values)
Build a ContentPrivacyQuery.
|
ContentPrivacyQuery(String... values)
Build a ContentPrivacyQuery.
|
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
private Collection<String> _values
public ContentPrivacyQuery(String... values)
values
- the site names.public ContentPrivacyQuery(Collection<String> values)
values
- the site names.public ContentPrivacyQuery(Query.Operator operator, String... values)
operator
- the operator.values
- the site names.public ContentPrivacyQuery(Query.Operator operator, Collection<String> values)
operator
- the operator.values
- 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.