public class

SavedFilterResolver

extends Object
java.lang.Object
   ↳ com.atlassian.jira.jql.resolver.SavedFilterResolver

Class Overview

Looks up a saved filter via either id or name taking into account the user who is looking up the filter.

Summary

Public Constructors
SavedFilterResolver(SearchRequestManager searchRequestManager)
Public Methods
List<SearchRequest> getSearchRequest(ApplicationUser searcher, List<QueryLiteral> rawValues)
Resolves QueryLiterals into the SearchRequest objects that the user has permission to see.
List<SearchRequest> getSearchRequestOverrideSecurity(List<QueryLiteral> rawValues)
Resolves QueryLiterals into the SearchRequest objects.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SavedFilterResolver (SearchRequestManager searchRequestManager)

Public Methods

public List<SearchRequest> getSearchRequest (ApplicationUser searcher, List<QueryLiteral> rawValues)

Resolves QueryLiterals into the SearchRequest objects that the user has permission to see.

Parameters
searcher the user performing the search
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.

public List<SearchRequest> getSearchRequestOverrideSecurity (List<QueryLiteral> rawValues)

Resolves QueryLiterals into the SearchRequest objects. 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.