public class Report extends XMLRequest
Constructor and Description |
---|
Report(int runID,
java.lang.String reportType)
Constructs a
ReportContent using the specified runID and reportType . |
Modifier and Type | Method and Description |
---|---|
void |
firstPage()
Selects the first page of the report.
|
int |
getCurrentPage()
Returns the number of the current page or 0 if this request has not been sent.
|
int |
getNumberOfPages()
Returns the number of pages for this report 0 if this request has not been sent.
|
java.lang.String |
getReport()
Returns the content of this page or
null if the request has not been sent. |
java.lang.String |
getReportType()
Returns the report type.
|
void |
lastPage()
Selects the last page.
|
void |
nextPage(int page)
Selects the next page of the report.
|
void |
previousPage(int page)
Selects the previous page.
|
getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, send
public Report(int runID, java.lang.String reportType)
ReportContent
using the specified runID
and reportType
.runID
- RunIDreportType
- ReportTypepublic java.lang.String getReportType()
public void firstPage()
public void nextPage(int page)
currentPage
must be filled with old page number.page
- Number of the current pagepublic void previousPage(int page)
currentPage
must be filled with old page number.page
- Number of the current pagepublic void lastPage()
public int getNumberOfPages()
public int getCurrentPage()
public java.lang.String getReport()
null
if the request has not been sent.