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