19 lines
452 B
JavaScript
19 lines
452 B
JavaScript
/**
|
|
* Interfaz DAO para la entidad Continente.
|
|
* Define los métodos que la implementación debe ofrecer.
|
|
*/
|
|
class IContinenteDAO {
|
|
listarTodos() {
|
|
throw new Error('Método listarTodos() no implementado');
|
|
}
|
|
|
|
buscarPorCodigo(codigo) {
|
|
throw new Error('Método buscarPorCodigo() no implementado');
|
|
}
|
|
|
|
buscarPorNombre(nombre) {
|
|
throw new Error('Método buscarPorNombre() no implementado');
|
|
}
|
|
}
|
|
|
|
module.exports = IContinenteDAO; |