From 9a841493c2412c0e863aa4c13601a213b79ba1f0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 29 Aug 2016 11:25:17 +0200 Subject: [PATCH] added business method for deleting user instance --- .../model/user/AdminUserSessionBeanRemote.java | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 *

-- 2.39.5