public class BirtReportInstance extends BaseBirtReportAdapter implements ReportInstance
ReportInstance
adapter. Holds most of the rendering logic.Modifier and Type | Field and Description |
---|---|
protected static String |
PREFIX |
doc
Constructor and Description |
---|
BirtReportInstance(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
computeParametersForBirt(List<ReportParameter> parameters) |
ReportModel |
getModel()
Return the associated
ReportModel |
protected String |
getPrefix() |
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, getSession, setParameter, setParameter, setParameter, setParameter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDoc, setParameter, setParameter
protected static final String PREFIX
public BirtReportInstance(DocumentModel doc)
public ReportModel getModel()
ReportInstance
ReportModel
getModel
in interface ReportInstance
public Map<String,String> getStoredParameters()
ReportInstance
getStoredParameters
in interface ReportInstance
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
protected Map<String,Object> computeParametersForBirt(List<ReportParameter> parameters)
public String getReportKey()
ReportInstance
getReportKey
in interface ReportInstance
public void setReportKey(String key)
ReportInstance
setReportKey
in interface ReportInstance
protected String getPrefix()
getPrefix
in class BaseBirtReportAdapter
Copyright © 2015 Nuxeo SA. All rights reserved.