package

com.atlassian.gadgets.dashboard.internal.rest

Interfaces and classes used to implement dashboards and their gadgets as REST resources.

Generally, the Handler classes define a resource operation in terms of domain objects. Instances of Handlers are injected into Resource classes. Representation classes define JAXB bindings between models in this package and JSON (or XML) that is sent to clients.

Interfaces

AddGadgetHandler Interface for adding a gadget spec URI to a dashboard. 
ChangeGadgetColorHandler Interface for changing the color of a gadget on a dashboard. 
ChangeLayoutHandler Interface for changing the layout of a dashboard. 
DeleteGadgetHandler Interface for removing a gadget from a live dashboard. 
UpdateGadgetUserPrefsHandler Interface for updating the values of user prefs in an active gadget. 

Classes

AddGadgetHandlerImpl Default implementation that adds a gadget to a live dashboard. 
AddGadgetHandlerImpl.GadgetAddedEvent  
ChangeGadgetColorHandlerImpl Default implementation that changes the color of a live gadget on a dashboard. 
ChangeLayoutHandlerImpl Default implementation. 
ChangeLayoutHandlerImpl.LayoutChangedEvent  
DashboardResource Provides REST endpoints for using the dashboard. 
DeleteGadgetHandlerImpl Default implementation that removes a gadget from a live dashboard. 
DeleteGadgetHandlerImpl.GadgetDeletedEvent  
GadgetResource Provides REST endpoints for manipulating a Gadget. 
UpdateGadgetUserPrefsHandlerImpl Default implementation that updates the prefs in a live gadget.