Package it.eng.spagobi.behaviouralmodel.analyticaldriver.bo

Examples of it.eng.spagobi.behaviouralmodel.analyticaldriver.bo.Parameter


    aBIObjectParameter.setParID(hiObjPar.getSbiParameter().getParId());
    aBIObjectParameter.setRequired(new Integer(hiObjPar.getReqFl().intValue()));
    aBIObjectParameter.setVisible(new Integer(hiObjPar.getViewFl().intValue()));
    aBIObjectParameter.setPriority(hiObjPar.getPriority());
    aBIObjectParameter.setProg(hiObjPar.getProg());
    Parameter parameter = new Parameter();
    parameter.setId(hiObjPar.getSbiParameter().getParId());
    aBIObjectParameter.setParameter(parameter);
    return aBIObjectParameter;
  }
View Full Code Here


   
    private String getValueFromLov(BIObjectParameter biObjectParameter, SourceBean lovSB) {
      String value = null;
      ILovDetail lovProvDet = null;
      try {
        Parameter par = biObjectParameter.getParameter();
        ModalitiesValue lov = par.getModalityValue();
        // build the ILovDetail object associated to the lov
        String lovProv = lov.getLovProvider();
        lovProvDet = LovDetailFactory.getLovFromXML(lovProv);
       
        value = (String) lovSB.getAttribute( lovProvDet.getValueColumnName() );
View Full Code Here

      identif = "biobject=" + biobj.getLabel() + "&";
      biobjpars = biobj.getBiObjectParameters();
      iterBiobjPars = biobjpars.iterator();
      while(iterBiobjPars.hasNext()){
        biobjpar = (BIObjectParameter)iterBiobjPars.next();
        Parameter par = biobjpar.getParameter();
        if((par==null) || (!par.isFunctional())){
          continue;
        }
        parUrlName = biobjpar.getParameterUrlName();
        String parValue = (String)execUrlParMapWithValues.get(parUrlName);
         identif = identif + parUrlName + "=" + parValue;
View Full Code Here

    identif = "biobject=" + biobj.getLabel() + "&";
    biobjpars = biobj.getBiObjectParameters();
    iterBiobjPars = biobjpars.iterator();
    while(iterBiobjPars.hasNext()){
      biobjpar = (BIObjectParameter)iterBiobjPars.next();
      Parameter par = biobjpar.getParameter();
     
      if((par==null) || (!par.isFunctional())){
        continue;
      }
      parUrlName = biobjpar.getParameterUrlName();
       biparvalues = biobjpar.getParameterValues();
       if (biparvalues == null)
View Full Code Here

    BIObjectParameter aBIObjectParameter = null;
    while (it.hasNext()){
      aBIObjectParameter = (BIObjectParameter) it.next();
      logger.debug("Parameter Label:"+aBIObjectParameter.getLabel());
      // check if the script return an unique value and preload it
      Parameter par = aBIObjectParameter.getParameter();
      if(par != null) {
        ModalitiesValue paruse = par.getModalityValue();
        if (!paruse.getITypeCd().equals("MAN_IN") && paruse.getSelectionType().equals("COMBOBOX")) {  // load values only if not a lookup           
          try {
            String lovProv = paruse.getLovProvider();
            ILovDetail lovProvDet = LovDetailFactory.getLovFromXML(lovProv);
            LovResultCacheManager executionCacheManager = new LovResultCacheManager();
View Full Code Here

    int countHidePar = 0;
    Iterator iterPars = biParameters.iterator();
    BIObjectParameter biParameter = null;
    while (iterPars.hasNext()){
      biParameter = (BIObjectParameter)iterPars.next();
      Parameter par = biParameter.getParameter();
      if (biParameter.isTransientParmeters()) {
        countHidePar ++;
        continue;
      }
      if (biParameter.hasValidValues()) {
View Full Code Here

    object.setBiObjectParameters(listPars);
    logger.debug("OUT");
  }

  public ILovDetail getLovDetail(BIObjectParameter parameter) {
    Parameter par = parameter.getParameter();
    ModalitiesValue lov = par.getModalityValue();
    // build the ILovDetail object associated to the lov
    String lovProv = lov.getLovProvider();
    ILovDetail lovProvDet = null;
    try {
      lovProvDet = LovDetailFactory.getLovFromXML(lovProv);
View Full Code Here

//        String lovprov = null;
//        ScriptDetail scriptDet = null;
       
        while (iterPars.hasNext()){
      biParameter = (BIObjectParameter)iterPars.next();
            Parameter par = biParameter.getParameter();
           
          if(biParameter.isTransientParmeters()) {
            countHidePar ++;
              continue;
          }
View Full Code Here

   */
 
  private void getDetailParameter(String key, SourceBean response) throws EMFUserError {
    try {
      this.modalita = AdmintoolsConstants.DETAIL_MOD; 
      Parameter parameter = DAOFactory.getParameterDAO().loadForDetailByParameterID(new Integer(key));
      prepareParameterDetailPage(response, parameter, null, "", modalita, true, true);
    } catch (Exception ex) {
      SpagoBITracer.major(AdmintoolsConstants.NAME_MODULE, "DetailParameterModule","getDetailParameter","Cannot fill response container", ex  );
      throw new EMFUserError(EMFErrorSeverity.ERROR, 100);
    }
View Full Code Here

    response.setAttribute("parametersObj", parameter);
    response.setAttribute("selected_paruse_id", selected_paruse_idStr);
    response.setAttribute("modalitiesObj", paruse);
   
    if (initialParameter) {
      Parameter parameterClone = clone(parameter);
      session.setAttribute("initial_Parameter", parameterClone);
    }

    if (initialParameterUse) {
      ParameterUse paruseClone = clone(paruse);
View Full Code Here

TOP

Related Classes of it.eng.spagobi.behaviouralmodel.analyticaldriver.bo.Parameter

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.