public class

IssueNavigatorToolsHelper

extends Object
java.lang.Object
   ↳ com.atlassian.jira.web.action.issue.IssueNavigatorToolsHelper

Class Overview

Utility for determining tool options to display on the issue navigator

Summary

Nested Classes
class IssueNavigatorToolsHelper.SearchRequestInfo  
class IssueNavigatorToolsHelper.SearchResultInfo  
Public Constructors
IssueNavigatorToolsHelper(JiraAuthenticationContext authContext, PermissionManager permissionManager, ApplicationProperties applicationProperties, ColumnLayoutManager columnLayoutManager, IssueNavigatorToolsHelper.SearchRequestInfo searchRequestInfo, IssueNavigatorToolsHelper.SearchResultInfo searchResultInfo)
Public Methods
int getBulkEditMax()
Returns the maximum number of issues the user is allowed to bulk edit.
List<ToolOptionGroup> getToolOptions()
boolean isBulkEditLimited()
Tells whether the bulk edit limit property is currently restricting the number of issues in the current search that may be bulk edited.
boolean isHasBulkChangePermission()
Checks to see if the current user has the global BULK CHANGE permission
boolean isHasSearchRequestColumnLayout()
Determines if the current search request has a column layout.
boolean isOwnerOfSearchRequest()
boolean isShowOverrideColumnLayout()
Determines whether the "Use Your Columns" link should be shown to the user.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public IssueNavigatorToolsHelper (JiraAuthenticationContext authContext, PermissionManager permissionManager, ApplicationProperties applicationProperties, ColumnLayoutManager columnLayoutManager, IssueNavigatorToolsHelper.SearchRequestInfo searchRequestInfo, IssueNavigatorToolsHelper.SearchResultInfo searchResultInfo)

Public Methods

public int getBulkEditMax ()

Returns the maximum number of issues the user is allowed to bulk edit. Possibly the number of search results that were returned, but no more than the number configured by JIRA_BULK_EDIT_LIMIT_ISSUE_COUNT if it is set to a positive number.

Returns
  • the number of issues that can be bulk edited.

public List<ToolOptionGroup> getToolOptions ()

public boolean isBulkEditLimited ()

Tells whether the bulk edit limit property is currently restricting the number of issues in the current search that may be bulk edited.

Returns
  • true only if the bulk edit limit is restricting.

public boolean isHasBulkChangePermission ()

Checks to see if the current user has the global BULK CHANGE permission

public boolean isHasSearchRequestColumnLayout ()

Determines if the current search request has a column layout. Used in the header of the IssueNavigator

public boolean isOwnerOfSearchRequest ()

public boolean isShowOverrideColumnLayout ()

Determines whether the "Use Your Columns" link should be shown to the user. This will happen IF the search request has its own column layout AND If the user has NOT chosen to override the search request's column layout