Interface ReportScriptingFunctions
- All Known Implementing Classes:
ClientScriptingFunctions,GatewayScriptingFunctions,ReportScriptingFunctionsImpl
public interface ReportScriptingFunctions
Scripting functions for the Reporting module.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordInformation about a report. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteAndDistribute(String path, org.python.core.PyDictionary parameters, String projectName, String action, org.python.core.PyDictionary actionSettings) Executes a report and distributes it using the specified action.byte[]executeReport(String path, String fileType, org.python.core.PyDictionary arguments, String projectName) Executes a report and returns the result as a byte array.getReportNames(String projectName) Retrieves a list of report names for a project.
-
Field Details
-
SERIALIZER
-
-
Method Details
-
executeReport
byte[] executeReport(String path, String fileType, org.python.core.PyDictionary arguments, String projectName) throws Exception Executes a report and returns the result as a byte array.- Parameters:
path- The path to the report.fileType- The format of the report (e.g., 'pdf', 'html', 'csv').arguments- Parameters to pass to the report.projectName- The name of the project.- Returns:
- The executed report as a byte array.
- Throws:
Exception- if execution fails.
-
executeAndDistribute
void executeAndDistribute(String path, org.python.core.PyDictionary parameters, String projectName, String action, org.python.core.PyDictionary actionSettings) throws Exception Executes a report and distributes it using the specified action.- Parameters:
path- The path to the report.parameters- Parameters to pass to the report.projectName- The name of the project.action- The name of the distribution action (e.g., 'email', 'print', 'save').actionSettings- Settings for the distribution action.- Throws:
Exception- if execution or distribution fails.
-
getReportNames
Retrieves a list of report names for a project.- Parameters:
projectName- The name of the project.- Returns:
- A list of report name information.
- Throws:
Exception- if retrieval fails.
-