|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.jira.issue.search.quicksearch.ProjectAwareQuickSearchHandlerImpl
public class ProjectAwareQuickSearchHandlerImpl
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.
Constructor Summary | |
---|---|
ProjectAwareQuickSearchHandlerImpl(ProjectManager projectManager,
PermissionManager permissionManager,
JiraAuthenticationContext authenticationContext)
|
Method Summary | |
---|---|
void |
addProject(String projectId,
QuickSearchResult searchResult)
Adds a project to the given search. |
List |
getProjects(QuickSearchResult searchResult)
Retrieves project from the search request or returns all projects the current user can browse |
String |
getSingleProjectIdFromSearch(QuickSearchResult searchResult)
Retrieves the single project specified in search. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProjectAwareQuickSearchHandlerImpl(ProjectManager projectManager, PermissionManager permissionManager, JiraAuthenticationContext authenticationContext)
Method Detail |
---|
public List getProjects(QuickSearchResult searchResult)
getProjects
in interface ProjectAwareQuickSearchHandler
searchResult
- search result to look up
GenericValue
'spublic String getSingleProjectIdFromSearch(QuickSearchResult searchResult)
ProjectAwareQuickSearchHandler
getSingleProjectIdFromSearch
in interface ProjectAwareQuickSearchHandler
searchResult
- search result to extract the project from
public void addProject(String projectId, QuickSearchResult searchResult)
ProjectAwareQuickSearchHandler
addProject
in interface ProjectAwareQuickSearchHandler
projectId
- project id to addsearchResult
- search result to add to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |