Package br.com.kuntzer.rodrigo.cursoviasoft.entity

Examples of br.com.kuntzer.rodrigo.cursoviasoft.entity.Estado


  public void listar(){
    FacesContext context = FacesContext.getCurrentInstance();
    if(!context.isPostback()){
      this.lista = clienteService.obterTodosClientes();
      this.entity = new Cliente();
      this.entity.setEstado(new Estado());
      this.itensComboTipoPessoa.clear();
      for(TipoCliente tipo:TipoCliente.values()){
        this.itensComboTipoPessoa.add(new SelectItem(tipo, tipo.getDescription()));
      }
    }
View Full Code Here


    FacesContext context = FacesContext.getCurrentInstance();
    context.addMessage(null, new FacesMessage(FacesMessage.SEVERITY_INFO, "Estado salvo com sucesso!", null));
  }
 
  public void novo(){
    this.estadoEdit = new Estado();
  }
View Full Code Here

TOP

Related Classes of br.com.kuntzer.rodrigo.cursoviasoft.entity.Estado

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.