]> git.mxchange.org Git - addressbook-war.git/blobdiff - src/java/org/mxchange/addressbook/beans/country/AddressbookAdminCountryWebRequestController.java
added redirection outcomes to all "addFoo" methods
[addressbook-war.git] / src / java / org / mxchange / addressbook / beans / country / AddressbookAdminCountryWebRequestController.java
index 061baa46ebb5cf3aa1e8328b202f6e66755a3074..56607fbec9b7b6e733a6a26649ce8c3b528ac3ce 100644 (file)
@@ -35,9 +35,12 @@ public interface AddressbookAdminCountryWebRequestController extends Serializabl
        List<Country> allCountries ();
 
        /**
-        * Adds country to all relevant beans and sends it to the EJB.
+        * Adds country to all relevant beans and sends it to the EJB. A redirect
+        * should happen after successfull creation.
+        * <p>
+        * @return Redirect outcome
         */
-       void addCountry ();
+       String addCountry ();
 
        /**
         * Checks whether countries has been registered
@@ -99,7 +102,7 @@ public interface AddressbookAdminCountryWebRequestController extends Serializabl
         * Setter for whether the local dial prefix is required for local calls
         * <p>
         * @param countryIsLocalPrefixRequired Whether the local dial prefix is
-        *                                     required
+        * required
         */
        void setCountryIsLocalPrefixRequired (final Boolean countryIsLocalPrefixRequired);