import org.mxchange.jusercore.exceptions.UserStatusConfirmedException;
import org.mxchange.jusercore.exceptions.UserStatusLockedException;
import org.mxchange.jusercore.exceptions.UserStatusUnconfirmedException;
+import org.mxchange.jusercore.model.user.password_history.PasswordHistory;
/**
* An interface for user beans
* <p>
* @param user User instance with updated password
* <p>
- * @return Updated user instance
+ * @return Password history entry with updated user instance
*
* @throws UserNotFoundException If the user is not found
* @throws UserStatusUnconfirmedException If the user status is unconfirmed
* @throws UserStatusLockedException If the user status is locked
*/
- User updateUserPassword (final User user) throws UserNotFoundException, UserStatusUnconfirmedException, UserStatusLockedException;
+ PasswordHistory updateUserPassword (final User user) throws UserNotFoundException, UserStatusUnconfirmedException, UserStatusLockedException;
/**
* Changes the user' account status to CONFIRMED if the status is