Actividad 2.3 - Manipulación de datos Continente DAO
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package org.palomafp.aadd.rmr.dao;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.palomafp.aadd.rmr.excepciones.MapaMundiException;
|
||||
import org.palomafp.aadd.rmr.model.Pais;
|
||||
|
||||
public interface IPaisDAO {
|
||||
|
||||
List<Pais> obtenerPaises() throws MapaMundiException;
|
||||
Pais obtenerPaisPorId(int identificador) throws MapaMundiException;
|
||||
void borrarPais(int identificador) throws MapaMundiException;
|
||||
void insertarPais(Pais pais) throws MapaMundiException;
|
||||
void actualizarPais(Pais pais) throws MapaMundiException;
|
||||
void borrarPaisesDeUnContinente (String codigoContinente) throws MapaMundiException;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user