private String montaMsg(Atendimento atn) {
   logger.entering(new Object[0]);
   logger.exiting(new Object[0]);
   return MessagesUtil.matchAndReplace(
       MessagesUtil.getMessage("MessageResources", "msg.alertas.atrasados.info.atendimento"),
       new Object[] {
         atn.getCliente() == null ? "" : atn.getCliente().getNome(),
         atn.getProblemaInicial() == null ? "" : atn.getProblemaInicial().getDescricao(),
         atn.getDtAbertura() == null
             ? ""
             : MyToolkit.formaterData(atn.getDtAbertura(), "dd/MM/yyyy HH:mm"),
         atn.getStatus() != null ? atn.getStatus().getNome() : "",
         atn.getTempoPercorrido()
             + " "
             + MessagesUtil.getMessage("MessageResources", "view.alerta.tempo.minutos")
       });
 }
  private List<String> recuperaEmail(Escalonamento es, Atendimento atn) {
    logger.entering(new Object[0]);

    List emails = new ArrayList();
    String emailResp =
        atn.getProblemaInicial() != null
            ? atn.getProblemaInicial().getTipoProblema().getResponsavel().getEmail()
            : "";
    String emailSuper =
        atn.getProblemaInicial() != null
            ? atn.getProblemaInicial().getTipoProblema().getSupervisor().getEmail()
            : "";
    String emailGerente =
        atn.getProblemaInicial() != null
            ? atn.getProblemaInicial().getTipoProblema().getGerente().getEmail()
            : "";
    if ((es.isAlertaResponsavel()) && (!emailResp.equals(""))) emails.add(emailResp);
    if ((es.isAlertaSupervisor()) && (!emailSuper.equals(""))) emails.add(emailSuper);
    if ((es.isAlertaGerente()) && (!emailGerente.equals(""))) {
      emails.add(emailGerente);
    }
    logger.exiting(new Object[0]);
    return emails;
  }