KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * Created on Apr 23, 2004
3  */

4 package com.openedit.store;
5
6 import java.util.List JavaDoc;
7
8 import com.openedit.OpenEditException;
9 import com.openedit.store.products.PropertyDetails;
10
11 /**
12  * @author cburkey
13  *
14  */

15 public interface ProductArchive
16 {
17     Product getProduct(String JavaDoc inId) throws StoreException;
18
19     /**
20      *
21      */

22     void clearProducts();
23
24     public void clearProduct( Product inProduct );
25
26     /**
27      * @param inInItem
28      */

29     void saveProduct(Product inInItem) throws StoreException;
30
31     void deleteProduct( Product inItem ) throws StoreException;
32
33     /**
34      * @param inProduct
35      * @return
36      */

37     String JavaDoc loadDescription(Product inProduct) throws StoreException;
38     
39     String JavaDoc nextProductNumber( Store inStore ) throws StoreException;
40
41     /**
42      * @param inProduct
43      */

44     void saveProductDescription(Product inProduct, String JavaDoc inDescription) throws StoreException;
45     
46     /**
47      * Returns the product path finder.
48      *
49      * @return The product path finder
50      */

51     ProductPathFinder getProductPathFinder();
52         
53     PropertyDetails getPropertyDetails() throws StoreException;
54
55     void saveBlankProductDescription(Product inProduct) throws StoreException;
56
57     List JavaDoc listAllProductIds();
58     
59     void setStore(Store inStore);
60     Store getStore();
61     
62 }
63
Popular Tags