KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > phoneList > spec > PhoneList


1 /*
2  * phoneBook
3  *
4  * Enhydra super-servlet specification object
5  *
6  */

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