Class Dashboard

java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.Dashboard
All Implemented Interfaces:
ErrorCollection, I18nHelper, HttpServletVariables, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class Dashboard extends JiraWebActionSupport
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.
Since:
v4.0
See Also:
  • Constructor Details

  • Method Details

    • setSrc

      public void setSrc(String src)
    • doValidation

      protected void doValidation()
      Overrides:
      doValidation in class webwork.action.ActionSupport
    • doExecute

      protected String doExecute() throws Exception
      Overrides:
      doExecute in class webwork.action.ActionSupport
      Throws:
      Exception
    • getInstallationMessage

      public String getInstallationMessage()
    • getCurrentDashboardId

      public Long getCurrentDashboardId()
    • getCurrentDashboardState

      public com.atlassian.gadgets.dashboard.DashboardState getCurrentDashboardState() throws com.atlassian.gadgets.dashboard.PermissionException
      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:
      com.atlassian.gadgets.dashboard.PermissionException
    • getSelectPageId

      public Long getSelectPageId()
    • setSelectPageId

      public void setSelectPageId(Long selectPageId)
    • getLoginLink

      public String getLoginLink()
    • getContextParams

      public Map<String,Object> getContextParams()