public class BirtReportInstance extends BaseBirtReportAdapter implements ReportInstance
ReportInstance
adapter. Holds most of the rendering logic.Constructor and Description |
---|
BirtReportInstance(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
ReportModel |
getModel()
Return the associated
ReportModel |
String |
getReportKey()
Get the key used to uniquely identify the report instance This key is used in REST urls.
|
List<ReportParameter> |
getReportParameters()
Get All reports parameters : merging model parameters with instance parameters
|
List<ReportParameter> |
getReportUserParameters()
Get report parameters that can be entered by the user.
|
Map<String,String> |
getStoredParameters()
Get parameters as storef in thi resport instance
|
void |
initParameterList()
Initialize the parameters from the associated model
|
void |
render(org.eclipse.birt.report.engine.api.IRenderOption options,
Map<String,Object> userParameters)
Starts the rendering of the report according to
IRenderOption |
void |
setReportKey(String key)
Sets the report key (used from a Core Listener)
|
getDoc, setParameter, setParameter, setParameter, setParameter
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDoc, setParameter, setParameter
public BirtReportInstance(DocumentModel doc)
public ReportModel getModel() throws ClientException
ReportInstance
ReportModel
getModel
in interface ReportInstance
ClientException
public Map<String,String> getStoredParameters() throws ClientException
ReportInstance
getStoredParameters
in interface ReportInstance
ClientException
public List<ReportParameter> getReportParameters() throws IOException
ReportInstance
getReportParameters
in interface ReportInstance
getReportParameters
in class BaseBirtReportAdapter
IOException
public List<ReportParameter> getReportUserParameters() throws IOException
ReportInstance
getReportUserParameters
in interface ReportInstance
IOException
public void initParameterList() throws IOException
ReportInstance
initParameterList
in interface ReportInstance
IOException
public void render(org.eclipse.birt.report.engine.api.IRenderOption options, Map<String,Object> userParameters) throws IOException
ReportInstance
IRenderOption
render
in interface ReportInstance
IOException
public String getReportKey()
ReportInstance
getReportKey
in interface ReportInstance
public void setReportKey(String key) throws ClientException
ReportInstance
setReportKey
in interface ReportInstance
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.