KickJava   Java API By Example, From Geeks To Geeks.

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


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

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

14 public interface CatalogArchive
15 {
16     Category getCatalog(String JavaDoc inCatalog);
17     Category getCatalogByName(String JavaDoc inCatalogName) throws StoreException;
18     
19
20     //void saveCatalog( Category inCatalog) throws StoreException;
21
void saveCatalogs( ) throws StoreException;
22     
23     List JavaDoc listAllCatalogs()throws StoreException;
24     
25     public Category addCatalog( String JavaDoc inCatalogid, String JavaDoc inCatalogdesc ) throws StoreException;
26
27     
28     public void addCatalog( Category inCatalog ) throws StoreException;
29
30     public void deleteCatalog( Category inCatalog ) throws StoreException;
31
32     public void clearCatalogs() throws StoreException;
33
34     /**
35      * Blows away all children
36      * @param inRoot
37      */

38     void setRootCatalog(Category inRoot) throws StoreException;
39
40     Category getRootCatalog() throws StoreException;
41
42
43     /**
44      * @return
45      */

46     List JavaDoc listNonUserSelectedCatalogs() throws StoreException;
47
48
49     /**
50      *
51      */

52     List JavaDoc listUserSelectedCatalogs() throws StoreException;
53
54
55     /**
56      *
57      */

58     void reloadCatalogs() throws StoreException;
59
60
61     /**
62      * @param inBlank
63      */

64     void saveCatalog(Category inBlank) throws StoreException;
65
66
67     public List JavaDoc getImageList() throws StoreException;
68
69     public List JavaDoc getImageList(String JavaDoc inType) throws StoreException;
70
71
72     public PropertyDetails getCatalogDetails() throws StoreException;
73
74     public void setStore( Store inStore);
75
76 }
77
Popular Tags