From: Roland Häder Date: Sun, 15 Oct 2017 20:57:05 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b453cc93d5aeb91fa1e1eaac088f3079dca8560b;p=juser-lib.git Continued: - removed findUserById() as this has been moved to WAR project (and later Swing) for performance reasons - removed also another method as it causes load on EJB that can be avoided 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 5c223c7..04fdac4 100644 --- a/src/org/mxchange/jusercore/model/user/UserSessionBeanRemote.java +++ b/src/org/mxchange/jusercore/model/user/UserSessionBeanRemote.java @@ -78,19 +78,6 @@ public interface UserSessionBeanRemote extends Serializable { */ User updateUserData (final User user); - /** - * Find user by given user id and returns fetched instance. If the user is - * not found, an exception is thrown. - *

- * @param userId User id - *

- * @return User instance - * - * @throws org.mxchange.jusercore.exceptions.UserNotFoundException If the - * user is not found - */ - User findUserById (final Long userId) throws UserNotFoundException; - /** * Returns a list of all users. This is mostly suitable for administrative * interfaces. @@ -139,15 +126,6 @@ public interface UserSessionBeanRemote extends Serializable { */ List getEmailAddressList (); - /** - * Checks if given user id exists - *

- * @param userId User id to check - *

- * @return Whether the user id exists - */ - boolean ifUserIdExists (final Long userId); - /** * Checks if given user name is already used *