Examples of Funcionario


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

        Long funcionarioId = (Long) request.getSession().getAttribute(Constants.PA_FUNCIONARIO);
       
      FuncionarioCtrl funcionarioCtrl = new FuncionarioCtrl(getDaoFactory());
     
      Funcionario funcionario = (Funcionario) funcionarioCtrl.get(funcionarioId)

        ListarAcionamentoRespostaCtrl controle = new ListarAcionamentoRespostaCtrl(
                getDaoFactory());

        String numeroProtocolo = ((DynaActionForm) form)
View Full Code Here

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

            Long funcionarioId = (Long) request.getSession().getAttribute(Constants.PA_FUNCIONARIO);
           
          FuncionarioCtrl funcionarioCtrl = new FuncionarioCtrl(getDaoFactory());
         
          Funcionario funcionario = (Funcionario) funcionarioCtrl.get(funcionarioId)

            Orgao orgao = getOrgao(request);

            Collection assuntos = null;
            if ( funcionario.getNivelAtuacao() == Funcionario.NA_ORGAO) {
                assuntos = orgao.getListaAssuntosSubOrgaos()
            } else {
                Comparator ordem = new Comparator() {
                    public int compare(Object obj1, Object obj2) {
                        PersistentObject pobj1 = (PersistentObject) obj1;
                        PersistentObject pobj2 = (PersistentObject) obj2;
                        if (pobj1 != null && pobj1.getDescricao() != null) {
                            return pobj1.getDescricao().compareTo(pobj2.getDescricao());
                        }
                        return 0;
                    }
                };

                assuntos = new TreeSet(ordem);
                for(Iterator iter=funcionario.getListaSubOrgaosAtivos().iterator(); iter.hasNext(); ) {
                    SubOrgao subOrgao = (SubOrgao) iter.next();
                    assuntos.addAll(subOrgao.getListaAssunto(Assunto.ATIVO));
                }
            }
           
View Full Code Here

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

       
        Long funcionarioId = (Long) request.getSession().getAttribute(Constants.PA_FUNCIONARIO);
       
        FuncionarioCtrl funcionarioCtrl = new FuncionarioCtrl(getDaoFactory());
       
        Funcionario funcionario = (Funcionario) funcionarioCtrl.get(funcionarioId);
       
        request.setAttribute("hashAssunto", enviarMensagemWebCtrl
                .getListaAssuntoLocalidadeOcorrencia(this.getOrgao(request)));
       
        if (funcionario != null) {
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.