484950515253545556
throws ServiceException { try { this.avaliacaoDeAlunoDao.salvar(avaliacaoDeAluno); } catch (DaoException e) { throw new ServiceException(e.getMessage(), e); } }
656667686970717273
for (AvaliacaoDeAluno avaliacaoDeAluno : avaliacoesDaTurma) { try { this.avaliacaoDeAlunoDao.salvar(avaliacaoDeAluno); } catch (DaoException e) { throw new ServiceException(e.getMessage(), e); } } }
76777879808182
* @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."); }
949596979899100101102103
List<AvaliacaoDeAluno> avaliacaoDeAlunos = null; try { this.avaliacaoDeAlunoDao.pesquisar(avaliacaoDeAluno); } catch (DaoException e) { throw new ServiceException(e.getMessage(), e); } return avaliacaoDeAlunos; }
3839404142434445
@Override public Integer salvarUsuario(T t) throws ServiceException { try { return this.dao.salvar(t); } catch (DaoException e) { throw new ServiceException(e.getMessage(), e); } }
5152535455565758
@Override public void removerUsuario(T t) throws ServiceException { try { this.dao.excluir(t); } catch (DaoException e) { throw new ServiceException(e.getMessage(), e); } }
6465666768697071
@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); } }
7778798081828384
@Override public List<T> consultarUsuario(T t) throws ServiceException { try { return this.dao.pesquisar(t); } catch (DaoException e) { throw new ServiceException(e.getMessage(), e); } }
9091929394959697
@Override public void alterarUsuario(T t) throws ServiceException { try { this.dao.atualizar(t); } catch (DaoException e) { throw new ServiceException(e.getMessage(), e); } }
103104105106107108109110
@Override public List<T> listarUsuario(Class clazz) throws ServiceException { try { return this.dao.listar(clazz); } catch (DaoException e) { throw new ServiceException(e.getMessage(), e); } }