Package com.atlassian.jira.jql.resolver
Class SavedFilterResolver
java.lang.Object
com.atlassian.jira.jql.resolver.SavedFilterResolver
Looks up a saved filter via either id or name taking into account the user who is looking up the filter.
- Since:
- v4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSearchRequest(ApplicationUser searcher, List<QueryLiteral> rawValues) ResolvesQueryLiterals into theSearchRequestobjects that the user has permission to see.getSearchRequestOverrideSecurity(List<QueryLiteral> rawValues) ResolvesQueryLiterals into theSearchRequestobjects.
-
Constructor Details
-
SavedFilterResolver
-
-
Method Details
-
getSearchRequest
ResolvesQueryLiterals into theSearchRequestobjects that the user has permission to see.- Parameters:
searcher- the user performing the searchrawValues- the query literals representing the search requests- Returns:
- the list of SearchRequests that the searcher can see that correspond to the literals. Never null, and should not contain any null elements.
-
getSearchRequestOverrideSecurity
ResolvesQueryLiterals into theSearchRequestobjects. Permissions are ignored.- Parameters:
rawValues- the query literals representing the search requests- Returns:
- the list of SearchRequests that the searcher can see that correspond to the literals. Never null, and should not contain any null elements.
-