From 02a32e30f308c4ed75a82cbab821fd90395a1eba Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 17 May 2016 10:28:01 +0200 Subject: [PATCH] added business method resendConfirmationLink() --- .../resendlink/ResendLinkSessionBeanRemote.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/org/mxchange/pizzaapplication/beans/resendlink/ResendLinkSessionBeanRemote.java b/src/org/mxchange/pizzaapplication/beans/resendlink/ResendLinkSessionBeanRemote.java index 3d8f12c..cd831c2 100644 --- a/src/org/mxchange/pizzaapplication/beans/resendlink/ResendLinkSessionBeanRemote.java +++ b/src/org/mxchange/pizzaapplication/beans/resendlink/ResendLinkSessionBeanRemote.java @@ -17,7 +17,9 @@ package org.mxchange.pizzaapplication.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); + } -- 2.39.5