From: Roland Häder Date: Tue, 17 May 2016 08:28:01 +0000 (+0200) Subject: added business method resendConfirmationLink() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4da1e9399cce1cf3aa32245266be22f92a64577a;p=jfinancials-lib.git added business method resendConfirmationLink() --- diff --git a/src/org/mxchange/addressbook/beans/resendlink/ResendLinkSessionBeanRemote.java b/src/org/mxchange/addressbook/beans/resendlink/ResendLinkSessionBeanRemote.java index 04938b9..28e06e2 100644 --- a/src/org/mxchange/addressbook/beans/resendlink/ResendLinkSessionBeanRemote.java +++ b/src/org/mxchange/addressbook/beans/resendlink/ResendLinkSessionBeanRemote.java @@ -17,7 +17,9 @@ package org.mxchange.addressbook.beans.resendlink; import java.io.Serializable; +import java.util.Locale; import javax.ejb.Remote; +import org.mxchange.jusercore.model.user.User; /** * A remote interface for resending confirmation link. @@ -27,4 +29,17 @@ import javax.ejb.Remote; @Remote public interface ResendLinkSessionBeanRemote extends Serializable { + /** + * Send confirmation link out to given user and returns a proper redirection + * target. The user's account status should be UNCONFIRMED and should + * contain a confirmation key. After confirmation the account's status + * should be changed to CONFIRMED and the key removed (nulled). + *

+ * @param user User instance + * @param locale Locale instance + *

+ * @return Redirection target + */ + String resendConfirmationLink (final User user, final Locale locale); + }