java.lang.Object | |
↳ | com.atlassian.jira.bc.issue.search.QueryContextConverter |
A utlility class for converting a QueryContext
into a SearchContext
.
This conversion only makes sense if the Query
the QueryContext was generated from fits the simple navigator.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Converts a
SearchContext representation into
the QueryContext of a search context. | |||||||||||
Converts a
QueryContext into a SearchContext . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Converts a SearchContext
representation into
the QueryContext
of a search context.
As search contexts represented by QueryContext
s is a super set of those
represented by SearchContext
, this coversion will always be valid and
never return null.
searchContext | the context to convert into a QueryContext |
---|
QueryContext
. Never Null.
Converts a QueryContext
into a SearchContext
.
If the conversion does not make sense, null is returned.
If you would like to know if this method will correctly generate a SearchContext you should call SearchService#doesQueryFitFilterForm(com.atlassian.crowd.embedded.api.User, com.atlassian.query.Query).
queryContext | the QueryContext to convert into a SearchContext, if null then a null SearchContext is returned. |
---|