From: Roland Häder Date: Tue, 5 Sep 2017 20:17:33 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0a27b5f4f6d88e49fee7801f0f66b08b91487710;p=juser-lib.git Continued: - let's have UserNotFoundException be thrown when the provided user instance was not found by persistence provider Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jusercore/model/user/UserSessionBeanRemote.java b/src/org/mxchange/jusercore/model/user/UserSessionBeanRemote.java index 15ede4b..5c223c7 100644 --- a/src/org/mxchange/jusercore/model/user/UserSessionBeanRemote.java +++ b/src/org/mxchange/jusercore/model/user/UserSessionBeanRemote.java @@ -37,7 +37,7 @@ public interface UserSessionBeanRemote extends Serializable { * Updates user's password (must be set encrypted before calling this * method) and records the password change in user's password history. *

- * @param user User instance with updated password + * @param user User instance with updated password * @param baseUrl Base URL for all links *

* @return Password history entry with updated user instance @@ -52,7 +52,7 @@ public interface UserSessionBeanRemote extends Serializable { * Changes the user' account status to CONFIRMED if the status is * UNCONFIRMED, else proper exceptions are thrown. *

- * @param user Unconfirmed user instance + * @param user Unconfirmed user instance * @param baseUrl Base URL *

* @return Updated user instance @@ -120,15 +120,17 @@ public interface UserSessionBeanRemote extends Serializable { * @param user Initial User instance *

* @return Prepared User instance + *

+ * @throws UserNotFoundException If the user was not found */ - User fillUserData (final User user); + User fillUserData (final User user) throws UserNotFoundException; /** * Some "getter" for a full user name list *

* @return User name list */ - List getUserNameList (); + List allUserNames (); /** * Some "getter" for a full email address list