public class SharedQuery extends Object implements Query
Query
testing the shared status of a content.Query.LogicalOperator, Query.Operator
Modifier and Type | Field and Description |
---|---|
private boolean |
_shared |
Constructor and Description |
---|
SharedQuery(boolean shared)
Create a SharedQuery.
|
Modifier and Type | Method and Description |
---|---|
String |
build()
Build the solr query string representing the Query object.
|
boolean |
equals(Object obj) |
int |
hashCode() |
private boolean _shared
public SharedQuery(boolean shared)
shared
- true
to get only shared contents,
false
to get only non-shared contents.public String build() throws QuerySyntaxException
Query
build
in interface Query
QuerySyntaxException
- if the query can't be built because of a syntax error.