Package DAO

Examples of DAO.ParametrosDao


    ParametrosDao parDao = new ParametrosDao();
    private Parametros parametros;
   
    @PostConstruct
    public void ControleParametros() {
        ParametrosDao obj = new ParametrosDao();
        this.parametros = obj.listarParametros();
    }
View Full Code Here


   
    public void buscarParametros() {
        parametros = parDao.consultarPorId();
    }
    public void atualizarParametro(){
        ParametrosDao obj = new ParametrosDao();
        obj.update(this.parametros);
        FacesMessage msg = new FacesMessage("Os Parâmetros foram alterados com sucesso!", "");
        FacesContext.getCurrentInstance().addMessage("", msg);
    }
View Full Code Here

TOP

Related Classes of DAO.ParametrosDao

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.