|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DashboardPageConfigUrlFactory
Responsible for creating URLs for editing the state and dashboard page location of portlets. The URLs should be relative to context root.
Nested Class Summary | |
---|---|
static interface |
DashboardPageConfigUrlFactory.PortletConfigurationAdaptor
Abstraction for describing the aspects of the PortletConfiguration object graph that we depend on without depending on all the mechanical details like ObjectConfiguration and PropertySet. |
Method Summary | |
---|---|
String |
getAddPortletUrl()
Returns a URL for adding a portlet to the dashboard. |
String |
getDashboardBaseUrl(Long portletConfigurationId)
Returns a URL for dashboard configuration operation. |
String |
getEditPortletUrl(Long portletConfigId)
Returns a URL for configuring portlets on the dashboard. |
String |
getPortletOperationUrl(Long portletConfigurationId,
String operationName)
Returns a URL for dashboard configuration operation. |
String |
getRunPortletUrl(DashboardPageConfigUrlFactory.PortletConfigurationAdaptor configurationAccessor)
Returns a URL for RunPortlet action that will execute the given portlet configuration. |
String |
getRunPortletUrl(PortletConfiguration portletConfiguration)
Returns a URL for RunPortlet action that will execute the given portlet configuration. |
Method Detail |
---|
String getRunPortletUrl(DashboardPageConfigUrlFactory.PortletConfigurationAdaptor configurationAccessor)
configurationAccessor
- portlet configuration
String getRunPortletUrl(PortletConfiguration portletConfiguration)
portletConfiguration
- portlet configuration
String getDashboardBaseUrl(Long portletConfigurationId)
portletConfigurationId
- portlet configuration id
String getPortletOperationUrl(Long portletConfigurationId, String operationName)
portletConfigurationId
- portlet configuration idoperationName
- operation name
String getAddPortletUrl()
String getEditPortletUrl(Long portletConfigId)
portletConfigId
- the portlet to configure.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |