com.atlassian.query
Interface Query

All Known Implementing Classes:
QueryImpl

public interface Query

The representation of a query.


Method Summary
 OrderBy getOrderByClause()
           
 String getQueryString()
           
 Clause getWhereClause()
           
 

Method Detail

getWhereClause

Clause getWhereClause()
Returns:
the main clause of the search which can be any number of nested clauses that will make up the full search query. Null indicates that no where clause is available and all issues should be returned.

getOrderByClause

OrderBy getOrderByClause()
Returns:
the sorting portion of the search which can be any number of SearchSorts that will make up the full order by clause. Null indicates that no order by clause has been entered and we will not sort the query, empty sorts will cause the default sorts to be used.

getQueryString

String getQueryString()
Returns:
the original query string that the user inputted into the system. If not provided, will return null.


Copyright © 2002-2011 Atlassian. All Rights Reserved.