com.atlassian.user.search.query
Interface BooleanQuery<T extends Entity>

All Superinterfaces:
Query<T>

public interface BooleanQuery<T extends Entity>
extends Query<T>

Allows for the boolean conjunction of Query objects with an AND or OR parameter. For example, the results of query1 could be ANDED with query2 on the condition that their equality.


Field Summary
static java.lang.String AND
           
static java.lang.String OR
           
 
Method Summary
 java.util.List<Query<T>> getQueries()
           
 boolean isAND()
          It is impossible for isAND() and isOR() to both return true or false.
 boolean isOR()
           
 

Field Detail

AND

static final java.lang.String AND
See Also:
Constant Field Values

OR

static final java.lang.String OR
See Also:
Constant Field Values
Method Detail

isAND

boolean isAND()
It is impossible for isAND() and isOR() to both return true or false.

Returns:
true if the clause is set to AND the two queries.

isOR

boolean isOR()
Returns:
true if the clause is set to OR the two queries

getQueries

java.util.List<Query<T>> getQueries()


Copyright © 2005-2015 Atlassian. All Rights Reserved.