// Fire event
this.addedCountryEvent.fire(new AdminEventCountryAdded(updatedCountry));
-
- // Clear bean
- this.clear();
}
@Override
return (!this.allCountries().isEmpty());
}
- /**
- * Clears this bean
- */
- private void clear () {
- // Clear all
- this.setCountryAbroadDialPrefix(null);
- this.setCountryCode(null);
- this.setCountryExternalDialPrefix(null);
- this.setCountryI18nKey(null);
- this.setCountryIsLocalPrefixRequired(null);
- this.setCountryPhoneCode(null);
- }
-
/**
* Checks if given country is already added by iterating over the whole list
* and try to find it.