77787980818283
* @see br.facet.tcc.service.GestaoAcademico#buscarRelatorio(java.lang.Integer) * @since since optional */ @Override public File buscarRelatorio(Integer tipo) throws ServiceException { throw new ServiceException("Ainda não implementado."); }
9596979899100101102103104
List<AvaliacaoDeAluno> avaliacaoDeAlunos = null; try { this.avaliacaoDeAlunoDao.pesquisar(avaliacaoDeAluno); } catch (DaoException e) { throw new ServiceException(e.getMessage(), e); } return avaliacaoDeAlunos; }
108109110111112113114
* @since since optional */ @Override public List<AvaliacaoDeAluno> listarDiario(Turma turma) throws ServiceException { throw new ServiceException("Metodo não implementado."); }
4142434445464748
@Override public Integer salvarUsuario(T t) throws ServiceException { try { return this.dao.salvar(t); } catch (DaoException e) { throw new ServiceException(e.getMessage(), e); } }
5556575859606162
@Override public void removerUsuario(T t) throws ServiceException { try { this.dao.excluir(t); } catch (DaoException e) { throw new ServiceException(e.getMessage(), e); } }
6970717273747576
@Override public T consultarUsuario(Class clazz, Integer id) throws ServiceException { try { return (T) this.dao.obterPorID(clazz, id); } catch (DaoException e) { throw new ServiceException(e.getMessage(), e); } }
8384858687888990
@Override public List<T> consultarUsuario(T t) throws ServiceException { try { return this.dao.pesquisar(t); } catch (DaoException e) { throw new ServiceException(e.getMessage(), e); } }
979899100101102103104
@Override public void alterarUsuario(T t) throws ServiceException { try { this.dao.atualizar(t); } catch (DaoException e) { throw new ServiceException(e.getMessage(), e); } }
111112113114115116117118
@Override public List<T> listarUsuario(Class clazz) throws ServiceException { try { return this.dao.listar(clazz); } catch (DaoException e) { throw new ServiceException(e.getMessage(), e); } }
@Override public Integer salvarCurso(Curso curso) throws ServiceException { try { return cursoDao.salvar(curso); } catch (DaoException e) { throw new ServiceException(e.getMessage(), e); } }