Package io.jmix.reports
Interface ReportExecutionHistoryRecorder
- All Known Implementing Classes:
ReportExecutionHistoryRecorderImpl
public interface ReportExecutionHistoryRecorder
-
Method Summary
Modifier and TypeMethodDescriptionShould be invoked as scheduled task.voidmarkAsCancelled(ReportExecution execution) voidmarkAsError(ReportExecution execution, Exception e) voidmarkAsSuccess(ReportExecution execution, com.haulmont.yarg.reporting.ReportOutputDocument document) startExecution(Report report, Map<String, Object> params)
-
Method Details
-
startExecution
-
markAsSuccess
void markAsSuccess(ReportExecution execution, com.haulmont.yarg.reporting.ReportOutputDocument document) -
markAsError
-
markAsCancelled
-
cleanupHistory
String cleanupHistory()Should be invoked as scheduled task.- Returns:
- count of deleted
ReportExecutionentities
-