From: Roland Häder Date: Mon, 29 Aug 2016 09:25:17 +0000 (+0200) Subject: added business method for deleting user instance X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9a841493c2412c0e863aa4c13601a213b79ba1f0;p=juser-lib.git added business method for deleting user instance --- diff --git a/src/org/mxchange/jusercore/model/user/AdminUserSessionBeanRemote.java b/src/org/mxchange/jusercore/model/user/AdminUserSessionBeanRemote.java index 2b2ccec..1c25501 100644 --- a/src/org/mxchange/jusercore/model/user/AdminUserSessionBeanRemote.java +++ b/src/org/mxchange/jusercore/model/user/AdminUserSessionBeanRemote.java @@ -33,6 +33,16 @@ import org.mxchange.jusercore.exceptions.UserStatusUnconfirmedException; @Remote public interface AdminUserSessionBeanRemote extends Serializable { + /** + * Deletes given user instance + *

+ * @param user User instance to delete + * @param userDeleteReason Delete reason + *

+ * @throws UserNotFoundException If the user account is not found + */ + void deleteUser (final User user, final String userDeleteReason) throws UserNotFoundException; + /** * Locks given user account with given reason *