|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DashboardUrlBuilder
Builds URLs to resources in the dashboard-plugin.
| Method Summary | |
|---|---|
String |
buildDashboardDiagnosticsRelativeUrl()
Returns a relative URL that can be used to access the Dashboard Diagnostics Servlet. |
String |
buildDashboardDirectoryBaseUrl()
Returns the base URL of the directory |
String |
buildDashboardDirectoryResourceUrl()
Returns a URL that can be used to retrieve the list of available gadgets in the directory or to post a new gadget spec URL to the directory. |
String |
buildDashboardDirectoryUrl(DashboardId dashboardId)
Returns a URL that can be used to post a new gadget to the directory. |
String |
buildDashboardLayoutUrl(DashboardId dashboardId)
Returns the URL to the layout resource of a dashboard. |
String |
buildDashboardResourceUrl(DashboardId dashboardId)
Returns a URL that can be used to access the Dashboard resource, to post new gadgets. |
String |
buildDashboardUrl(DashboardId dashboardId)
Returns the URL to the dashboard container. |
String |
buildErrorGadgetUrl()
Returns a URL that can be used to display an error message when there is a problem loading a gadget. |
String |
buildGadgetColorUrl(DashboardId dashboardId,
GadgetId gadgetId)
Returns the URL to the color resource of a gadget. |
String |
buildGadgetUrl(DashboardId dashboardId,
GadgetId gadgetId)
Returns the URL to a gadget resource on a dashboard. |
String |
buildGadgetUserPrefsUrl(DashboardId dashboardId,
GadgetId gadgetId)
Returns the URL to the user prefs resource of a gadget. |
String |
buildRpcJsUrl()
Returns the URL to the RPC javascript file for the dashboard container. |
String |
buildSecurityTokensUrl()
Returns the URL for getting new security tokens. |
| Methods inherited from interface com.atlassian.gadgets.util.UrlBuilder |
|---|
buildImageUrl |
| Method Detail |
|---|
String buildDashboardUrl(DashboardId dashboardId)
dashboardId - the dashboard ID to return the URL for
String buildRpcJsUrl()
buildRpcJsUrl in interface UrlBuilderString buildDashboardLayoutUrl(DashboardId dashboardId)
dashboardId - DashboardId of the dashboard that we want the layout resource URL of
String buildGadgetUrl(DashboardId dashboardId,
GadgetId gadgetId)
dashboardId - DashboardId to find the GadgetId ongadgetId - GadgetId of the gadget we want the resource URL of
String buildGadgetColorUrl(DashboardId dashboardId,
GadgetId gadgetId)
dashboardId - DashboardId to find the GadgetId ongadgetId - GadgetId of the gadget we want the color resource URL of
String buildGadgetUserPrefsUrl(DashboardId dashboardId,
GadgetId gadgetId)
dashboardId - DashboardId to find the GadgetId ongadgetId - GadgetId of the gadget we want the user prefs resource URL of
String buildErrorGadgetUrl()
String buildDashboardDirectoryResourceUrl()
String buildDashboardResourceUrl(DashboardId dashboardId)
dashboardId - the ID of the dashboard to post gadgets to
String buildDashboardDirectoryUrl(DashboardId dashboardId)
dashboardId - the ID of the dashboard to post gadgets to
String buildDashboardDirectoryBaseUrl()
String buildDashboardDiagnosticsRelativeUrl()
String buildSecurityTokensUrl()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||