- these methods where just wrapping calls of same methods in user EJB
- so let's get rid of this double-redundant code
Signed-off-by: Roland Häder <roland@mxchange.org>
*/
User registerUser (final User user, final String baseUrl, final String randomPassword) throws UserNameAlreadyRegisteredException, EmailAddressAlreadyRegisteredException;
- /**
- * Checks if the user's name is already registered
- * <p>
- * @param user User instance to check
- * <p>
- * @return Whether the user's name has already been registered
- */
- boolean isUserNameRegistered (final User user);
-
- /**
- * Checks if the user's email address is already registered
- * <p>
- * @param user User instance to check
- * <p>
- * @return Whether the user's email address has already been registered
- */
- boolean isEmailAddressRegistered (final User user);
}