Package org.pentaho.reporting.engine.classic.core.states

Examples of org.pentaho.reporting.engine.classic.core.states.CascadingDataFactory


    gmr.parentRow = this;
    gmr.dataSchema = null;
    gmr.resourceBundleFactory = resourceBundleFactory;
    gmr.parameterDefinitionEntries = parameterDefinitionEntries;

    final CascadingDataFactory dataFactory = new CascadingDataFactory();
    dataFactory.add(reportFactory);
    dataFactory.add(this.dataFactory);
    gmr.dataFactory = dataFactory;
    gmr.setParameterDataRow(parameterDataRow);
    gmr.setEnvironmentDataRow(environmentDataRow);
    return gmr;
  }
View Full Code Here


    master.setDataFactory(cdf);

    final CachingDataFactory caDf = new CachingDataFactory(cdf, true);
    master.setDataFactory(caDf);

    final CompoundDataFactory ccdf = new CascadingDataFactory();
    ccdf.add(caDf);
    ccdf.add(tableDataFactory);
    master.setDataFactory(ccdf);

//    assertTrue(ccdf.isQueryExecutable("Query Fruit", new StaticDataRow()));
  }
View Full Code Here

    final CompoundDataFactory cdf = new CompoundDataFactory();
    cdf.add(new TableDataFactory("static", new DefaultTableModel()));

    final CachingDataFactory caDf = new CachingDataFactory(cdf, true);

    final CompoundDataFactory ccdf = new CascadingDataFactory();
    ccdf.add(caDf);
    ccdf.add(new StaticDataFactory());

    assertTrue(ccdf.isQueryExecutable("static", new StaticDataRow()));
    assertNotNull(ccdf.queryData("static", new StaticDataRow()));
  }
View Full Code Here

    gmr.parentRow = this;
    gmr.dataSchema = null;
    gmr.resourceBundleFactory = resourceBundleFactory;
    gmr.paddingData = new DataProcessor();

    final CascadingDataFactory dataFactory = new CascadingDataFactory();
    dataFactory.add(reportFactory);
    dataFactory.add(this.dataFactory);
    gmr.dataFactory = dataFactory;
    gmr.setEnvironmentDataRow(environmentDataRow);
    gmr.setParameterDataRow(parameterDataRow);
    return gmr;
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.states.CascadingDataFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.