Interface JasperReportsRefreshService

  • All Known Implementing Classes:
    DefaultJasperReportsRefreshService

    public interface JasperReportsRefreshService
    Refreshes reports in specific periods.
    Spring Bean ID:
    jasperReportsRefreshService
    • 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