public void init () {
}
- /**
- * Clears this bean
- */
- private void clear () {
- // Clear all
- this.setContactId(null);
- this.setBirthday(null);
- this.setCellphoneCarrier(null);
- this.setCellphoneNumber(null);
- this.setCity(null);
- this.setComment(null);
- this.setCountry(null);
- this.setEmailAddress(null);
- this.setFamilyName(null);
- this.setFaxAreaCode(null);
- this.setFaxCountry(null);
- this.setFaxNumber(null);
- this.setFirstName(null);
- this.setGender(null);
- this.setHouseNumber(null);
- this.setPhoneAreaCode(null);
- this.setPhoneCountry(null);
- this.setPhoneNumber(null);
- this.setStreet(null);
- this.setZipCode(null);
- }
-
}
// 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.
// Fire event
this.providerAddedEvent.fire(new AdminMobileProviderAddedEvent(updatedProvider));
-
- // Clear this bean
- this.clear();
}
@Override
return (!this.allMobileProvider().isEmpty());
}
- /**
- * Clears this bean
- */
- private void clear () {
- // Clear all fields
- this.setProviderCountry(null);
- this.setProviderDialPrefix(null);
- this.setProviderMailPattern(null);
- this.setProviderName(null);
- }
-
/**
* Checks whether if the given mobile provider is already created by
* checking both dial prefix and country.
this.landLine = landLine;
}
- /**
- * Clears this bean
- */
- private void clear () {
- // Clear all instances
- this.setCellPhone(null);
- this.setFax(null);
- this.setLandLine(null);
- this.setContact(null);
- }
-
}
// Add user to local list
this.userList.add(updatedUser);
- // Clear all
- this.clear();
-
// Clear contact instance
this.contactController.clear();
}
return user;
}
- /**
- * Clears this bean
- */
- private void clear () {
- // Clear all
- this.setUserName(null);
- this.setUserPassword(null);
- this.setUserPasswordRepeat(null);
- }
-
/**
* Checks if same password is entered and that they are not empty.
* <p>