Пример #1
0
 public void removerFrequencia(long id) {
   try {
     dao.remover(id);
   } catch (DaoException ex) {
     ex.printStackTrace();
   }
 }
Пример #2
0
 public void removerFrequencia(Frequencia persistentObject) {
   try {
     dao.remover(persistentObject);
   } catch (DaoException ex) {
     ex.printStackTrace();
   }
 }
Пример #3
0
 public void atualizarFrequencia(Frequencia transientObject) {
   try {
     dao.atualizar(transientObject);
   } catch (DaoException ex) {
     ex.printStackTrace();
   }
 }
Пример #4
0
 public void salvarFrequencia(Frequencia newInstance) {
   try {
     dao.salvar(newInstance);
   } catch (DaoException ex) {
     ex.printStackTrace();
   }
 }
Пример #5
0
 public List<Frequencia> listarFrequencia() {
   try {
     return dao.listar();
   } catch (DaoException ex) {
     ex.printStackTrace();
     return null;
   }
 }
Пример #6
0
 public Frequencia carregarFrequencia(long id) {
   try {
     return dao.carregar(id);
   } catch (DaoException ex) {
     ex.printStackTrace();
     return null;
   }
 }