Package dao

Examples of dao.ContatoDAO


    private ContatoDAO contatoDAO;
    private ArrayList<Contato> listaDeContatos;
   
    public ContatoController() {
        this.contato = new Contato();
        this.contatoDAO = new ContatoDAO();
        this.listaDeContatos = new ArrayList<Contato>();
    }
View Full Code Here


    }

    public String getNovoCodigo() {
        String novoCodigo = "0";
        if(GerenciadorDeConfiguracoesDoSistema.getUsarConexao()){
            contatoDAO = new ContatoDAO();
            int codigo = contatoDAO.getMaiorCodigo() + 1;
            novoCodigo = String.valueOf(codigo);
        }else
            JOptionPane.showMessageDialog(null, Strings.mensagemConexaoDesativada, Strings.tituloMessage, JOptionPane.INFORMATION_MESSAGE);
      
View Full Code Here

TOP

Related Classes of dao.ContatoDAO

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.