01: /*
02: * PhoneBookClient
03: *
04: * Enhydra super-servlet specification object
05: *
06: */
07:
08: package phoneList.spec;
09:
10: import java.util.Vector;
11:
12: public interface PhoneList {
13:
14: public void setServerUrl(String s, String p) throws Exception;
15:
16: public Vector[] getLists() throws Exception;
17:
18: public void addPerson(String firstName, String lastName,
19: String phoneNumber) throws Exception;
20:
21: public void deletePerson(String id) throws Exception;
22:
23: public void modifyPerson(String id, String newFirstName,
24: String newLastName, String newPhoneNumber) throws Exception;
25:
26: public Person getById(String id) throws Exception;
27:
28: public String getServer();
29:
30: public String getPort();
31:
32: public boolean isConfigured();
33:
34: public void setConfigured();
35: }
|