org.pentaho.reporting.engine.classic.core.parameters
Class DefaultParameterContext
java.lang.Object
org.pentaho.reporting.engine.classic.core.parameters.DefaultParameterContext
- All Implemented Interfaces:
- ParameterContext
public class DefaultParameterContext
- extends Object
- implements ParameterContext
Todo: Document me!
- Author:
- : Thomas Morgner
DefaultParameterContext
public DefaultParameterContext(MasterReport report)
throws ReportProcessingException
- Throws:
ReportProcessingException
DefaultParameterContext
public DefaultParameterContext(MasterReport report,
ReportParameterValues parameterValues)
throws ReportProcessingException
- Throws:
ReportProcessingException
DefaultParameterContext
public DefaultParameterContext(DataFactory dataFactory,
DataRow parameterValues,
org.pentaho.reporting.libraries.base.config.Configuration configuration,
ResourceBundleFactory resourceBundleFactory,
org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager,
org.pentaho.reporting.libraries.resourceloader.ResourceKey resourceKey,
ReportEnvironment reportEnvironment)
throws ReportDataFactoryException
- Throws:
ReportDataFactoryException
getDocumentMetaData
public org.pentaho.reporting.libraries.docbundle.DocumentMetaData getDocumentMetaData()
- Description copied from interface:
ParameterContext
- the document metadata of the report. Can be null, if the report does not have a bundle associated or if
this context is not part of a report-processing.
- Specified by:
getDocumentMetaData in interface ParameterContext
- Returns:
getReportEnvironment
public ReportEnvironment getReportEnvironment()
- Specified by:
getReportEnvironment in interface ParameterContext
getResourceManager
public org.pentaho.reporting.libraries.resourceloader.ResourceManager getResourceManager()
- Specified by:
getResourceManager in interface ParameterContext
getConfiguration
public org.pentaho.reporting.libraries.base.config.Configuration getConfiguration()
- Specified by:
getConfiguration in interface ParameterContext
open
public void open()
throws ReportDataFactoryException
- Throws:
ReportDataFactoryException
getParameterData
public DataRow getParameterData()
- Specified by:
getParameterData in interface ParameterContext
getParameterValues
public DataRow getParameterValues()
setParameterValues
public void setParameterValues(DataRow parameterValues)
getDataFactory
public DataFactory getDataFactory()
- Specified by:
getDataFactory in interface ParameterContext
getResourceBundleFactory
public ResourceBundleFactory getResourceBundleFactory()
- Specified by:
getResourceBundleFactory in interface ParameterContext
close
public void close()
throws ReportDataFactoryException
- Specified by:
close in interface ParameterContext
- Throws:
ReportDataFactoryException
getContentBase
public org.pentaho.reporting.libraries.resourceloader.ResourceKey getContentBase()
- Specified by:
getContentBase in interface ParameterContext