package org.mxchange.jcontacts.contact;
import java.io.Serializable;
+import java.util.List;
import javax.ejb.Remote;
import org.mxchange.jcontacts.exceptions.ContactNotFoundException;
@Remote
public interface ContactSessionBeanRemote extends Serializable {
+ /**
+ * Updates given contact data
+ * <p>
+ * @param contact Contact data to update
+ */
+ void updateContactPersonalData (final Contact contact);
+
+ /**
+ * Returns a list of all found contacts
+ * <p>
+ * @return A list of call contacts
+ */
+ List<Contact> getAllContacts ();
+
+ /**
+ * Returns a list of all registered email addresses.
+ * <p>
+ * @return A list of all email addresses
+ */
+ List<String> getEmailAddressList ();
+
/**
* Returns a contact instance which has the given id number.
* <p>