Package it.eng.spagobi.behaviouralmodel.lov.bo

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


      if (isSingleValue(biparam))
        continue;

      String id = biparam.getParameterUrlName();
      anId = id;
      ModalitiesValue modVal = biparam.getParameter().getModalityValue();

      String typeCode = modVal.getITypeCd();
      String selectionType = modVal.getSelectionType();

      if (typeCode.equalsIgnoreCase(SpagoBIConstants.INPUT_TYPE_MAN_IN_CODE)) {
        htmlStream.append(" if (document.getElementById('" + id + requestIdentity + "')) document.getElementById('" + id + requestIdentity + "').value = '';\n");
        htmlStream.append(" if (document.getElementById('" + id + requestIdentity + "Desc')) document.getElementById('" + id + requestIdentity + "Desc').value = '';\n");
      } else if (selectionType.equalsIgnoreCase("COMBOBOX")) {
View Full Code Here


      }
      htmlStream.append("\" >\n");
      htmlStream.append("<option value=''> </option>\n");
      // get the lov associated to the parameter
      Parameter par = biparam.getParameter();
      ModalitiesValue lov = par.getModalityValue();
      // build the ILovDetail object associated to the lov
      String lovProv = lov.getLovProvider();
      ILovDetail lovProvDet = LovDetailFactory.getLovFromXML(lovProv);
      // get the result of the lov
      IEngUserProfile profile = getProfile();
//      String lovResult = biparam.getLovResult();
//      if ((lovResult == null) || (lovResult.trim().equals(""))) {
//        lovResult = lovProvDet.getLovResult(profile);
//      }
      String lovResult = "";

      Integer biparId = biparam.getId();
      String biparIdStr = biparId.toString();
      Integer parId = par.getId();
      Integer lovId = lov.getId();

      Integer parusecorrId = null;
      IParameterUseDAO parusedao = DAOFactory.getParameterUseDAO();
      List paruses = parusedao.loadParametersUseByParId(parId);
      Iterator iterParuse = paruses.iterator();
View Full Code Here


  // recover lov object
  IParameterDAO pardao = DAOFactory.getParameterDAO();
  Parameter par = pardao.loadForExecutionByParameterIDandRoleName(parId, roleName);
  ModalitiesValue modVal = par.getModalityValue();

  // get the lov provider
  String lovProvider = modVal.getLovProvider();

  // get from the request the type of lov
  String typeLov = LovDetailFactory.getLovTypeCode(lovProvider);

  // get the user profile
View Full Code Here

          break;
        }
      }

      Parameter par = biParameter.getParameter();
      ModalitiesValue paruse = par.getModalityValue();
      if (paruse.getITypeCd().equals("MAN_IN")) {
        logger.debug("Document parameter is manual input. An empty HashMap will be returned.");
      } else {
        String lovprov = paruse.getLovProvider();
        ILovDetail lovDetail = LovDetailFactory.getLovFromXML(lovprov);
        String lovResult = lovDetail.getLovResult(profile, null, null);
        LovResultHandler lovResultHandler = new LovResultHandler(lovResult);
        List rows = lovResultHandler.getRows();
        Iterator it = rows.iterator();
View Full Code Here

  Parameter parameter = biobjPar.getParameter();
  if (parameter != null) {
     
      String type = parameter.getType();
      ModalitiesValue modValue = parameter.getModalityValue();
      if (modValue != null) {
    boolean mult = biobjPar.getParameter().getModalityValue().isMultivalue();

    String typeCode = biobjPar.getParameter().getModalityValue().getITypeCd();
    logger.debug("typeCode="+typeCode);
View Full Code Here

        if( biobjPar.getParameterValuesDescription()==null){
          return "";
        }
       
          ModalitiesValue modValue = parameter.getModalityValue();
          if (modValue != null) {
          boolean mult = biobjPar.getParameter().getModalityValue().isMultivalue();
 
          String typeCode = biobjPar.getParameter().getModalityValue().getITypeCd();
          logger.debug("typeCode="+typeCode);
View Full Code Here

TOP

Related Classes of it.eng.spagobi.behaviouralmodel.lov.bo.ModalitiesValue

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.