Generated by
JDiff

Interface org.cyclos.impl.users.UserValidationServiceLocal

Changed Methods
void addNameValidations(Property, BasicUserDTO) Change in exceptions thrown from FrameworkException to no exceptions.
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) Change in exceptions thrown from FrameworkException to no exceptions.
Add common validations for registering an user or operator
void addValidations(Validator, BasicUserDTO, BasicUser, UserRegistration) Change in exceptions thrown from FrameworkException to no exceptions.
Add common validations for saving the profile of an user or operator.
UserRegistrationResult buildRegistrationResult(BasicUser, Set<PasswordType>) Change in exceptions thrown from FrameworkException to no exceptions.
Builds the registration result for the given user.
void clearValidationKey(BasicUser) Change in exceptions thrown from FrameworkException to no exceptions.
Removes all user data related to a validation key
BasicUser getUserForValidationKey(ValidationKeyType, String) Change in exceptions thrown from FrameworkException to no exceptions.
Returns the user in the current network with the given validation key
boolean isNameRequired(BasicUserDTO) Change in exceptions thrown from FrameworkException to no exceptions.
Returns whether we should require the full name when saving the given user
BasicUser preProcessRegistration(BasicUserRegistrationDTO, UserRegistration) Change in exceptions thrown from FrameworkException to no exceptions.
Returns a pre-populated user for persisting
Map<PasswordType, String> processRegistration(BasicUser, BasicUserRegistrationDTO) Change in exceptions thrown from FrameworkException to no exceptions.
Processes an user registration.
boolean requiresEmailChangeValidation(BasicUser) Change in exceptions thrown from FrameworkException to no exceptions.
Returns true if the system requires the user to validate the email upon email modification
void setEmailChangeValidation(BasicUser, String) Change in exceptions thrown from FrameworkException to no exceptions.
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
void setForgotPasswordValidation(BasicUser) Change in exceptions thrown from FrameworkException to no exceptions.
Sets the user validation key to forgot password and sends the e-mail