From: Roland Haeder Date: Tue, 6 Oct 2015 11:56:29 +0000 (+0200) Subject: registerUser() has to return the updated user instance to let the controller being... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0c86fd7172fe26f2eea37062ba37066f9a789ff1;p=juser-login-lib.git registerUser() has to return the updated user instance to let the controller being updated, too Signed-off-by:Roland Häder --- diff --git a/src/org/mxchange/jusercore/model/register/UserRegistrationSessionBeanRemote.java b/src/org/mxchange/jusercore/model/register/UserRegistrationSessionBeanRemote.java index a819994..8f50829 100644 --- a/src/org/mxchange/jusercore/model/register/UserRegistrationSessionBeanRemote.java +++ b/src/org/mxchange/jusercore/model/register/UserRegistrationSessionBeanRemote.java @@ -33,7 +33,8 @@ public interface UserRegistrationSessionBeanRemote extends Serializable { * Registers given user data, if not yet found *

* @param user User instance to register + * @return The fully registered user account * @throws org.mxchange.jusercore.exceptions.UserAlreadyRegisteredException If the user has already been registered */ - public void registerUser (final User user) throws UserAlreadyRegisteredException; + public User registerUser (final User user) throws UserAlreadyRegisteredException; }