KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > tutorial > secondary > bean > CustomerDAO


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.tutorial.secondary.bean;
8
9 import java.util.List JavaDoc;
10
11 public interface CustomerDAO
12 {
13    int create(String JavaDoc first, String JavaDoc last, String JavaDoc street, String JavaDoc city, String JavaDoc state, String JavaDoc zip);
14
15    Customer find(int id);
16
17    List JavaDoc findByLastName(String JavaDoc name);
18
19    void merge(Customer c);
20 }
21
Popular Tags