|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.chartpopup.ChartPopupResource
public class ChartPopupResource
REST endpoint to retrieve the URL to display a legacy portlet.
| Constructor Summary | |
|---|---|
ChartPopupResource(JiraAuthenticationContext authenticationContext,
com.atlassian.gadgets.view.GadgetViewFactory gadgetViewFactory,
VelocityRequestContextFactory velocityRequestContextFactory,
PortalPageService portalPageService,
SearchRequestService searchRequestService,
SearchService searchService,
com.atlassian.gadgets.dashboard.DashboardService dashboardService,
com.atlassian.gadgets.dashboard.spi.GadgetStateFactory gadgetStateFactory,
UserUtil userUtil,
com.atlassian.gadgets.GadgetRequestContextFactory gadgetRequestContextFactory,
SessionSearchObjectManagerFactory sessionSearchObjectManagerFactory,
com.atlassian.velocity.VelocityManager velocityManager,
ApplicationProperties applicationProperties)
|
|
| Method Summary | |
|---|---|
javax.ws.rs.core.Response |
addGadgetToDashboard(Gadget gadget)
Saves the gadget specified as a parameter to a particular dashboard. |
javax.ws.rs.core.Response |
getChartContents(Long gadgetId,
String gadgetUri,
Long filterId,
String jql,
javax.servlet.http.HttpServletRequest request)
Renders the contents for a particular chart needed to display this chart in the issue navigator 'Charts' popup. |
javax.ws.rs.core.Response |
getGadgetToDashboardForm(Long filterId,
String jql)
Returns the save to dashboard form. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChartPopupResource(JiraAuthenticationContext authenticationContext,
com.atlassian.gadgets.view.GadgetViewFactory gadgetViewFactory,
VelocityRequestContextFactory velocityRequestContextFactory,
PortalPageService portalPageService,
SearchRequestService searchRequestService,
SearchService searchService,
com.atlassian.gadgets.dashboard.DashboardService dashboardService,
com.atlassian.gadgets.dashboard.spi.GadgetStateFactory gadgetStateFactory,
UserUtil userUtil,
com.atlassian.gadgets.GadgetRequestContextFactory gadgetRequestContextFactory,
SessionSearchObjectManagerFactory sessionSearchObjectManagerFactory,
com.atlassian.velocity.VelocityManager velocityManager,
ApplicationProperties applicationProperties)
| Method Detail |
|---|
public javax.ws.rs.core.Response getChartContents(Long gadgetId,
String gadgetUri,
Long filterId,
String jql,
@Context
javax.servlet.http.HttpServletRequest request)
gadgetId - The id of the gadget being rendered. Really just a bogus identifier associated with the popup
panel being displayed.gadgetUri - The gadget spec URI for the chart being displayed.filterId - The saved filter id to use for this chart. May be null if this is an anonymous filterjql - The query entered by the user. May be null if the user was using a saved filterrequest - The httpServletRequest
public javax.ws.rs.core.Response getGadgetToDashboardForm(Long filterId,
String jql)
filterId - FilterId that was used to run the queryjql - JQL that was used to run the query
public javax.ws.rs.core.Response addGadgetToDashboard(Gadget gadget)
gadget - The gadget to add to a dashboard.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||