com.atlassian.jira.issue.search.quicksearch
Class ProjectAwareQuickSearchHandlerImpl
java.lang.Object
com.atlassian.jira.issue.search.quicksearch.ProjectAwareQuickSearchHandlerImpl
- All Implemented Interfaces:
- ProjectAwareQuickSearchHandler
public class ProjectAwareQuickSearchHandlerImpl
- extends Object
- implements ProjectAwareQuickSearchHandler
Looks up the search request for projects already searched for in the context. If there are no projects
in the context than returns all projects the current user can browse.
- Since:
- v3.13
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectAwareQuickSearchHandlerImpl
public ProjectAwareQuickSearchHandlerImpl(ProjectManager projectManager,
PermissionManager permissionManager,
JiraAuthenticationContext authenticationContext)
getProjects
public List getProjects(QuickSearchResult searchResult)
- Retrieves project from the search request or returns all projects the current user can browse
- Specified by:
getProjects
in interface ProjectAwareQuickSearchHandler
- Parameters:
searchResult
- search result to look up
- Returns:
- list of project
GenericValue
's
Copyright © 2002-2011 Atlassian. All Rights Reserved.