com.atlassian.user.search.query
Interface BooleanQuery

All Superinterfaces:
Query
All Known Implementing Classes:
AbstractBooleanQuery, ExternalEntitiesInGroupTwoTermQuery, GroupsOfExternalEntityTwoTermQuery, GroupsOfUserTwoTermQuery, MultiTermBooleanQuery, TwoTermBooleanQuery, UsersInGroupTwoTermQuery

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 String AND
           
static String OR
           
 
Method Summary
 List getQueries()
           
 boolean isAND()
          It is impossible for isAND() and isOR() to both return true or false.
 boolean isOR()
           
 

Field Detail

AND

static final String AND
See Also:
Constant Field Values

OR

static final 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

List getQueries()


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