]> git.mxchange.org Git - juser-lib.git/blobdiff - src/org/mxchange/jusercore/model/user/AdminUserSessionBeanRemote.java
added business method for deleting user instance
[juser-lib.git] / src / org / mxchange / jusercore / model / user / AdminUserSessionBeanRemote.java
index 2b2ccec04ed49d5c193618a62fa6a652381b2e95..1c25501f3b93371309a660a8403b8f1c5535e8ea 100644 (file)
@@ -33,6 +33,16 @@ import org.mxchange.jusercore.exceptions.UserStatusUnconfirmedException;
 @Remote
 public interface AdminUserSessionBeanRemote extends Serializable {
 
+       /**
+        * Deletes given user instance
+        * <p>
+        * @param user User instance to delete
+        * @param userDeleteReason Delete reason
+        * <p>
+        * @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
         * <p>