From: Roland Häder Date: Sun, 9 Jul 2017 08:35:33 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bbaf987acdbac6b426b40566b295856e58e24c88;p=jjobs-ejb.git Please cherry-pick: - returned managed instance so the web controller (backing bean in your web application) can continue to use it (mostly fire an event) Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/jusercore/model/user/resendlink/JobsResendLinkSessionBean.java b/src/java/org/mxchange/jusercore/model/user/resendlink/JobsResendLinkSessionBean.java index 357e0a2..7baadbf 100644 --- a/src/java/org/mxchange/jusercore/model/user/resendlink/JobsResendLinkSessionBean.java +++ b/src/java/org/mxchange/jusercore/model/user/resendlink/JobsResendLinkSessionBean.java @@ -64,7 +64,7 @@ public class JobsResendLinkSessionBean extends BaseJobsDatabaseBean implements R } @Override - public void resendConfirmationLink (final User user, final Locale locale, final String baseUrl) throws UserNotFoundException, UserStatusConfirmedException, UserStatusLockedException { + public User resendConfirmationLink (final User user, final Locale locale, final String baseUrl) throws UserNotFoundException, UserStatusConfirmedException, UserStatusLockedException { // Log trace message this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.resendConfirmationLink: user={1},locale={2},baseUrl={3} - CALLED!", this.getClass().getSimpleName(), user, locale, baseUrl)); //NOI18N @@ -109,7 +109,10 @@ public class JobsResendLinkSessionBean extends BaseJobsDatabaseBean implements R this.sendEmail("Resend user confirmation link", "user_resend_confirmation_link", user, baseUrl, null); //NOI18N // Log trace message - this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.resendConfirmationLink: EXIT!", this.getClass().getSimpleName())); //NOI18N + this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.resendConfirmationLink: managedUser={1} - EXIT!", this.getClass().getSimpleName(), managedUser)); //NOI18N + + // Return updated instance + return managedUser; } }