public interface DashboardService extends PersistedService
| Modifier and Type | Method and Description |
|---|---|
void |
addWidget(Dashboard dashboard,
DashboardWidget widget) |
List<Dashboard> |
all() |
Dashboard |
load(String id) |
void |
removeWidget(Dashboard dashboard,
DashboardWidget widget) |
void |
updateWidgetCacheTime(Dashboard dashboard,
DashboardWidget widget,
int cacheTime) |
void |
updateWidgetDescription(Dashboard dashboard,
DashboardWidget widget,
String newDescription) |
void |
updateWidgetPositions(Dashboard dashboard,
List<WidgetPositionRequest> positions) |
destroy, destroyAll, save, saveWithoutValidation, validate, validate, validateDashboard load(String id) throws NotFoundException
NotFoundExceptionvoid updateWidgetPositions(Dashboard dashboard, List<WidgetPositionRequest> positions) throws ValidationException
ValidationExceptionvoid addWidget(Dashboard dashboard, DashboardWidget widget) throws ValidationException
ValidationExceptionvoid removeWidget(Dashboard dashboard, DashboardWidget widget)
void updateWidgetDescription(Dashboard dashboard, DashboardWidget widget, String newDescription) throws ValidationException
ValidationExceptionvoid updateWidgetCacheTime(Dashboard dashboard, DashboardWidget widget, int cacheTime) throws ValidationException
ValidationExceptionCopyright © 2012–2014 TORCH GmbH. All rights reserved.