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.
updateUserPrefs
javax.ws.rs.core.Response updateUserPrefs(DashboardId dashboardId,
GadgetRequestContext gadgetRequestContext,
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 gadgetgadgetRequestContext - the context of this requestgadgetId - the gadget to change the prefs forprefs - the user prefs with their updated values
- Returns:
- a
Response for the client with details on the success or
failure
Copyright © 2011 Atlassian. All Rights Reserved.