com.atlassian.user.search.query
Interface BooleanQuery

All Superinterfaces:
Query
All Known Implementing Classes:
AbstractBooleanQuery

public interface BooleanQuery
extends Query

Allows for the booleanconjuction 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. TODO - consider an exclusion clause - the results of query1 could be excluded from the results of query2


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

Field Detail

AND

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

OR

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

isAND

public 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

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

getQueries

public java.util.List getQueries()


Copyright © 2005-2008 Atlassian Software Systems Pty Ltd. All Rights Reserved.