From: Roland Häder Date: Sun, 9 Jul 2017 08:32:51 +0000 (+0200) Subject: Return the updated user instance X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3ecc1a6ab8ca12acd8a1628fd9d73f97911a14b8;p=juser-login-lib.git Return the updated user instance Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jusercore/model/user/resendlink/ResendLinkSessionBeanRemote.java b/src/org/mxchange/jusercore/model/user/resendlink/ResendLinkSessionBeanRemote.java index aaa2b4a..dcd1332 100644 --- a/src/org/mxchange/jusercore/model/user/resendlink/ResendLinkSessionBeanRemote.java +++ b/src/org/mxchange/jusercore/model/user/resendlink/ResendLinkSessionBeanRemote.java @@ -41,12 +41,14 @@ public interface ResendLinkSessionBeanRemote extends Serializable { * @param user User instance * @param locale Locale instance * @param baseUrl Base URL + *

+ * @return Updated (aka "managed") instance with new confirmation key * * @throws UserNotFoundException If the user's account was not found * @throws UserStatusLockedException If the user's account is locked * @throws UserStatusConfirmedException If the user's account is already * confirmed */ - void resendConfirmationLink (final User user, final Locale locale, final String baseUrl) throws UserNotFoundException, UserStatusLockedException, UserStatusConfirmedException; + User resendConfirmationLink (final User user, final Locale locale, final String baseUrl) throws UserNotFoundException, UserStatusLockedException, UserStatusConfirmedException; }