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

Examples of it.eng.spagobi.behaviouralmodel.lov.bo.QueryDetail.toXML()


            query = new QueryDetail();
          } else {
            query = (QueryDetail)LovDetailFactory.getLovFromXML(lovProv);
          }
          recoverQueryWizardValues(request, query);
          String lovProvider = query.toXML();
          modVal.setLovProvider(lovProvider);
          ValidationCoordinator.validate("PAGE", "QueryWizardValidation", this);
          objectToTest = query;
        }
       
View Full Code Here


          // register user association
          if ((assDataSource != null) && !assDataSource.trim().equals("") && (oldDataSource != null)
              && !oldDataSource.trim().equals("")) {

            qDet.setDataSource(assDataSource);
            lovProv = qDet.toXML();
            lov.setLovProvider(lovProv);
            session.save(lov);
            log.log("Changed the data source label from " + oldDataSource + " to " + assDataSource
                + " for the lov " + lov.getName());
          }
View Full Code Here

    String userID = (String)((UserProfile)profile).getUserId();
    if (lovDefinition instanceof QueryDetail) {
      QueryDetail queryDetail = (QueryDetail) lovDefinition;
      QueryDetail clone = queryDetail.clone();
      clone.setQueryDefinition(queryDetail.getWrappedStatement(dependencies, executionInstance));
      toReturn = userID + ";" + clone.toXML();
    } else {
      toReturn = userID + ";" + lovDefinition.toXML();
    }
    logger.debug("OUT: returning [" + toReturn + "]");
    return toReturn;
View Full Code Here

        String newDs=dsExportUser.get(dataSource);
        queryDetail.setDataSource(newDs);
      } else {
        queryDetail.setDataSource(dataSource);
      }
      newlov.setLovProvider(queryDetail.toXML());       
    }
    catch (Exception e) {
      logger.error("error in reading the xml of lov provider; transcribe the original by default ");   
    }
    if(newlov.getLovProvider() == null){
View Full Code Here

          queryDetail.setDataSource(newDs);
        } else {
          queryDetail.setDataSource(dataSource);
        }

        existingLov.setLovProvider(queryDetail.toXML());       
      }
      catch (Exception e) {
        logger.error("error in reading the xml of lov provider; transcribe the original by default ");   
        existingLov.setLovProvider(exportedLov.getLovProvider());
      }
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.