com.atlassian.jira.web.component
Class DashboardPageConfigUrlFactoryImpl
java.lang.Object
com.atlassian.jira.web.component.DashboardPageConfigUrlFactoryImpl
- All Implemented Interfaces:
- DashboardPageConfigUrlFactory
public class DashboardPageConfigUrlFactoryImpl
- extends Object
- implements DashboardPageConfigUrlFactory
Main implementation of DashboardPageConfigUrlFactory
which links portlet
configuration to the original dashboard and dashboard config actions.
- Since:
- v3.13
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DashboardPageConfigUrlFactoryImpl
public DashboardPageConfigUrlFactoryImpl(Long portalPageId)
getRunPortletUrl
public 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 String getEditPortletUrl(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-2009 Atlassian. All Rights Reserved.