public class CommentQuery extends Object implements Query
Query testing if contents have comments.Query.LogicalOperator, Query.Operator| Modifier and Type | Field and Description | 
|---|---|
private boolean | 
_includeNonValidated  | 
private boolean | 
_includeValidated  | 
| Constructor and Description | 
|---|
CommentQuery(boolean includeValidated,
            boolean includeNonValidated)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
build()
Build the solr query string representing the Query object. 
 | 
boolean | 
includeNonValidated()
Get the includeNonValidated. 
 | 
boolean | 
includeValidated()
Get the includeValidated. 
 | 
private boolean _includeValidated
private boolean _includeNonValidated
public CommentQuery(boolean includeValidated, boolean includeNonValidated)
includeValidated - will request contents with validated commentsincludeNonValidated - will request contents with non validated commentspublic boolean includeValidated()
public boolean includeNonValidated()
public String build() throws QuerySyntaxException
Querybuild in interface QueryQuerySyntaxException - if the query can't be built because of a syntax error.