public class

Dashboard

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

Class Overview

Figures out what the id of the portal page the user is currently viewing is. Will fall back to system default if none can be found and the user has not favourites.

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
Dashboard(PortalPageService portalPageService, ApplicationProperties applicationProperties, GadgetPermissionManager gadgetPermissionManager, LoginService loginService, UserHistoryManager userHistoryManager, EventPublisher eventPublisher, JiraPageBuilderService jiraPageBuilderService, FeatureManager featureManager, XsrfTokenGenerator xsrfTokenGenerator, LandingPageRedirectManager landingPageRedirectManager)
Public Methods
Long getCurrentDashboardId()
DashboardState getCurrentDashboardState()
Return to the caller the PortalPage being rendered.
Renderable getDashboardRenderable()
String getDashboardTitle()
String getInstallationMessage()
String getLoginLink()
Long getSelectPageId()
void setSelectPageId(Long selectPageId)
void setSrc(String src)
Protected Methods
String doExecute()
void doValidation()
[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 Dashboard (PortalPageService portalPageService, ApplicationProperties applicationProperties, GadgetPermissionManager gadgetPermissionManager, LoginService loginService, UserHistoryManager userHistoryManager, EventPublisher eventPublisher, JiraPageBuilderService jiraPageBuilderService, FeatureManager featureManager, XsrfTokenGenerator xsrfTokenGenerator, LandingPageRedirectManager landingPageRedirectManager)

Public Methods

public Long getCurrentDashboardId ()

public DashboardState getCurrentDashboardState ()

Return to the caller the PortalPage being rendered. This method may load the PortalPage into memory if it has not already been read.

Returns
  • the PortalPage being rendered.
Throws
PermissionException

public Renderable getDashboardRenderable ()

public String getDashboardTitle ()

public String getInstallationMessage ()

public String getLoginLink ()

public Long getSelectPageId ()

public void setSelectPageId (Long selectPageId)

public void setSrc (String src)

Protected Methods

protected String doExecute ()

Throws
Exception

protected void doValidation ()