| Package | Description |
|---|---|
| com.atlassian.gadgets.dashboard |
This package contains the main APIs for interacting with dashboards and gadgets.
|
| com.atlassian.gadgets.dashboard.view |
| Modifier and Type | Method and Description |
|---|---|
DashboardState |
DashboardState.appendGadgetToColumn(GadgetState gadgetState,
DashboardState.ColumnIndex index)
Deprecated.
|
DashboardState |
DashboardState.appendItemToColumn(DashboardItemState itemState,
DashboardState.ColumnIndex index)
Returns a new DashboardState built with the same data as
this, except that the column with index
index has had a new gadget added to its bottom |
DashboardState |
DashboardState.Builder.build()
Returns the final constructed
DashboardState |
DashboardState |
DashboardService.get(DashboardId id,
String username)
Fetch the
DashboardState if the user has permission. |
DashboardState |
DashboardState.prependGadgetToColumn(GadgetState dashboardItemState,
DashboardState.ColumnIndex index)
Deprecated.
|
DashboardState |
DashboardState.prependItemToColumn(DashboardItemState itemState,
DashboardState.ColumnIndex index)
Returns a new DashboardState built with the same data as
this, except that the column with index
index has had a new gadget added to its top |
DashboardState |
DashboardService.save(DashboardState state,
String username)
Save the
DashboardState if the user has permission. |
| Modifier and Type | Method and Description |
|---|---|
io.atlassian.fugue.Option<DashboardState> |
DashboardService.getDashboardForGadget(GadgetId gadgetId,
String username)
Gets dashboard state which contains the specified gadget
|
| Modifier and Type | Method and Description |
|---|---|
static DashboardState.Builder |
DashboardState.dashboard(DashboardState state)
Factory method which allows you to create a new
DashboardState object based on an existing
DashboardState. |
DashboardState |
DashboardService.save(DashboardState state,
String username)
Save the
DashboardState if the user has permission. |
| Modifier and Type | Method and Description |
|---|---|
ViewComponent |
DashboardTabViewFactory.createDashboardView(Iterable<DashboardTab> tabs,
DashboardState selectedTabDashboardState,
String username,
int maxGadgets,
GadgetRequestContext gadgetRequestContext)
Returns a
ViewComponent that will render the DashboardState and DashboardTabs
customizing the view based on the permissions the user has to view/edit the dashboard and the
specified Locale. |
Copyright © 2024 Atlassian. All rights reserved.