Interface JasperReportsRefreshService
-
- All Known Implementing Classes:
DefaultJasperReportsRefreshService
public interface JasperReportsRefreshServiceRefreshes reports in specific periods.- Spring Bean ID:
- jasperReportsRefreshService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanonRefresh()Refresh all available reports.voidstartRefreshing(WidgetPreferencesModel widget, RefreshTimeOption refreshOption)Start automatic refresh of the widget.voidstopRefreshing(WidgetPreferencesModel widget)Stop automatic refreshing of the widget
-
-
-
Method Detail
-
startRefreshing
void startRefreshing(WidgetPreferencesModel widget, RefreshTimeOption refreshOption)
Start automatic refresh of the widget. This method should be called each time the refresh requirements have changed and when a widget is loaded in the system. Initially, the method does not have to be called, because default refresh rate is set to NEVER. Two consecutive calls are allowed.
-
stopRefreshing
void stopRefreshing(WidgetPreferencesModel widget)
Stop automatic refreshing of the widget
-
onRefresh
boolean onRefresh()
Refresh all available reports. Returns true if page update is required
-
-