Class SavedFilterResolver

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

public class SavedFilterResolver extends Object
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 Details

  • Method Details

    • getSearchRequest

      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.
    • getSearchRequestOverrideSecurity

      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.