@Model(adaptables=org.apache.sling.api.SlingHttpServletRequest.class) public class QueryReportExecutor extends Object implements ReportExecutor
| Constructor and Description |
|---|
QueryReportExecutor(org.apache.sling.api.SlingHttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
ResultsPage |
getAllResults()
Return all of the results based on the request parameters and supplied
configuration settings in the configuration resource.
|
String |
getDetails()
Gets the details for this report executor
|
String |
getParameters()
The parameters used to execute the report.
|
ResultsPage |
getResults()
Return the page of results based on the request parameters and supplied
configuration settings in the configuration resource.
|
void |
setConfiguration(org.apache.sling.api.resource.Resource config)
Set the resource used to configure this report executor.
|
void |
setPage(int page)
This method will be called by the ReportRunner to set the current results
page.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParamPatternMappublic QueryReportExecutor(org.apache.sling.api.SlingHttpServletRequest request)
public ResultsPage getAllResults() throws ReportException
ReportExecutorgetAllResults in interface ReportExecutorReportExceptionpublic String getDetails() throws ReportException
ReportExecutorgetDetails in interface ReportExecutorReportExceptionpublic String getParameters() throws ReportException
ReportExecutorgetParameters in interface ReportExecutorReportExceptionpublic ResultsPage getResults() throws ReportException
ReportExecutorgetResults in interface ReportExecutorReportExceptionpublic void setConfiguration(org.apache.sling.api.resource.Resource config)
ReportExecutorsetConfiguration in interface ReportExecutorconfig - the resource to configure this report executorpublic void setPage(int page)
ReportExecutorsetPage in interface ReportExecutorpage - the result pageCopyright © 2013–2020 Adobe. All rights reserved.