17 lines
584 B
Java
17 lines
584 B
Java
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;
|
|
|
|
} |