]> git.mxchange.org Git - jjobs-war.git/blobdiff - src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebRequestController.java
updated copyright + author
[jjobs-war.git] / src / java / org / mxchange / jjobs / beans / user / JobsAdminUserWebRequestController.java
index 764e09dba4b8da0d128ded1d13c24a449158d010..fd466e4c5b722262f257f7c4b594ef0f7b89ffd8 100644 (file)
@@ -18,6 +18,7 @@ package org.mxchange.jjobs.beans.user;
 
 import java.io.Serializable;
 import org.mxchange.jusercore.events.registration.UserRegisteredEvent;
+import org.mxchange.jusercore.model.user.User;
 
 /**
  * An interface for user beans
@@ -49,6 +50,26 @@ public interface JobsAdminUserWebRequestController extends Serializable {
         */
        String editUserData ();
 
+       /**
+        * Locks selected user's account. This method makes sure that a lock reason
+        * is provided that th user later can read on login attempts.
+        * <p>
+        * @param user User instance to be locked
+        * <p>
+        * @return Redirect outcome
+        */
+       String lockUserAccount (final User user);
+
+       /**
+        * Unlocks selected user's account. This method makes sure that the account
+        * is locked.
+        * <p>
+        * @param user User instance to be unlocked
+        * <p>
+        * @return Redirect outcome
+        */
+       String unlockUserAccount (final User user);
+
        /**
         * Getter for user name
         * <p>