import java.io.Serializable;
import java.util.List;
+import org.mxchange.jcountry.exceptions.CountryAlreadyAddedException;
/**
* A remote interface for country informations
*/
public interface CountrySingletonBeanRemote extends Serializable {
+ /**
+ * Adds given country to database. A pre-check is always done and if found,
+ * a checked exception is thrown.
+ * <p>
+ * @param country Country instance to add (persist)
+ * <p>
+ * @throws org.mxchange.jcountry.exceptions.CountryAlreadyAddedException If the country is already added
+ */
+ void addCountry (final Country country) throws CountryAlreadyAddedException;
+
/**
* All registered countries
* <p>