public String situacaosNew() throws SQLException {
   String navegar;
   HttpServletRequest request =
       (HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest();
   selectedSituacao = new WflSituacao();
   selectedSituacao.setPubEmpresa(empDAO.getById(empresa));
   selectedSituacao.setPubSistema(sisDAO.getById(sistema));
   request.getSession().setAttribute("selectedSituacao", selectedSituacao);
   navegar = "/pages/admin/situacaoNew";
   return navegar;
 }
 @PostConstruct
 public void Init() {
   HttpServletRequest request =
       (HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest();
   usu = (PubUsuario) request.getSession().getAttribute("usuario");
   selectedSituacao = (WflSituacao) request.getSession().getAttribute("selectedSituacao");
   try {
     listSituacaos = sitDAO.listAllSituacao();
     listEmpresas = empDAO.listAllEmpresas();
     listSistemas = sisDAO.listAllSistemas();
   } catch (SQLException ex) {
     Logger.getLogger(AdminSituacaoController.class.getName()).log(Level.SEVERE, null, ex);
   }
 }