public class PaginatedChangeRecordReportHandler extends PaginatedReportHandler
Constructor and Description |
---|
PaginatedChangeRecordReportHandler() |
Modifier and Type | Method and Description |
---|---|
Query |
appendContextSubQuery(ReportRegistryEntry entry,
TabularReportMetadata md,
ReportContext rc,
Query query)
If the report context necessitates the query be appended with additional clauses.
|
TabularReport |
getPage(java.lang.String reportName,
ReportContext rc,
Query query,
SortCriteria[] sort,
int startIndex,
int endIndex,
boolean isExport)
Returns the set of rows matching the given query between start and end.
|
createTabularReport, getPage, getPageCount, getRowCount, getRowCount, getTabularReportMetadata, getTabularReportMetadata, getTabularReportReport, main
public Query appendContextSubQuery(ReportRegistryEntry entry, TabularReportMetadata md, ReportContext rc, Query query)
PaginationProviderIf
entry
- The report registry entry for this report.md
- All the metadata for this report.rc
- The report context to determine if this query needs appending.query
- The base query as passed in from UI.public TabularReport getPage(java.lang.String reportName, ReportContext rc, Query query, SortCriteria[] sort, int startIndex, int endIndex, boolean isExport) throws java.lang.Exception
PaginationProviderIf
getPage
in interface PaginationProviderIf
getPage
in class PaginatedReportHandler
reportName
- Name of the report to gather rows for.rc
- The report context to retrieve rows with.query
- Any additional clauses to tack on to the base query.sort
- The sort order for columns.startIndex
- The starting index to get rows for.endIndex
- The ending index to get rows for.java.lang.Exception