From 0c86fd7172fe26f2eea37062ba37066f9a789ff1 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 6 Oct 2015 13:56:29 +0200 Subject: [PATCH] registerUser() has to return the updated user instance to let the controller being updated, too MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by:Roland Häder --- .../model/register/UserRegistrationSessionBeanRemote.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.39.5