Generated by
JDiff

Interface org.cyclos.impl.users.UserValidationServiceLocal

Removed Methods
String generatePasswordAndSendActivationEmail(BasicUser, boolean, boolean) Generate a password (if needed) and send the activation e-mail for the given user
String processActivation(BasicUser, boolean, boolean) Processes an user activation, generating a password if needed, and sends the activation e-mail, returning a generated password (if any)
boolean requiresEmailValidation(UserRegistration, ConfigurationAccessor) Returns true if the configuration requires email validation for the given user registration.
void setRegistrationValidation(BasicUser) Sets the user validation key for user registration confirmation and sends the e-mail
Projectable uniqueEmailQuery(Network, BasicUserDTO) Returns a query suited to check the e-mail uniqueness of the given user
 

Added Methods
void addNameValidations(Property, BasicUserDTO) As the CRUD service forces a custom handling of the name property, this needs to be in a separate method
void addRegistrationValidations(Validator, BasicUserRegistrationDTO, UserRegistration, Group) Add common validations for registering an user or operator
void addValidations(Validator, BasicUserDTO, BasicUser, UserRegistration) Add common validations for saving the profile of an user or operator.
void fillRegistrationData(BasicUserRegistrationData, UserRegistration, BasicUser) Fills with common data for registering users or operators
boolean isNameRequired(BasicUserDTO) Returns whether we should require the full name when saving the given user
BasicUser preProcessRegistration(BasicUserRegistrationDTO, UserRegistration) Returns a pre-populated user for persisting
(Map<PasswordType, String>) processRegistration(BasicUser, BasicUserRegistrationDTO) Processes an user registration.
 

Changed Methods
UserRegistrationResult buildRegistrationResult(BasicUser, Set<PasswordType>) Change in signature from BasicUser to (BasicUser, Set<PasswordType>).
Documentation changed from old to new.
Builds the registration result for the given user.
void setEmailChangeValidation(BasicUser, String) Documentation changed from old to new.
Sets the user validation key for e-mail change confirmation, restores the original e-mail (saving the current e-mail in new email) and sends the e-mail