]> git.mxchange.org Git - juser-login-lib.git/commitdiff
registerUser() has to return the updated user instance to let the controller being...
authorRoland Haeder <roland@mxchange.org>
Tue, 6 Oct 2015 11:56:29 +0000 (13:56 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 6 Oct 2015 11:56:29 +0000 (13:56 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/org/mxchange/jusercore/model/register/UserRegistrationSessionBeanRemote.java

index a819994e28ea07964ab888147113dac2895c46d9..8f5082942e7467a9f54a68030c67932acce2ac88 100644 (file)
@@ -33,7 +33,8 @@ public interface UserRegistrationSessionBeanRemote extends Serializable {
         * Registers given user data, if not yet found
         * <p>
         * @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;
 }