Package it.eng.spagobi.behaviouralmodel.analyticaldriver.metadata

Examples of it.eng.spagobi.behaviouralmodel.analyticaldriver.metadata.SbiObjParuseId


          List hibList = hibQuery.list();
          if(!hibList.isEmpty()) {
            continue;
          }
          // built key
          SbiObjParuseId hibObjParuseId = new SbiObjParuseId();
          SbiObjPar hibObjPar = (SbiObjPar)session.load(SbiObjPar.class, objparuse.getObjParId());
          SbiParuse hibParuse = (SbiParuse)session.load(SbiParuse.class, objparuse.getParuseId());
          SbiObjPar objparfather = (SbiObjPar)session.load(SbiObjPar.class, objparuse.getObjParFatherId());
          hibObjParuseId.setSbiObjPar(hibObjPar);
          hibObjParuseId.setSbiParuse(hibParuse);
          hibObjParuseId.setFilterOperation(objparuse.getFilterOperation());
          hibObjParuseId.setSbiObjParFather(objparfather);
          SbiObjParuse hibObjParuse = new SbiObjParuse(hibObjParuseId);
          hibObjParuse.setFilterColumn(objparuse.getFilterColumn());
          hibObjParuse.setProg(objparuse.getProg());
          hibObjParuse.setPreCondition(objparuse.getPreCondition());
          hibObjParuse.setPostCondition(objparuse.getPostCondition());
View Full Code Here


        SpagoBITracer.major(SpagoBIConstants.NAME_MODULE,  this.getClass().getName(),
                          "modifyObjParuse", "the BIObjectParameter with " +
                          "id="+aObjParuse.getObjParFatherId()+" does not exist.");
        throw new EMFUserError(EMFErrorSeverity.ERROR, 1043);
      }
      SbiObjParuseId correlationId = new SbiObjParuseId();
      correlationId.setSbiObjPar(sbiObjPar);
      correlationId.setSbiParuse(sbiParuse);
      correlationId.setSbiObjParFather(sbiObjParFather);
      correlationId.setFilterOperation(aObjParuse.getFilterOperation());
      SbiObjParuse correlation = new SbiObjParuse(correlationId);
      correlation.setProg(aObjParuse.getProg());
      correlation.setFilterColumn(aObjParuse.getFilterColumn());
      correlation.setPreCondition(aObjParuse.getPreCondition());
      correlation.setPostCondition(aObjParuse.getPostCondition());
View Full Code Here

        SpagoBITracer.major(SpagoBIConstants.NAME_MODULE,  this.getClass().getName(),
                          "modifyObjParuse", "the BIObjectParameter with " +
                          "id="+aObjParuse.getObjParFatherId()+" does not exist.");
        throw new EMFUserError(EMFErrorSeverity.ERROR, 1043);
      }
      SbiObjParuseId correlationId = new SbiObjParuseId();
      correlationId.setSbiObjPar(sbiObjPar);
      correlationId.setSbiParuse(sbiParuse);
      correlationId.setSbiObjParFather(sbiObjParFather);
      correlationId.setFilterOperation(aObjParuse.getFilterOperation());
      SbiObjParuse correlation = new SbiObjParuse(correlationId);
      correlation.setProg(aObjParuse.getProg());
      correlation.setFilterColumn(aObjParuse.getFilterColumn());
      correlation.setPreCondition(aObjParuse.getPreCondition());
      correlation.setPostCondition(aObjParuse.getPostCondition());
View Full Code Here

        // metadata
        Integer newObjparId = (Integer) objparIdAss.get(objparId);
        Integer newParuseId = (Integer) paruseIdAss.get(paruseId);
        Integer newObjParFathId = (Integer) objparIdAss.get(objparfathId);
        // build a new id for the SbiObjParuse
        SbiObjParuseId objparuseid = pardep.getId();
        objparuseid.setFilterOperation(filterOp);
        if (newParuseId != null) {
          SbiParuse sbiparuse = objparuseid.getSbiParuse();
          SbiParuse newParuse = ImportUtilities.makeNewSbiParuse(sbiparuse, newParuseId);
          objparuseid.setSbiParuse(newParuse);
          paruseId = newParuseId;
        }
        if (newObjparId != null) {
          SbiObjPar sbiobjpar = objparuseid.getSbiObjPar();
          SbiObjPar newObjPar = ImportUtilities.makeNewSbiObjpar(sbiobjpar, newObjparId);
          objparuseid.setSbiObjPar(newObjPar);
          objparId = newObjparId;
        }
        if (newObjParFathId != null) {
          SbiObjPar sbiobjparfath = objparuseid.getSbiObjParFather();
          SbiObjPar newObjParFath = ImportUtilities.makeNewSbiObjpar(sbiobjparfath, newObjParFathId);
          objparuseid.setSbiObjParFather(newObjParFath);
          objparfathId = newObjParFathId;
        }

        pardep.setId(objparuseid);
View Full Code Here

TOP

Related Classes of it.eng.spagobi.behaviouralmodel.analyticaldriver.metadata.SbiObjParuseId

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.