1 4 package com.openedit.store; 5 6 import java.io.File ; 7 import java.util.List ; 8 9 import com.openedit.store.customer.Customer; 10 11 15 public interface CustomerArchive 16 { 17 public abstract Customer getCustomer(String 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 26 public abstract Customer createNewCustomer(String inUsername, String inPassword)throws StoreException; 27 28 public List findCustomer(String inField1, String inValue1, String inField2, String inValue2)throws StoreException; 29 30 33 public abstract void clearCustomers() throws StoreException; 34 35 38 public abstract void setCustomersDirectory(File inCustomerDirectory); 39 40 } | Popular Tags |