Examples of IJavaClassDataSet


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

  }

  public IDataStore load(IDataReader dataReader) {
    String result = null;       
    IDataStore dataStore = null;
    IJavaClassDataSet javaClass;
    try {
      javaClass = (IJavaClassDataSet) Class.forName( className ).newInstance();

      if(javaClass==null){
        logger.debug("java class not found");
        throw new EMFUserError(EMFErrorSeverity.ERROR, 9217);
      }

      boolean checkProfileAttribute=checkProfileAttribute(javaClass, profile);
     
      if(!checkProfileAttribute){
        logger.debug("error in solving profile Attributes required");
        throw new EMFUserError(EMFErrorSeverity.ERROR, 9213);
      }
     
      result = javaClass.getValues( getProfile(), getParameters());
      result = result.trim();
      boolean toconvert = JavaClassUtils.checkSintax(result);
      // check if the result must be converted into the right xml sintax
      if(toconvert) {
        result = JavaClassUtils.convertResult(result);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.