Package br.gov.serpro.ouvidoria.controller.gerencial.administracao

Examples of br.gov.serpro.ouvidoria.controller.gerencial.administracao.OrgaoCtrl


      if (funcionario == null) {
        return;
      }

      final OrgaoCtrl orgaoCtrl = new OrgaoCtrl(daoFactory);

      final Orgao orgao = (Orgao) orgaoCtrl.get((String) request
          .getSession().getAttribute(Constants.ID_SESSAO_ORGAO));

      final ControleAcessoCtrl controleAcessoCtrl = new ControleAcessoCtrl(
          daoFactory);
View Full Code Here


    String sIndex = request.getParameter(ReportKit.SEL_TABELA);
    if (sIndex == null || sIndex.length() == 0) {
      sIndex = "-1";
    }

    OrgaoCtrl orgaoCtrl = new OrgaoCtrl(daoFactory);

    return getComboList(sIndex, (Orgao) orgaoCtrl.get((String) request
        .getSession().getAttribute(Constants.ID_SESSAO_ORGAO)));
  }
View Full Code Here

  public static String getComboListsAsArray(HttpServletRequest request)
      throws SQLException {

    // obter o órgão atual
    final DaoFactory daoFactory = new HibernateDaoFactory();
    OrgaoCtrl orgaoCtrl = new OrgaoCtrl(daoFactory);
    String idSessaoOrgao = (String) request.getSession().getAttribute(
        Constants.ID_SESSAO_ORGAO);
    Orgao orgao = (Orgao) orgaoCtrl.get(idSessaoOrgao);

    return getComboListsAsArray(orgao);
  }
View Full Code Here

    boolean detail = false;
    if ("d".equalsIgnoreCase(request.getParameter("r_modo_exibicao")))
      detail = true;

    OrgaoCtrl orgaoCtrl = new OrgaoCtrl(daoFactory);

    Orgao orgao = (Orgao) orgaoCtrl.get((String) request.getSession()
        .getAttribute(Constants.ID_SESSAO_ORGAO));

    return getQuery(request.getParameter("sel_tabela"),
        request.getParameter("sel_tipo_grafico"), detail,
        table_on_x_axis,
View Full Code Here

    if ("d".equalsIgnoreCase(request.getParameter("r_modo_exibicao")))
      detail = true;

    String index = request.getParameter("sel_tabela");

    OrgaoCtrl orgaoCtrl = new OrgaoCtrl(daoFactory);

    Orgao orgao = (Orgao) orgaoCtrl.get((String) request.getSession()
        .getAttribute(Constants.ID_SESSAO_ORGAO));

    Object[] ii_itens_tabela = new ArrayList(
        (List) request.getAttribute("ii_itens_tabela")).toArray();
    String[] sel_itens_tabela = request
View Full Code Here

    final DaoFactory daoFactory = new HibernateDaoFactory();

    if ("d".equalsIgnoreCase(request.getParameter("r_modo_exibicao")))
      detail = true;

    OrgaoCtrl orgaoCtrl = new OrgaoCtrl(daoFactory);

    Orgao orgao = (Orgao) orgaoCtrl.get((String) request.getSession()
        .getAttribute(Constants.ID_SESSAO_ORGAO));

    String[] formulaItems = request.getParameter("h_formula").split(",");

    return getQuery(formulaItems, request.getParameter("sel_tipo_grafico"),
View Full Code Here

    boolean detail = false;
    final DaoFactory daoFactory = new HibernateDaoFactory();
    if ("d".equalsIgnoreCase(request.getParameter("r_modo_exibicao")))
      detail = true;

    OrgaoCtrl orgaoCtrl = new OrgaoCtrl(daoFactory);

    Orgao orgao = (Orgao) orgaoCtrl.get((String) request.getSession()
        .getAttribute(Constants.ID_SESSAO_ORGAO));

    return getQuery(request.getParameter("sel_indicador"),
        request.getParameter("sel_tipo_grafico"), detail,
        request.getParameter("sel_agrupamento"),
View Full Code Here

    final DaoFactory daoFactory = new HibernateDaoFactory();

    if ("d".equalsIgnoreCase(request.getParameter("r_modo_exibicao")))
      detail = true;

    OrgaoCtrl orgaoCtrl = new OrgaoCtrl(daoFactory);

    Orgao orgao = (Orgao) orgaoCtrl.get((String) request.getSession()
        .getAttribute(Constants.ID_SESSAO_ORGAO));


    return getQuery(request.getParameter("sel_indicador"), request
        .getParameterValues("sel_meio_envio"), request
View Full Code Here

      JobDataMap data = context.getJobDetail().getJobDataMap();
      String id = data.getString(ID_ORGAO);
      url = data.getString(URL);

      OrgaoCtrl orgaoCtrl = new OrgaoCtrl(daoFactory);
      Orgao orgao = orgaoCtrl.get(id);

      this.enviarAlertaViaEmail(orgao, EstadoAcionamento.PENDENTE);
      _log.info("\nEnviadas Notificacoes sobre Acionamentos Pendentes - "
          + new Date() + "\n");
View Full Code Here

TOP

Related Classes of br.gov.serpro.ouvidoria.controller.gerencial.administracao.OrgaoCtrl

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.