com.atlassian.jira.jql.resolver
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SavedFilterResolver
public SavedFilterResolver(SearchRequestManager searchRequestManager)
getSearchRequest
public List<SearchRequest> getSearchRequest(com.atlassian.crowd.embedded.api.User searcher,
List<QueryLiteral> rawValues)
- Resolves
QueryLiterals into the SearchRequest
objects 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
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.
Copyright © 2002-2012 Atlassian. All Rights Reserved.