com.atlassian.jira.web.component
Class DashboardPageConfigUrlFactoryImpl

java.lang.Object
  extended by com.atlassian.jira.web.component.DashboardPageConfigUrlFactoryImpl
All Implemented Interfaces:
DashboardPageConfigUrlFactory

public class DashboardPageConfigUrlFactoryImpl
extends java.lang.Object
implements DashboardPageConfigUrlFactory

Main implementation of DashboardPageConfigUrlFactory which links portlet configuration to the original dashboard and dashboard config actions.

Since:
v3.13

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.web.component.DashboardPageConfigUrlFactory
DashboardPageConfigUrlFactory.PortletConfigurationAdaptor
 
Constructor Summary
DashboardPageConfigUrlFactoryImpl(java.lang.Long portalPageId)
           
 
Method Summary
 java.lang.String getEditPortletUrl(java.lang.Long portletConfigId)
          Returns a URL for configuring portlets on the dashboard.
 java.lang.String getRunPortletUrl(DashboardPageConfigUrlFactory.PortletConfigurationAdaptor accessor)
          Returns a URL for RunPortlet action that will execute the given portlet configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DashboardPageConfigUrlFactoryImpl

public DashboardPageConfigUrlFactoryImpl(java.lang.Long portalPageId)
Method Detail

getRunPortletUrl

public java.lang.String getRunPortletUrl(DashboardPageConfigUrlFactory.PortletConfigurationAdaptor accessor)
Description copied from interface: DashboardPageConfigUrlFactory
Returns a URL for RunPortlet action that will execute the given portlet configuration.

Specified by:
getRunPortletUrl in interface DashboardPageConfigUrlFactory
Parameters:
accessor - portlet configuration
Returns:
URL as String, never null

getEditPortletUrl

public java.lang.String getEditPortletUrl(java.lang.Long portletConfigId)
Description copied from interface: DashboardPageConfigUrlFactory
Returns a URL for configuring portlets on the dashboard.

Specified by:
getEditPortletUrl in interface DashboardPageConfigUrlFactory
Parameters:
portletConfigId - the portlet to configure.
Returns:
the URL, never null.


Copyright © 2002-2010 Atlassian. All Rights Reserved.