]> git.mxchange.org Git - jaddressbook-share-lib.git/commitdiff
added new method
authorRoland Haeder <roland@mxchange.org>
Mon, 12 Oct 2015 16:49:47 +0000 (18:49 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 12 Oct 2015 16:49:47 +0000 (18:49 +0200)
src/org/mxchange/addressbook/model/addressbook/AddressbookSessionBeanRemote.java

index 4af9c91f2ce30ecd896a8c1639481118d7c351e1..de3baa0d2bfc420b84b2f9b0cd222572d4dd9f58 100644 (file)
@@ -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.
+        * <p>
+        * @param addressbook Address book instance
+        * <p>
+        * @return List of all entries
+        */
+       public List<AddressbookEntry> allEntries (final Addressbook addressbook);
+
        /**
         * Some "getter" for a list of address books the logged-in user has created
         * <p>