Closed jairofsouza closed 9 years ago
Ao criar a banca, posso também ter professores de outro departamento.
Para o status:
em TCCBusiness mudar as duas funções para o seguinte:
public boolean isProjetoAguardandoAprovacao(TCC tcc)
{
if(tcc.isProjeto() && !(tcc.getPalavrasChave()== null || tcc.getPalavrasChave().trim().length() == 0) && tcc.getArquivoTCCBanca()!=null
&& !(tcc.getResumoTCC()==null || tcc.getResumoTCC().trim().length() == 0) && tcc.getOrientador()!=null && tcc.getNomeTCC()!=null)
return true;
return false;
}
public boolean isTrabalhoAguardandoAprovacao(TCC tcc) { ParticipacaoBusiness pb = new ParticipacaoBusiness();
if(!tcc.isProjeto() && !(tcc.getPalavrasChave()== null || tcc.getPalavrasChave().trim().length() == 0) && tcc.getArquivoTCCBanca()!=null
&& !(tcc.getResumoTCC()==null || tcc.getResumoTCC().trim().length() == 0) && tcc.getOrientador()!=null && tcc.getNomeTCC()!=null
&& !(tcc.getSalaDefesa()== null || tcc.getSalaDefesa().trim().length() == 0) && tcc.getDataApresentacao()!=null
&& pb.getParticipacoesByTCC(tcc).size()>0)
return true;
return false;
}
Para os avisos: No getInfo de HomeAlunoControler é preciso fazer a verificação e no TCCBusiness de palavras chave, alem é claro de colocar os termos da em minusculo ainda no tccBisuness
Essa issue precisa ser testada na versão de desenvolvimento. Esta issue está relacionada com a issue #54.