1 7 8 package phoneList.spec; 9 10 11 import java.util.Vector ; 12 13 public interface PhoneList{ 14 15 public Vector [] getLists() throws Exception ; 16 public void deletePerson(String id) throws Exception ; 17 public void modifyPerson(String id, 18 String newFirstName, 19 String newLastName, 20 String newPhoneNumber) throws Exception ; 21 22 public void addPerson(String firstName, 23 String lastName, 24 String phoneNumber)throws Exception ; 25 public Person getById(String id) throws Exception ; 26 27 } | Popular Tags |