Package it.eng.spagobi.tools.dataset.bo

Examples of it.eng.spagobi.tools.dataset.bo.FileDataSet


   * @throws EMFUserError
   */
  public IDataSet toIDataSet(SbiDataSetHistory hibDataSet) throws EMFUserError{
    IDataSet ds = null;
    if(hibDataSet instanceof SbiFileDataSet){   
      ds = new FileDataSet();
      ((FileDataSet)ds).setFileName(((SbiFileDataSet)hibDataSet).getFileName());   
      ds.setDsType(DataSetConstants.FILE);
    }

    if(hibDataSet instanceof SbiQueryDataSet){     
View Full Code Here


 
  private IDataSet instantiateCorrectIDataSetType(String dsType) throws Exception{

    IDataSet ds = null;
    if(dsType.equalsIgnoreCase(DataSetConstants.DS_FILE)){ 
      ds = new FileDataSet();
      String fileName = getAttributeAsString(DataSetConstants.FILE_NAME);
      ((FileDataSet)ds).setFileName(fileName);   
    }

    if(dsType.equalsIgnoreCase(DataSetConstants.DS_QUERY)){   
View Full Code Here

 
  private IDataSet instantiateCorrectIDataSetType(String dsType) throws Exception{

    IDataSet ds = null;
    if(dsType.equalsIgnoreCase(DataSetConstants.DS_FILE)){ 
      ds = new FileDataSet();
      String fileName = getAttributeAsString(DataSetConstants.FILE_NAME);
      ((FileDataSet)ds).setFileName(fileName);   
    }

    if(dsType.equalsIgnoreCase(DataSetConstants.DS_QUERY)){   
View Full Code Here

TOP

Related Classes of it.eng.spagobi.tools.dataset.bo.FileDataSet

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.