@Deprecated public interface ReportRenderer
Modifier and Type | Method and Description |
---|---|
String |
getFilename(ReportSchema schema,
String argument)
Deprecated.
Should be null if getLinkUrl() returns a non-null value.
|
String |
getLabel()
Deprecated.
|
String |
getRenderedContentType(ReportSchema schema,
String argument)
Deprecated.
The content-type that will be rendered
|
Collection<RenderingMode> |
getRenderingModes(ReportSchema schema)
Deprecated.
Returns the modes in which this report schema could be rendered.
|
void |
render(ReportData reportData,
String argument,
OutputStream out)
Deprecated.
Render the report's data to a stream
|
void |
render(ReportData reportData,
String argument,
Writer writer)
Deprecated.
Render the report's data to a stream
|
String getLabel()
Collection<RenderingMode> getRenderingModes(ReportSchema schema)
schema
- Collection
of all modes in which the given ReportSchema
can be renderedString getRenderedContentType(ReportSchema schema, String argument)
Should be null if getLinkUrl() returns a non-null value.
schema
- The ReportSchema to renderargument
- Argument from the RenderingMode that the user selectedString
representation of the rendered content typeString getFilename(ReportSchema schema, String argument)
schema
- argument
- Argument from the RenderingMode that the user selectedvoid render(ReportData reportData, String argument, OutputStream out) throws IOException, ReportRenderingException
reportData
- Data that was calculated by the Reporting API and serviceargument
- Argument from the RenderingMode that the user selectedout
- ReportRenderingException
IOException
void render(ReportData reportData, String argument, Writer writer) throws IOException, ReportRenderingException
reportData
- Data that was calculated by the Reporting API and serviceargument
- Argument from the RenderingMode that the user selectedwriter
- the object to write the output toReportRenderingException
IOException
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.