Examples of Atendimento


Examples of br.gov.serpro.ouvidoria.model.Atendimento

     *            funcionario logado
     */
    public void salvarAtendimento(Script s, Funcionario func)
            throws DaoException {

        Atendimento atendimento = new Atendimento();

        if (s == null)
            throw new NullPointerException("Script não pode ser nulo.");

        if (func == null)
            throw new NullPointerException("Funcionario não pode ser nulo.");

        atendimento.setScript(s);
        atendimento.setFuncionario(func);
        atendimento.setData(new Timestamp(System.currentTimeMillis()));
        atendimentoDao.save(atendimento);
    }
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.