Examples of IJavaClassLov


Examples of it.eng.spagobi.behaviouralmodel.lov.bo.IJavaClassLov

//        return list;
//      }
      valColName = javaClassDetail.getValueColumnName();
      try{   
        String javaClassName = javaClassDetail.getJavaClassName();
        IJavaClassLov javaClassLov = (IJavaClassLov) Class.forName(javaClassName).newInstance();
          String result = javaClassLov.getValues(profile);
            rowsSourceBean = SourceBean.fromXMLString(result);
      } catch (Exception e) {
        SpagoBITracer.major(SpagoBIConstants.NAME_MODULE, this.getClass().getName(),
                              "getList", "Error while executing the java class lov", e);
        String stacktrace = e.toString();
View Full Code Here

Examples of it.eng.spagobi.behaviouralmodel.lov.bo.IJavaClassLov

      }
    } else if(typeLov.equalsIgnoreCase("JAVA_CLASS")) {
      JavaClassDetail javaClassDetail = JavaClassDetail.fromXML(looProvider);
      try{   
        String javaClassName = javaClassDetail.getJavaClassName();
        IJavaClassLov javaClassLov = (IJavaClassLov) Class.forName(javaClassName).newInstance();
          String result = javaClassLov.getValues(profile);
            rowsSourceBean = SourceBean.fromXMLString(result);
            colNames = findFirstRowAttributes(rowsSourceBean);
      } catch (Exception e) {
        SpagoBITracer.major(SpagoBIConstants.NAME_MODULE, this.getClass().getName(),
                              "getList", "Error while executing the java class lov", e);
View Full Code Here

Examples of it.eng.spagobi.behaviouralmodel.lov.bo.IJavaClassLov

  logger.debug("valColName="+valColName);
  descriptionColName = javaClassDetail.getDescriptionColumnName();
  logger.debug("descriptionColName="+descriptionColName);
  try {
      String javaClassName = javaClassDetail.getJavaClassName();
      IJavaClassLov javaClassLov = (IJavaClassLov) Class.forName(javaClassName).newInstance();
//      String result = javaClassLov.getValues(profile);
//      resultSB = SourceBean.fromXMLString(result);
  } catch (Exception e) {
      logger.error("Error while executing the java class lov", e);
      String stacktrace = e.toString();
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.