@Component public class ChangeLayoutHandlerImpl extends Object implements ChangeLayoutHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
ChangeLayoutHandlerImpl.LayoutChangedEvent |
| Constructor and Description |
|---|
ChangeLayoutHandlerImpl(DashboardRepository repository,
com.atlassian.sal.api.message.I18nResolver i18n,
com.atlassian.event.api.EventPublisher eventPublisher) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
changeLayout(DashboardId dashboardId,
GadgetRequestContext gadgetRequestContext,
org.json.JSONObject newLayout)
Attempts to change the layout of the specified dashboard.
|
public ChangeLayoutHandlerImpl(DashboardRepository repository, com.atlassian.sal.api.message.I18nResolver i18n, com.atlassian.event.api.EventPublisher eventPublisher)
public javax.ws.rs.core.Response changeLayout(DashboardId dashboardId, GadgetRequestContext gadgetRequestContext, org.json.JSONObject newLayout)
ChangeLayoutHandlerchangeLayout in interface ChangeLayoutHandlerdashboardId - the ID of the dashboard to changegadgetRequestContext - the context of this requestnewLayout - parameters sent along with the requestResponse for the client with details on the success or failureCopyright © 2018 Atlassian. All rights reserved.