Examples of GestionNecesidadDTO


Examples of fing.satode.data.GestionNecesidadDTO

        public void onSuccess(GestionNecesidadDTO result) {
          dto=result;
          boolean yaExiste=true;
          if(dto==null){
            yaExiste=false;
            dto=new GestionNecesidadDTO();
            dto.setNecesidad(necesidadDTO);
            dto.setUsuario(usuarioGlobal);
            INecesidadAsync serverNecesidad=GWT.create(INecesidad.class);
           
            serverNecesidad.nuevoGestionNecesidad(dto, new AsyncCallback<Void>() {
View Full Code Here

Examples of fing.satode.data.GestionNecesidadDTO

      add(panelPrincipal);
      center();
    }

    protected void procesar() {
      GestionNecesidadDTO dto=validar();
     
      if(dto!=null){
       
        dto.setUsuario(usuarioGlobal);
       
        if(a=="procesar"){
         
          INecesidadAsync servidorNecesidad=GWT.create(INecesidad.class);
         
View Full Code Here

Examples of fing.satode.data.GestionNecesidadDTO

  public void setPlanesSuministros(Set<PlanSuministro> planesSuministros) {
    this.planesSuministros = planesSuministros;
  }
 
  public GestionNecesidadDTO getDTO(){
    GestionNecesidadDTO dto= new GestionNecesidadDTO();
    dto.setId(id);
    dto.setNecesidad(necesidad.getDTO());
    dto.setUsuario(usuario.getDTO());
    Set<PlanSuministroDTO> lista= new HashSet<PlanSuministroDTO>();
    for(PlanSuministro ps:planesSuministros){
      lista.add(ps.getDTO());
    }
    dto.setPlanesSuministros(lista);
   
    return dto;
  }
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.