Package sn.unitech.stock.entity

Examples of sn.unitech.stock.entity.SysAdherEvent


    @Override
    public List<SysAdherEvent> getListAdherEvents(String jpql,SysAdherent adherent) {
      List<SysEvents> listEvents= iSysEventsDao.getResultList(jpql, null, null);
      List<SysAdherEvent> listAdherEvent=new ArrayList<SysAdherEvent>();
      SysAdherEvent sysAdherEvent;
      int i=1;
      for(SysEvents events:listEvents){
        sysAdherEvent=new SysAdherEvent(new SysAdherEventId(adherent.getIdAdherent(),events.getIdEvent()),adherent,events);
        sysAdherEvent.setUseMontant("True");
        sysAdherEvent.setPriorite(i++);
        listAdherEvent.add(sysAdherEvent);
      }
      return listAdherEvent;
    }
View Full Code Here


  }
 
  public void clickPersitAdherent(ActionEvent e){
    this.sysAdherent.setSysSite(this.sysSite);
    this.sysAdherent.setSysContrat(this.sysContrat);
    SysAdherEvent sysAdherEvent;
    SysAdherActivite sysAdherActivite;
    DataModel<SysAdherEvent> dataAdherEvent=this.citems.getDataAdherEvents();
    for(int i=0;i<dataAdherEvent.getRowCount();i++){
      dataAdherEvent.setRowIndex(i);
      sysAdherEvent=dataAdherEvent.getRowData();
      if(sysAdherEvent.isSelected()){
        sysAdherEvent.setSysAdherent(this.sysAdherent);
        sysAdherEvent.getId().setIdAdherent(this.sysAdherent.getIdAdherent());
        this.sysAdherent.getSysAdherEvents().add(sysAdherEvent);
      }
    }
    DataModel<SysAdherActivite> dataAdherActivite=this.citems.getDataAdherActivite();
    for(int i=0;i<dataAdherActivite.getRowCount();i++){
View Full Code Here

TOP

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

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.