import org.mxchange.jusercore.exceptions.EmailAddressAlreadyRegisteredException;
import org.mxchange.jusercore.exceptions.UserNameAlreadyRegisteredException;
import org.mxchange.jusercore.exceptions.UserNotFoundException;
+import org.mxchange.jusercore.exceptions.UserStatusConfirmedException;
import org.mxchange.jusercore.exceptions.UserStatusLockedException;
import org.mxchange.jusercore.exceptions.UserStatusUnconfirmedException;
*/
void lockUserAccount (final User user, final String userLockReason, final String baseUrl) throws UserStatusLockedException, UserStatusUnconfirmedException, UserNotFoundException;
+ /**
+ * Unlocks given user account
+ * <p>
+ * @param user User account to be unlocked, must be status LOCKED
+ * @param baseUrl Base URL for all URLs
+ * <p>
+ * @throws UserStatusConfirmedException The account is already locked
+ * @throws UserStatusUnconfirmedException The account is not confirmed
+ * @throws UserNotFoundException The user account is not found
+ */
+ void unlockUserAccount (final User user, final String baseUrl) throws UserStatusConfirmedException, UserStatusUnconfirmedException, UserNotFoundException;
+
/**
* Creates the user instance and links it with the set contact instance
* <p>