Class ReportRunExecutor
java.lang.Object
com.kingsrook.qqq.middleware.javalin.executors.AbstractMiddlewareExecutor<ReportRunInput,TableExportOutputInterface>
com.kingsrook.qqq.middleware.javalin.executors.ReportRunExecutor
public class ReportRunExecutor
extends AbstractMiddlewareExecutor<ReportRunInput,TableExportOutputInterface>
Run a report and stream the generated file, as the legacy
GET /reports/{reportName} route does: 404 for an unknown report, the report
permission check, the report's input fields read from the request (400 for a
missing required one or a value of the wrong type), and the file streamed in
the requested format while it is generated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(ReportRunInput input, TableExportOutputInterface output)
-
Constructor Details
-
ReportRunExecutor
public ReportRunExecutor()
-
-
Method Details
-
execute
- Specified by:
executein classAbstractMiddlewareExecutor<ReportRunInput,TableExportOutputInterface> - Throws:
QException
-