Package org.pentaho.reporting.engine.classic.extensions.datasources.cda

Examples of org.pentaho.reporting.engine.classic.extensions.datasources.cda.HttpQueryBackend


  {
    // ugly but might still beat constructing the whole query
    final CdaDataFactory dataFactory = produceDataFactory();
    DataFactoryEditorSupport.configureDataFactoryForPreview(dataFactory, designTimeContext);

    HttpQueryBackend httpQuery = getHttpQuery();
    httpQuery.initialize(dataFactory.getDataFactoryContext());
    return httpQuery.fetchData(null, method, extraParameter);
  }
View Full Code Here


    httpQuery.initialize(dataFactory.getDataFactoryContext());
    return httpQuery.fetchData(null, method, extraParameter);
  }

  private HttpQueryBackend getHttpQuery() {
    HttpQueryBackend query = new HttpQueryBackend();
    query.setBaseUrl(baseUrl.getText());
    query.setFile(file.getText());
    query.setPath(path.getText());
    query.setSolution(solution.getText());
    query.setSugarMode(sugarMode.isSelected());
    query.setUsername(username.getText());
    query.setPassword(password.getText());
    return query;
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.extensions.datasources.cda.HttpQueryBackend

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.