Generated by
JDiff

Interface org.cyclos.impl.users.UserServiceLocal

Removed Methods
boolean canEditUserCustomFields(User) Returns true if the logged user can edit at least one user profile custom fields
boolean canEditUserEmail(User) Returns true if the logged user can edit the user email
boolean canEditUserFullName(User) Returns true if the logged user can edit the user profile full name
boolean canEditUserLoginName(User) Returns true if the logged user can modify the user's login name
boolean canViewAddresses(User) Returns if the given user can view addresses
boolean canViewPhones(User) Returns if the given user can view phones
void clearValidationKey(User) Removes all user data related to a validation key
User getUserForValidationKey(ValidationKeyType, String) Returns the user in the current network with the given validation key
LocateUserResult locate(Network, UserLocatorVO, Set<LocateUserOption>) Locates an user on the given network, using a RawEntityManagerHandler, using custom options.
LocateUserResult locate(Network, UserLocatorVO, Set<LocateUserOption>, Collection<PrincipalType>) Locates an user on the given network, using a RawEntityManagerHandler, using custom options.
LocateUserResult locateRelated(UserLocatorVO) Locates an user on the current network, using a RawEntityManagerHandler, enforcing the active user to be related to the located user.
User locateUser(UserLocatorVO) Locates an user in the current network enforcing the active user to be related to the located user.
User locateUser(UserLocatorVO, Set<LocateUserOption>) Locates an user using the EntityManagerHandler, that means - the user must be in the same network as the current user, and needs to be accessible by him.
User locateUser(Network, UserLocatorVO) Locates an user on the given network, using a RawEntityManagerHandler.
User locateUser(Network, UserLocatorVO, Set<LocateUserOption>) Locates an user on the given network, using a RawEntityManagerHandler, using custom options.
User locateUser(Network, UserLocatorVO, Set<LocateUserOption>, Collection<PrincipalType>) Locates an user on the given network, using a RawEntityManagerHandler, using custom options.
boolean requiresEmailValidation(UserRegistration, ConfigurationAccessor) Returns true if the configuration requires email validation for the given user registration.
void setValidationKey(User, ValidationKeyType) Generates a new validation key for an user operation which needs an e-mail confirmation (like pending user registration, pending e-mail change or forgot password)
 

Added Methods
boolean canAddToContacts(User) Returns true if the logged user can add the given user to his contacts list
boolean existsUserWithEmail(String) Returns true if there exists a user with the given email.
boolean existsUserWithMobilePhone(String) Returns true if there exists a user with the given normalized mobile phone.
String generateNewUsername(ConfigurationAccessor) Generates an username for the given configuration.
void onRegistrationValidation(User, boolean, boolean) Performs additional actions when an user registration is validated
void validate(UserDTO, UserRegistration) Validates the user information according to the registration context