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, validate
Dashboard load(String id) throws NotFoundException
NotFoundException
void updateWidgetPositions(Dashboard dashboard, WidgetPositions positions) throws ValidationException
ValidationException
void addWidget(Dashboard dashboard, DashboardWidget widget) throws ValidationException
ValidationException
void removeWidget(Dashboard dashboard, DashboardWidget widget)
void updateWidgetDescription(Dashboard dashboard, DashboardWidget widget, String newDescription) throws ValidationException
ValidationException
void updateWidgetCacheTime(Dashboard dashboard, DashboardWidget widget, int cacheTime) throws ValidationException
ValidationException
long count()
Copyright © 2012-2015 Graylog, Inc.. All Rights Reserved.