From: Roland Haeder Date: Mon, 12 Oct 2015 16:49:47 +0000 (+0200) Subject: added new method X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4bcb3780cea53e9444f2450b576271085d23c820;p=jfinancials-lib.git added new method --- 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 *