public void removerFrequencia(long id) { try { dao.remover(id); } catch (DaoException ex) { ex.printStackTrace(); } }
public void removerFrequencia(Frequencia persistentObject) { try { dao.remover(persistentObject); } catch (DaoException ex) { ex.printStackTrace(); } }
public void atualizarFrequencia(Frequencia transientObject) { try { dao.atualizar(transientObject); } catch (DaoException ex) { ex.printStackTrace(); } }
public void salvarFrequencia(Frequencia newInstance) { try { dao.salvar(newInstance); } catch (DaoException ex) { ex.printStackTrace(); } }
public List<Frequencia> listarFrequencia() { try { return dao.listar(); } catch (DaoException ex) { ex.printStackTrace(); return null; } }
public Frequencia carregarFrequencia(long id) { try { return dao.carregar(id); } catch (DaoException ex) { ex.printStackTrace(); return null; } }