From: Roland Häder Date: Wed, 18 May 2016 12:42:32 +0000 (+0200) Subject: added 2nd parameter baseUrl as EJBs cannot use FacesUtils X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=21e504e4af3a3e91f72f1f443ea943302e11bf9e;p=juser-lib.git added 2nd parameter baseUrl as EJBs cannot use FacesUtils --- diff --git a/src/org/mxchange/jusercore/model/register/UserRegistrationSessionBeanRemote.java b/src/org/mxchange/jusercore/model/register/UserRegistrationSessionBeanRemote.java index 354845e..1272b30 100644 --- a/src/org/mxchange/jusercore/model/register/UserRegistrationSessionBeanRemote.java +++ b/src/org/mxchange/jusercore/model/register/UserRegistrationSessionBeanRemote.java @@ -45,6 +45,7 @@ public interface UserRegistrationSessionBeanRemote extends Serializable { * Registers given user data, if not yet found *

* @param user User instance to register + * @param baseUrl Base URL *

* @return The fully registered user account *

@@ -55,7 +56,7 @@ public interface UserRegistrationSessionBeanRemote extends Serializable { * org.mxchange.jusercore.exceptions.EmailAddressAlreadyRegisteredException * If the email address has already been registered */ - User registerUser (final User user) throws UserNameAlreadyRegisteredException, EmailAddressAlreadyRegisteredException; + User registerUser (final User user, final String baseUrl) throws UserNameAlreadyRegisteredException, EmailAddressAlreadyRegisteredException; /** * Checks if the user's name is already registered