RTR Report Classes
The RTR report-related APEX classes provide programmatic access to the TPM Real Time Reporting (RTR) report data.
Use these classes to:
-
Execute RTR reports.
-
Specify filters for the report execution.
-
Retrieve data from a Flatlist component.
-
Retrieve data from a ScoreCard component.
-
Create unit tests for the RTR report-related features and generate mock report results to test the different paths of your code.
-
The
RTRReportResultApex class provides methods to access and process RTR reports. -
RTRReportResult.ReportComponent
This class represents an RTR Report UI component.
-
This class represents an RTR Report UI ScoreCard component.
-
This class represents an RTR Report UI Flatlist component.
-
This class represents a single row in an RTR Report UI Flatlist component.
-
RTRReportResult.FlatlistRowIterable
This class represents a set of rows in an RTR Report UI Flatlist component.
-
This class is used to create mock exceptions for the unit test execution.
-
RTRReportResult.MockRTRReportResult
This class is used to create mock responses for the unit test execution.
-
This class is used to create mock responses for the unit test execution.
-
This class is used to create mock responses for the unit test execution.
-
RTRReportResult.MockFlatlistRow
This class is used to create mock responses for the unit test execution.
-
Report Execution Filter Types and Limits
Here are the different types of filters you can specify to execute a report.