]> git.mxchange.org Git - juser-activity-lib.git/commitdiff
added 2nd parameter baseUrl as EJBs cannot use FacesUtils
authorRoland Häder <roland@mxchange.org>
Wed, 18 May 2016 12:42:32 +0000 (14:42 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 18 May 2016 12:42:32 +0000 (14:42 +0200)
src/org/mxchange/jusercore/model/register/UserRegistrationSessionBeanRemote.java

index 354845e0b4fd1fadd03787e9b110b6d4f7be57c0..1272b30d594e8bbb40e41481e2693d2c1f3b26c3 100644 (file)
@@ -45,6 +45,7 @@ public interface UserRegistrationSessionBeanRemote extends Serializable {
         * Registers given user data, if not yet found
         * <p>
         * @param user User instance to register
+        * @param baseUrl Base URL
         * <p>
         * @return The fully registered user account
         * <p>
@@ -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