public interface DashboardService extends PersistedService
| Modifier and Type | Method and Description |
|---|---|
void |
addWidget(Dashboard dashboard,
DashboardWidget widget) |
List<Dashboard> |
all() |
long |
count() |
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,
WidgetPositions positions) |
destroy, destroyAll, save, saveWithoutValidation, validate, validate, validateDashboard load(String id) throws NotFoundException
NotFoundExceptionvoid updateWidgetPositions(Dashboard dashboard, WidgetPositions 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
ValidationExceptionlong count()
Copyright © 2012-2015 Graylog, Inc.. All Rights Reserved.