public abstract class BaseBirtReportAdapter extends Object
ReportModel
and ReportInstance
adapters Contains common code for Parameters
management.Modifier and Type | Field and Description |
---|---|
protected DocumentModel |
doc |
Constructor and Description |
---|
BaseBirtReportAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
getDoc() |
protected abstract String |
getPrefix() |
abstract List<ReportParameter> |
getReportParameters() |
protected CoreSession |
getSession() |
void |
setParameter(ReportParameter param) |
void |
setParameter(ReportParameter param,
boolean save) |
void |
setParameter(String name,
Object value) |
void |
setParameter(String name,
Object value,
boolean save) |
protected DocumentModel doc
public BaseBirtReportAdapter(DocumentModel doc)
protected CoreSession getSession()
public abstract List<ReportParameter> getReportParameters() throws IOException
IOException
public void setParameter(ReportParameter param) throws IOException
IOException
public void setParameter(ReportParameter param, boolean save) throws IOException
IOException
public void setParameter(String name, Object value) throws IOException
IOException
public void setParameter(String name, Object value, boolean save) throws IOException
IOException
public DocumentModel getDoc()
Copyright © 2015 Nuxeo SA. All rights reserved.