Package it.eng.spagobi.tools.scheduler

Examples of it.eng.spagobi.tools.scheduler.Formula


              strategy.setRoleToBeUsed(userRole[1]);
              biobjpar.setParameterValuesRetriever(strategy);
            } else if (useFormulaParameters.containsKey(biobjpar.getParameterUrlName())) {
              FormulaParameterValuesRetriever strategy = new FormulaParameterValuesRetriever();
              String fName = useFormulaParameters.get(biobjpar.getParameterUrlName());
              Formula f = Formula.getFormula(fName);
              strategy.setFormula(f);
              biobjpar.setParameterValuesRetriever(strategy);
            } else {
              for(int j=0; j<parCouples.length; j++) {
                String parCouple = parCouples[j];
View Full Code Here


        BIObjectParameter parameter = (BIObjectParameter) it.next();
        if (useFormulaParametersMap.containsKey(parameter.getParameterUrlName())) {
          logger.debug("Document parameter with url name [" + parameter.getParameterUrlName() + "] was configured to use a formula.");
          FormulaParameterValuesRetriever strategy = new FormulaParameterValuesRetriever();
          String fName = useFormulaParametersMap.get(parameter.getParameterUrlName());
          Formula f = Formula.getFormula(fName);
          strategy.setFormula(f);
          parameter.setParameterValuesRetriever(strategy);
        }
      }
    } finally {
View Full Code Here

        boolean isIterative = isIterativeStr != null && isIterativeStr.equalsIgnoreCase("true");
        biobjpar.setIterative(isIterative);
        if (useFormula) {
          String fName = (String) request.getAttribute(nameParInRequest + "_formula");
          FormulaParameterValuesRetriever strategy = new FormulaParameterValuesRetriever();
          Formula f = Formula.getFormula(fName);
          strategy.setFormula(f);
          biobjpar.setParameterValuesRetriever(strategy);
        } else if (loadAtRuntime) {
          RuntimeLoadingParameterValuesRetriever strategy = new RuntimeLoadingParameterValuesRetriever();
          strategy.setUserIndentifierToBeUsed(profile.getUserUniqueIdentifier().toString());
View Full Code Here

TOP

Related Classes of it.eng.spagobi.tools.scheduler.Formula

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.