]> git.mxchange.org Git - juser-login-lib.git/blobdiff - src/org/mxchange/jusercore/model/user/UserSessionBeanRemote.java
changed to ChangeableEmailAddress
[juser-login-lib.git] / src / org / mxchange / jusercore / model / user / UserSessionBeanRemote.java
index 337536b23ccf4b5819c20d61fe781ab1d6ecaa5f..4acac2c5dcbd74ae4a5c65dcdd33143294b93cd6 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2015 Roland Haeder
+ * Copyright (C) 2016 Roland Haeder
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -28,6 +28,14 @@ import javax.ejb.Remote;
 @Remote
 public interface UserSessionBeanRemote extends Serializable {
 
+       /**
+        * Returns a list with all public and member-visible users. Members are
+        * logged-in users. ;-)
+        * <p>
+        * @return A list of public and member-visible users
+        */
+       List<User> allMemberPublicVisibleUsers ();
+
        /**
         * Returns a list of all public user profiles
         * <p>
@@ -62,6 +70,7 @@ public interface UserSessionBeanRemote extends Serializable {
         * Checks if given user id exists
         * <p>
         * @param userId User id to check
+        * <p>
         * @return Whether the user id exists
         */
        boolean ifUserIdExists (final Long userId);
@@ -83,4 +92,12 @@ public interface UserSessionBeanRemote extends Serializable {
         * @return Whether the user is already registered
         */
        boolean isEmailAddressReqistered (final User user);
+
+       /**
+        * Updates given user instance in database
+        * <p>
+        * @param user User instance to update
+        */
+       void updateUserPersonalData (final User user);
+
 }