com.atlassian.gadgets.dashboard.internal.rest
Class ChangeLayoutHandlerImpl

java.lang.Object
  extended by com.atlassian.gadgets.dashboard.internal.rest.ChangeLayoutHandlerImpl
All Implemented Interfaces:
ChangeLayoutHandler

public class ChangeLayoutHandlerImpl
extends Object
implements ChangeLayoutHandler

Default implementation.


Constructor Summary
ChangeLayoutHandlerImpl(DashboardRepository repository, com.atlassian.sal.api.message.I18nResolver i18n)
           
 
Method Summary
 javax.ws.rs.core.Response changeLayout(DashboardId dashboardId, GadgetRequestContext gadgetRequestContext, javax.ws.rs.core.MultivaluedMap<String,String> queryParams)
          Attempts to change the layout of the specified dashboard.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeLayoutHandlerImpl

public ChangeLayoutHandlerImpl(DashboardRepository repository,
                               com.atlassian.sal.api.message.I18nResolver i18n)
Method Detail

changeLayout

public javax.ws.rs.core.Response changeLayout(DashboardId dashboardId,
                                              GadgetRequestContext gadgetRequestContext,
                                              javax.ws.rs.core.MultivaluedMap<String,String> queryParams)
Description copied from interface: ChangeLayoutHandler
Attempts to change the layout of the specified dashboard.

Specified by:
changeLayout in interface ChangeLayoutHandler
Parameters:
dashboardId - the ID of the dashboard to change
gadgetRequestContext - the context of this request
queryParams - parameters sent along with the request @return a Response for the client with details on the success or failure


Copyright © 2009 Atlassian. All Rights Reserved.