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.
@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).
+ * <p>
+ * @param user User instance
+ * @param locale Locale instance
+ * <p>
+ * @return Redirection target
+ */
+ String resendConfirmationLink (final User user, final Locale locale);
+
}