|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RepresentationFactory
Factory to construct new REST representations given the required domain objects.
| Method Summary | |
|---|---|
DashboardRepresentation |
createDashboardRepresentation(Dashboard dashboard,
com.atlassian.gadgets.GadgetRequestContext gadgetRequestContext,
boolean writable)
Given a Dashboard, this creates a new JAXB dashboard representation. |
GadgetRepresentation |
createGadgetRepresentation(com.atlassian.gadgets.dashboard.DashboardId dashboardId,
Gadget gadget,
com.atlassian.gadgets.GadgetRequestContext gadgetRequestContext,
boolean writable,
com.atlassian.gadgets.dashboard.DashboardState.ColumnIndex column)
Given a Gadget, this creates a new JAXB gadget representation |
| Method Detail |
|---|
DashboardRepresentation createDashboardRepresentation(Dashboard dashboard,
com.atlassian.gadgets.GadgetRequestContext gadgetRequestContext,
boolean writable)
Dashboard, this creates a new JAXB dashboard representation.
dashboard - The dashboard state for the JAXB representationgadgetRequestContext - request contextwritable - If the user has permission to udpate this dashboard
DashboardRepresentation containing all the dashboard information, as well as all
GadgetRepresentations for this dashboard
GadgetRepresentation createGadgetRepresentation(com.atlassian.gadgets.dashboard.DashboardId dashboardId,
Gadget gadget,
com.atlassian.gadgets.GadgetRequestContext gadgetRequestContext,
boolean writable,
com.atlassian.gadgets.dashboard.DashboardState.ColumnIndex column)
Gadget, this creates a new JAXB gadget representation
dashboardId - The dashboard this gadget is ongadget - The gadet state for the JAXB representationgadgetRequestContext - request contextwritable - If the user has permission to update this dashboardcolumn - The column in which this gadget resides on the dashbaord.
GadgetRepresentation containing all information required to render the gadget
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||