From: Roland Häder Date: Thu, 11 Aug 2016 10:26:49 +0000 (+0200) Subject: updated jar(s) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=37da3ce8f1f02113af81703db8b18fbd515b4e1f;p=juser-login-lib.git updated jar(s) --- diff --git a/lib/juser-core.jar b/lib/juser-core.jar index bbd9f93..9fd9cc6 100644 Binary files a/lib/juser-core.jar and b/lib/juser-core.jar differ diff --git a/src/org/mxchange/jusercore/model/user/AdminUserSessionBeanRemote.java b/src/org/mxchange/jusercore/model/user/AdminUserSessionBeanRemote.java index 1f92944..2b2ccec 100644 --- a/src/org/mxchange/jusercore/model/user/AdminUserSessionBeanRemote.java +++ b/src/org/mxchange/jusercore/model/user/AdminUserSessionBeanRemote.java @@ -40,11 +40,13 @@ public interface AdminUserSessionBeanRemote extends Serializable { * @param userLockReason Lock reason * @param baseUrl Base URL for all URLs *

+ * @return Updated (and detached) user instance + *

* @throws UserStatusLockedException The account is already locked * @throws UserStatusUnconfirmedException The account is not confirmed * @throws UserNotFoundException The user account is not found */ - void lockUserAccount (final User user, final String userLockReason, final String baseUrl) throws UserStatusLockedException, UserStatusUnconfirmedException, UserNotFoundException; + User lockUserAccount (final User user, final String userLockReason, final String baseUrl) throws UserStatusLockedException, UserStatusUnconfirmedException, UserNotFoundException; /** * Unlocks given user account @@ -52,11 +54,13 @@ public interface AdminUserSessionBeanRemote extends Serializable { * @param user User account to be unlocked, must be status LOCKED * @param baseUrl Base URL for all URLs *

+ * @return Updated (and detached) user instance + *

* @throws UserStatusConfirmedException The account is already locked * @throws UserStatusUnconfirmedException The account is not confirmed * @throws UserNotFoundException The user account is not found */ - void unlockUserAccount (final User user, final String baseUrl) throws UserStatusConfirmedException, UserStatusUnconfirmedException, UserNotFoundException; + User unlockUserAccount (final User user, final String baseUrl) throws UserStatusConfirmedException, UserStatusUnconfirmedException, UserNotFoundException; /** * Creates the user instance and links it with the set contact instance