From b453cc93d5aeb91fa1e1eaac088f3079dca8560b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 15 Oct 2017 22:57:05 +0200 Subject: [PATCH] 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../model/user/UserSessionBeanRemote.java | 22 ------------------- 1 file changed, 22 deletions(-) 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 *

-- 2.39.5