public interface IndexedInputHelper
NOTE: this method will give back the values it finds in the named clauses and does not take into account the affects of the surrounding logical search query (i.e. AND, NOT, OR clauses that the clause may be contained in).
@Deprecated Set<String> getAllIndexValuesForMatchingClauses(ApplicationUser searcher, ClauseNames jqlClauseNames, Query query, SearchContext searchContext)
SearchContext
parameter is no longer needed. Use getAllIndexValuesForMatchingClauses(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.issue.search.ClauseNames, com.atlassian.query.Query)
.SearchRequest
. Function Operands are expanded to their
values.searcher
- the user running the searchjqlClauseNames
- the names of the clauses on which to retreive the values.query
- the search criteria used to populate the field values holder.searchContext
- the context under which the search is being performedSet<String> getAllIndexValuesForMatchingClauses(ApplicationUser searcher, ClauseNames jqlClauseNames, Query query)
SearchRequest
. Function Operands are expanded to their
values.searcher
- the user running the searchjqlClauseNames
- the names of the clauses on which to retreive the values.query
- the search criteria used to populate the field values holder.@Deprecated Set<String> getAllNavigatorValuesForMatchingClauses(ApplicationUser searcher, ClauseNames jqlClauseNames, Query query, SearchContext searchContext)
SearchContext
parameter is no longer needed. Use getAllNavigatorValuesForMatchingClauses(ApplicationUser, com.atlassian.jira.issue.search.ClauseNames, com.atlassian.query.Query)
searcher
- the user running the searchjqlClauseNames
- the names of the clauses on which to retreive the values.query
- the search criteria used to populate the field values holder.searchContext
- the context under which the search is being performedSet<String> getAllNavigatorValuesForMatchingClauses(ApplicationUser searcher, ClauseNames jqlClauseNames, Query query)
searcher
- the user running the searchjqlClauseNames
- the names of the clauses on which to retreive the values.query
- the search criteria used to populate the field values holder.Clause getClauseForNavigatorValues(String jqlClauseName, Set<String> values)
Note: where possible, the helper should try to create a clause, even when the value strings do not make sense in the given domain. That is, it is preferred that a non-validating clause gets created than no clause at all.
jqlClauseName
- the name of the clause to generatevalues
- a set of Navigator value strings; may contain flag values. May not be null.Copyright © 2002-2019 Atlassian. All Rights Reserved.