public class

ShowDashboardToolsMenuCondition

extends Object
implements Condition
java.lang.Object
   ↳ com.atlassian.jira.plugin.webfragment.conditions.ShowDashboardToolsMenuCondition

Class Overview

Decides wheter or not to show the Manage Dashboards link. This depends on if the user is logged in and if the dashboard is the default dashboard being viewed on the HOME page (rather than admin section).

Summary

Constants
String CONTEXT_KEY_DASHBOARD_ID
Public Constructors
ShowDashboardToolsMenuCondition(DashboardPermissionService dashboardPermissionService, PortalPageService portalPageService, UserUtil userUtil)
Public Methods
void init(Map<StringString> params)
boolean shouldDisplay(Map<StringObject> context)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.plugin.web.Condition

Constants

public static final String CONTEXT_KEY_DASHBOARD_ID

Constant Value: "dashboardId"

Public Constructors

public ShowDashboardToolsMenuCondition (DashboardPermissionService dashboardPermissionService, PortalPageService portalPageService, UserUtil userUtil)

Public Methods

public void init (Map<StringString> params)

public boolean shouldDisplay (Map<StringObject> context)