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