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;
/**
@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>