Package br.com.procempa.modus.services

Examples of br.com.procempa.modus.services.PresencaVO


    super.setValueAt(aValue, row, column);
   
    if (column != 0) {
      try {
        List<String> messages = new ArrayList<String>();
        PresencaVO vo = (PresencaVO) getList().get(row);
        Presenca presenca = vo.getPresencaList().get(column - 1);
        presenca.setPresente((Boolean) aValue);
        PresencaDataServices.persist(presenca,messages);
        vo.getPresencaList().set(column - 1, PresencaDataServices.getPresenca(presenca.getId()));
      } catch (Exception e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
      }
    }
View Full Code Here


  @Override
  public Object getValueAt(int row, int col) {
    Object value = "";
   
    PresencaVO presencaVO = (PresencaVO) getList().get(row);

    if(col == 0) {
      value = presencaVO.getInscricao().getUsuario().getNome();
    } else {
      value = presencaVO.getPresencaList().get(col - 1).getPresente();
    }
    return value;
  }
View Full Code Here

  public void setValueAt(Object aValue, int row, int column) {
    super.setValueAt(aValue, row, column);
   
    if (column != 0) {
      try {
        PresencaVO vo = (PresencaVO) getList().get(row);
        Presenca presenca = vo.getPresencaList().get(column - 1);
        presenca.setPresente((Boolean) aValue);
        PresencaDataServices.persist(presenca);
        vo.getPresencaList().set(column - 1, PresencaDataServices.getPresenca(presenca.getId()));
      } catch (Exception e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
      }
    }
View Full Code Here

  @Override
  public Object getValueAt(int row, int col) {
    Object value = "";
   
    PresencaVO presencaVO = (PresencaVO) getList().get(row);

    if(col == 0) {
      value = presencaVO.getInscricao().getUsuario().getNome();
    } else {
      value = presencaVO.getPresencaList().get(col - 1).getPresente();
    }
    return value;
  }
View Full Code Here

TOP

Related Classes of br.com.procempa.modus.services.PresencaVO

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.