Class ReportingGatewayHook.RPC
java.lang.Object
com.inductiveautomation.reporting.gateway.ReportingGatewayHook.RPC
- All Implemented Interfaces:
- ReportRpc,- ReportScriptingFunctions
- Enclosing class:
- ReportingGatewayHook
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionexecute(String projectName, byte[] reportResourceBytes, byte[] reportScheduleBytes, AbstractReportActionConfig actionConfig, String reportName, String reportPath) voidexecuteAndDistribute(String path, org.python.core.PyDictionary parameters, String projectName, String action, org.python.core.PyDictionary actionSettings) byte[]executeReport(String path, String fileType, org.python.core.PyDictionary arguments, String project) longgetLastExecutionDuration(String projectName, String reportPath) getLastRun(String projectName, String reportPath) getLastScheduledRun(String projectName, String reportPath) getReportData(String projectName, String reportPath, ReportDataConfiguration dataConfig, Map<String, Object> parameters, Map<String, Object> extraConfig, boolean sampleData) getReportNamesAsDataset(String projectName) getReportNamesAsDataset(String projectName, boolean includeReportName) In 7.x the end of the Path returned did not include the report name, but in 8.x it does.getReportNamesAsList(String projectName) 
- 
Constructor Details- 
RPCpublic RPC()
 
- 
- 
Method Details- 
getReportDatapublic ReportExecutionData getReportData(String projectName, String reportPath, ReportDataConfiguration dataConfig, Map<String, Object> parameters, Map<String, throws ExceptionObject> extraConfig, boolean sampleData) - Specified by:
- getReportDatain interface- ReportRpc
- Throws:
- Exception
 
- 
execute
- 
getLastRun- Specified by:
- getLastRunin interface- ReportRpc
 
- 
getLastScheduledRun- Specified by:
- getLastScheduledRunin interface- ReportRpc
 
- 
getLastExecutionDuration- Specified by:
- getLastExecutionDurationin interface- ReportRpc
 
- 
executeReportpublic byte[] executeReport(String path, String fileType, org.python.core.PyDictionary arguments, String project) throws Exception - Specified by:
- executeReportin interface- ReportScriptingFunctions
- Throws:
- Exception
 
- 
executeAndDistributepublic void executeAndDistribute(String path, org.python.core.PyDictionary parameters, String projectName, String action, org.python.core.PyDictionary actionSettings) throws Exception - Specified by:
- executeAndDistributein interface- ReportScriptingFunctions
- Throws:
- Exception
 
- 
getReportNamesAsDataset- Specified by:
- getReportNamesAsDatasetin interface- ReportScriptingFunctions
- Throws:
- Exception
 
- 
getReportNamesAsDatasetpublic Dataset getReportNamesAsDataset(String projectName, boolean includeReportName) throws Exception Description copied from interface:ReportScriptingFunctionsIn 7.x the end of the Path returned did not include the report name, but in 8.x it does. This lets users have either behavior.- Specified by:
- getReportNamesAsDatasetin interface- ReportScriptingFunctions
- Parameters:
- projectName- Name of the project where the report is located. Optional in client.
- includeReportName- If true, the Path returned ends with the report name.
- Returns:
- A dataset of report paths and names for the project. Return columns are Path, Text, and SelectedText. Returns an empty dataset if the project has no reports.
- Throws:
- Exception
 
- 
getReportNamesAsList- Specified by:
- getReportNamesAsListin interface- ReportScriptingFunctions
- Throws:
- Exception
 
 
-