From: Roland Haeder Date: Thu, 15 Oct 2015 18:30:39 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1a83b439cfedef81f1a89d7bc04677352c610d30;p=jbonuscard-lib.git Continued: - added business method allUsersNotSharing() - updated jar(s) --- diff --git a/lib/juser-core.jar b/lib/juser-core.jar index 9492047..c8486cf 100644 Binary files a/lib/juser-core.jar and b/lib/juser-core.jar differ diff --git a/src/org/mxchange/addressbook/model/addressbook/AddressbookSessionBeanRemote.java b/src/org/mxchange/addressbook/model/addressbook/AddressbookSessionBeanRemote.java index b4909c0..d1b4c64 100644 --- a/src/org/mxchange/addressbook/model/addressbook/AddressbookSessionBeanRemote.java +++ b/src/org/mxchange/addressbook/model/addressbook/AddressbookSessionBeanRemote.java @@ -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. + *

+ * @param user User instance + * @param addressbook Address book instance + *

+ * @return List of users + */ + List allUsersNotSharing (final User user, final Addressbook addressbook); + /** * Count all shared address books by given user *

@@ -73,7 +84,7 @@ public interface AddressbookSessionBeanRemote extends Serializable { *

* @return List of all address books */ - List getUsersList (final User loggedInUser); + List getUsersAddressbookList (final User loggedInUser); /** * Creates given address book by persisting it. A User instance must be set,