KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > openedit > store > CustomerArchive


1 /*
2  * Created on Oct 4, 2004
3  */

4 package com.openedit.store;
5
6 import java.io.File JavaDoc;
7 import java.util.List JavaDoc;
8
9 import com.openedit.store.customer.Customer;
10
11 /**
12  * @author cburkey
13  *
14  */

15 public interface CustomerArchive
16 {
17     public abstract Customer getCustomer(String JavaDoc inId) throws StoreException;
18
19     public abstract void saveCustomer(Customer inCustomer) throws StoreException;
20
21     public abstract void saveAndExportCustomer(Customer inC) throws StoreException;
22
23     /**
24      * @return
25      */

26     public abstract Customer createNewCustomer(String JavaDoc inUsername, String JavaDoc inPassword)throws StoreException;
27     
28     public List JavaDoc findCustomer(String JavaDoc inField1, String JavaDoc inValue1, String JavaDoc inField2, String JavaDoc inValue2)throws StoreException;
29
30     /**
31      *
32      */

33     public abstract void clearCustomers() throws StoreException;
34
35     /**
36      * @param inCustomerDirectory
37      */

38     public abstract void setCustomersDirectory(File JavaDoc inCustomerDirectory);
39
40 }
Popular Tags