com.atlassian.gadgets.dashboard.internal.rest
Interface UpdateGadgetUserPrefsHandler

All Known Implementing Classes:
UpdateGadgetUserPrefsHandlerImpl

public interface UpdateGadgetUserPrefsHandler

Interface for updating the values of user prefs in an active gadget.


Method Summary
 javax.ws.rs.core.Response updateUserPrefs(com.atlassian.gadgets.dashboard.DashboardId dashboardId, com.atlassian.gadgets.GadgetRequestContext gadgetRequestContext, com.atlassian.gadgets.GadgetId gadgetId, Map<String,String> prefs)
          Changes the user prefs on the specified gadget and dashboard to the values supplied by the query.
 

Method Detail

updateUserPrefs

javax.ws.rs.core.Response updateUserPrefs(com.atlassian.gadgets.dashboard.DashboardId dashboardId,
                                          com.atlassian.gadgets.GadgetRequestContext gadgetRequestContext,
                                          com.atlassian.gadgets.GadgetId gadgetId,
                                          Map<String,String> prefs)
Changes the user prefs on the specified gadget and dashboard to the values supplied by the query.

Parameters:
dashboardId - the ID of the dashboard hosting the gadget
gadgetRequestContext - the context of this request
gadgetId - the gadget to change the prefs for
prefs - the user prefs with their updated values
Returns:
a Response for the client with details on the success or failure


Copyright © 2013 Atlassian. All Rights Reserved.