org.pentaho.reporting.engine.classic.core.parameters
Class DefaultParameterContext

java.lang.Object
  extended by 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

Constructor Summary
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)
           
DefaultParameterContext(MasterReport report)
           
DefaultParameterContext(MasterReport report, ReportParameterValues parameterValues)
           
 
Method Summary
 void close()
           
 org.pentaho.reporting.libraries.base.config.Configuration getConfiguration()
           
 org.pentaho.reporting.libraries.resourceloader.ResourceKey getContentBase()
           
 DataFactory getDataFactory()
           
 org.pentaho.reporting.libraries.docbundle.DocumentMetaData getDocumentMetaData()
          the document metadata of the report.
 DataRow getParameterData()
           
 DataRow getParameterValues()
           
 ReportEnvironment getReportEnvironment()
           
 ResourceBundleFactory getResourceBundleFactory()
           
 org.pentaho.reporting.libraries.resourceloader.ResourceManager getResourceManager()
           
 void open()
           
 void setParameterValues(DataRow parameterValues)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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