Package br.gov.serpro.ouvidoria.controller.aprendizado

Examples of br.gov.serpro.ouvidoria.controller.aprendizado.BoletimCtrl.publicar()


        Boletim boletim = defaultCtrl.get(new Long(request.getParameter("id")));

        //Se estava true e virou false
        if (boletim.getPublicar().booleanValue()
                && _form.getString("publicar").length() == 0) {
            defaultCtrl.publicar(boletim.getId(), Boolean.FALSE);
        }

        //Se estava false e virou true
        if (!boletim.getPublicar().booleanValue()
                && _form.getString("publicar").compareToIgnoreCase("true") == 0) {
View Full Code Here


        }

        //Se estava false e virou true
        if (!boletim.getPublicar().booleanValue()
                && _form.getString("publicar").compareToIgnoreCase("true") == 0) {
            defaultCtrl.publicar(boletim.getId(), Boolean.TRUE);
        }

        boletim = defaultCtrl.get(new Long(request.getParameter("id")));
        request.setAttribute("diretorio", this.getOrgao(request)
                .getConfiguracoes().getNomeDiretorioOrgao());
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.