Example #1
0
 public Local obtener(int idLocal) throws DAOExcepcion {
   GestionLocal dao = new GestionLocal();
   return dao.obtener(idLocal);
 }
Example #2
0
 public Collection<Local> listar() throws DAOExcepcion {
   GestionLocal dao = new GestionLocal();
   return dao.listar();
 }
Example #3
0
 public Local actualizar(int idLocal, String nombre, String direccion) throws DAOExcepcion {
   GestionLocal dao = new GestionLocal();
   return dao.actualizar(idLocal, nombre, direccion);
 }
Example #4
0
 public Collection<Local> buscarPorNombre(String nombre) throws DAOExcepcion {
   GestionLocal dao = new GestionLocal();
   return dao.buscarPorNombre(nombre);
 }
Example #5
0
 public void eliminar(int idLocal) throws DAOExcepcion {
   GestionLocal dao = new GestionLocal();
   dao.eliminar(idLocal);
 }
Example #6
0
 public Local insertar(String nombre, String direccion) throws DAOExcepcion {
   GestionLocal dao = new GestionLocal();
   return dao.insertar(nombre, direccion);
 }