Interface JasperReportsRefreshService
- All Known Implementing Classes:
DefaultJasperReportsRefreshService
public interface JasperReportsRefreshService
Refreshes reports in specific periods.
- Spring Bean ID:
- jasperReportsRefreshService
-
Method Summary
Modifier and TypeMethodDescriptionbooleanRefresh all available reports.voidstartRefreshing(WidgetPreferencesModel widget, RefreshTimeOption refreshOption) Start automatic refresh of the widget.voidstopRefreshing(WidgetPreferencesModel widget) Stop automatic refreshing of the widget
-
Method Details
-
startRefreshing
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
Stop automatic refreshing of the widget -
onRefresh
boolean onRefresh()Refresh all available reports. Returns true if page update is required
-