public class

IssuePicker

extends JiraWebActionSupport
java.lang.Object
   ↳ webwork.action.ActionSupport
     ↳ com.atlassian.jira.action.JiraActionSupport
       ↳ com.atlassian.jira.web.action.JiraWebActionSupport
         ↳ com.atlassian.jira.web.action.issue.IssuePicker

Class Overview

Responsible for controlling the rendering of the Issue Picker control. This control is shown as a pop-up window that allows an user to select one or more issues using a list of the most recently viewed issues, the current search or a filter.

Summary

[Expand]
Inherited Constants
From class com.atlassian.jira.web.action.JiraWebActionSupport
From interface webwork.action.Action
[Expand]
Inherited Fields
From class com.atlassian.jira.web.action.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
Public Constructors
IssuePicker(BugAssociatorPrefs bugAssociatorPrefs, IssueManager issueManager, SearchProvider searchProvider, SearchRequestService searchRequestService, UserIssueHistoryManager userHistoryManager, SessionSearchObjectManagerFactory sessionSearchObjectManagerFactory)
Public Methods
Collection<SearchRequest> getAvailableFilters()
Collection<Issue> getBrowsableIssues()
String getCurrentIssue()
String getMode()
long getSearchRequestId()
Collection<Issue> getSearchRequestIssues()
String getSearchRequestName()
String getSelectMode()
Long getSelectedProjectId()
Collection<Issue> getUserHistoryIssues()
boolean isShowSubTasks()
Returns whether sub-tasks should be displayed in the list of issues.
boolean isShowSubTasksParent()
Returns whether the parent of the current issue (the one in the view issue page or the one that's selected in the issue navigator) should be displayed in the list of issues.
boolean isSingleSelectOnly()
void setCurrentIssue(String currentIssue)
void setMode(String mode)
void setSearchRequestId(long searchRequestId)
void setSelectMode(String selectMode)
void setSelectedProjectId(Long selectedProjectId)
void setShowSubTasks(boolean showSubTasks)
Sets whether sub-tasks should be shown in the list of issues.
void setShowSubTasksParent(boolean showSubTasksParent)
Sets whether the parent of the current issue (the one in the view issue page or the one that's selected in the issue navigator) should be displayed in the list of issues.
void setSingleSelectOnly(boolean singleSelectOnly)
[Expand]
Inherited Methods
From class com.atlassian.jira.web.action.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
From class java.lang.Object
From interface com.atlassian.jira.util.ErrorCollection
From interface com.atlassian.jira.util.I18nHelper
From interface com.atlassian.jira.web.HttpServletVariables
From interface com.atlassian.jira.web.util.AuthorizationSupport
From interface webwork.action.Action
From interface webwork.action.CommandDriven
From interface webwork.action.IllegalArgumentAware

Public Constructors

public IssuePicker (BugAssociatorPrefs bugAssociatorPrefs, IssueManager issueManager, SearchProvider searchProvider, SearchRequestService searchRequestService, UserIssueHistoryManager userHistoryManager, SessionSearchObjectManagerFactory sessionSearchObjectManagerFactory)

Public Methods

public Collection<SearchRequest> getAvailableFilters ()

public Collection<Issue> getBrowsableIssues ()

public String getCurrentIssue ()

public String getMode ()

public long getSearchRequestId ()

public Collection<Issue> getSearchRequestIssues ()

Returns

public String getSearchRequestName ()

public String getSelectMode ()

public Long getSelectedProjectId ()

public Collection<Issue> getUserHistoryIssues ()

Returns

public boolean isShowSubTasks ()

Returns whether sub-tasks should be displayed in the list of issues.

Returns
  • true, if sub-tasks are set to be shown in the list of issues; otherwise, false.

public boolean isShowSubTasksParent ()

Returns whether the parent of the current issue (the one in the view issue page or the one that's selected in the issue navigator) should be displayed in the list of issues.

Returns
  • true if the parent of the current issue should be displayed in the list of issues; otherwise, false.

public boolean isSingleSelectOnly ()

public void setCurrentIssue (String currentIssue)

public void setMode (String mode)

public void setSearchRequestId (long searchRequestId)

public void setSelectMode (String selectMode)

public void setSelectedProjectId (Long selectedProjectId)

public void setShowSubTasks (boolean showSubTasks)

Sets whether sub-tasks should be shown in the list of issues.

Parameters
showSubTasks a boolean that indicates whether sub-tasks should be shown in the list of issues.

public void setShowSubTasksParent (boolean showSubTasksParent)

Sets whether the parent of the current issue (the one in the view issue page or the one that's selected in the issue navigator) should be displayed in the list of issues.

Parameters
showSubTasksParent a boolean that indicates whether the parent of the current issue should be displayed in the list of issues.

public void setSingleSelectOnly (boolean singleSelectOnly)