]> git.mxchange.org Git - jfinancials-lib.git/commitdiff
Continued:
authorRoland Haeder <roland@mxchange.org>
Thu, 15 Oct 2015 18:30:39 +0000 (20:30 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 15 Oct 2015 18:30:39 +0000 (20:30 +0200)
- added business method allUsersNotSharing()
- updated jar(s)

lib/juser-core.jar
src/org/mxchange/addressbook/model/addressbook/AddressbookSessionBeanRemote.java

index 94920473f0bd2dcfee1d99e5be9f16c81e3bd70d..c8486cff6d9b8b49ad3e85bc50a515a504837d72 100644 (file)
Binary files a/lib/juser-core.jar and b/lib/juser-core.jar differ
index b4909c0bec198a1a4f75d8737e37eefb85bf1a9f..d1b4c6473eb566e3473c48794b3c0953a64609fb 100644 (file)
@@ -32,6 +32,17 @@ import org.mxchange.jusercore.model.user.User;
 @Remote
 public interface AddressbookSessionBeanRemote extends Serializable {
 
+       /**
+        * Retrieves a list of all users this user is not sharing the given address
+        * book with.
+        * <p>
+        * @param user User instance
+        * @param addressbook Address book instance
+        * <p>
+        * @return List of users
+        */
+       List<User> allUsersNotSharing (final User user, final Addressbook addressbook);
+
        /**
         * Count all shared address books by given user
         * <p>
@@ -73,7 +84,7 @@ public interface AddressbookSessionBeanRemote extends Serializable {
         * <p>
         * @return List of all address books
         */
-       List<Addressbook> getUsersList (final User loggedInUser);
+       List<Addressbook> getUsersAddressbookList (final User loggedInUser);
 
        /**
         * Creates given address book by persisting it. A User instance must be set,