From 4bcb3780cea53e9444f2450b576271085d23c820 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 12 Oct 2015 18:49:47 +0200 Subject: [PATCH] added new method --- .../addressbook/AddressbookSessionBeanRemote.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/org/mxchange/addressbook/model/addressbook/AddressbookSessionBeanRemote.java b/src/org/mxchange/addressbook/model/addressbook/AddressbookSessionBeanRemote.java index 4af9c91..de3baa0 100644 --- a/src/org/mxchange/addressbook/model/addressbook/AddressbookSessionBeanRemote.java +++ b/src/org/mxchange/addressbook/model/addressbook/AddressbookSessionBeanRemote.java @@ -20,6 +20,7 @@ import java.io.Serializable; import java.util.List; import javax.ejb.Remote; import org.mxchange.addressbook.exceptions.AddressbookNameAlreadyUsedException; +import org.mxchange.addressbook.model.addressbook.entry.AddressbookEntry; import org.mxchange.jusercore.model.user.User; /** @@ -30,6 +31,16 @@ import org.mxchange.jusercore.model.user.User; @Remote public interface AddressbookSessionBeanRemote extends Serializable { + /** + * Returns a list of all entries of given address book, whether the assigned + * user is the "owner" or "sharer" of the entry. + *

+ * @param addressbook Address book instance + *

+ * @return List of all entries + */ + public List allEntries (final Addressbook addressbook); + /** * Some "getter" for a list of address books the logged-in user has created *

-- 2.39.5