public interface PaginationProviderIf
| 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.
|
int |
getRowCount(java.lang.String reportName,
ReportContext rc,
Query query,
SortCriteria sort)
Returns the total number of rows matching the given query.
|
TabularReportMetadata |
getTabularReportMetadata(java.lang.String reportName,
ReportContext rc)
Returns the column definitions and any ui customizations for the given report.
|
TabularReport getPage(java.lang.String reportName, ReportContext rc, Query query, SortCriteria[] sort, int startIndex, int endIndex, boolean isExport) throws java.lang.Exception
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.Exceptionint getRowCount(java.lang.String reportName,
ReportContext rc,
Query query,
SortCriteria sort)
throws java.lang.Exception
reportName - Name of report to get row count for.rc - The report context to retrieve rows with.query - Any additional clauses to tack on to base query.sort - Sort order, but is irrelevant in this case.java.lang.ExceptionTabularReportMetadata getTabularReportMetadata(java.lang.String reportName, ReportContext rc)
reportName - Name of report to get metadata for.rc - The report context to get metadata for.Query appendContextSubQuery(ReportRegistryEntry entry, TabularReportMetadata md, ReportContext rc, Query query)
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.