Package sn.unitech.stock.entity

Examples of sn.unitech.stock.entity.SysProdCarac


      }catch(Exception e){oldProduit=null;}
      if(oldProduit!=null)sysProduit=oldProduit;
      else {
          this.persist(sysProduit, em);
          for(int i=0;i < listCaracProd.size();i++){
            SysProdCarac sysProdCarac=(SysProdCarac)listCaracProd.get(i);
            sysProdCarac.getId().setIdProduit(sysProduit.getIdProduit());
            sysProdCarac.setSysProduit(sysProduit);
            sysProdCarac.setSysAdherent(sysProduit.getSysAdherent());
            SysCarac syscarac=(SysCarac) this.find(SysCarac.class, sysProdCarac.getId().getIdCarac(), em);
            sysProdCarac.setSysCarac(syscarac);
            this.persist(sysProdCarac, em);
        }
      }
          stock.setSysProduit(sysProduit);
      Map<Integer,Object> param1=new HashMap<Integer, Object>();
View Full Code Here


    return   ((ParamsUser)ToolsBean.getToolsBean().getAttribute(ToolsBean.idParamUser));
  }
 
  public void addAttribut(ActionEvent e){
    if((this.citems.getIdCaracteristique()!=null) && (!this.citems.getIdCaracteristique().isEmpty())){
       SysProdCarac curProdCarac= new SysProdCarac();
       curProdCarac.setId(new SysProdCaracId());
       curProdCarac.getId().setIdCarac(this.citems.getIdCaracteristique());
       curProdCarac.getId().setIdAdherent(this.getParamsUser().adherent.getIdAdherent());
       ((List<SysProdCarac>) this.citems.dataCaracDuProd.getWrappedData()).add(curProdCarac);
    }
  }
View Full Code Here

TOP

Related Classes of sn.unitech.stock.entity.SysProdCarac

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.