1 4 package com.openedit.store; 5 6 import java.util.List ; 7 8 import com.openedit.OpenEditException; 9 import com.openedit.store.products.PropertyDetails; 10 11 15 public interface ProductArchive 16 { 17 Product getProduct(String inId) throws StoreException; 18 19 22 void clearProducts(); 23 24 public void clearProduct( Product inProduct ); 25 26 29 void saveProduct(Product inInItem) throws StoreException; 30 31 void deleteProduct( Product inItem ) throws StoreException; 32 33 37 String loadDescription(Product inProduct) throws StoreException; 38 39 String nextProductNumber( Store inStore ) throws StoreException; 40 41 44 void saveProductDescription(Product inProduct, String inDescription) throws StoreException; 45 46 51 ProductPathFinder getProductPathFinder(); 52 53 PropertyDetails getPropertyDetails() throws StoreException; 54 55 void saveBlankProductDescription(Product inProduct) throws StoreException; 56 57 List listAllProductIds(); 58 59 void setStore(Store inStore); 60 Store getStore(); 61 62 } 63 | Popular Tags |