01: /*
02: * Created on 2006.4.26
03: *
04: */
05: package org.enhydra.snapperAdmin.spec;
06:
07: import java.util.Hashtable;
08: import java.util.List;
09:
10: import org.enhydra.snapperAdmin.spec.FileType;
11:
12: /**
13: * @author lola
14: *
15: */
16: public interface DocumentGroup {
17:
18: public List getListOfDocumentGroup() throws Exception;
19:
20: public FileType[] getListOfFILETYPES(String groupName)
21: throws Exception;
22:
23: public FileType[] getListOfAllFILETYPES() throws Exception;
24:
25: public void addDocumentGroup(String groupName, FileType[] ft);
26:
27: public void updateDocumentGroup(String groupName, FileType[] ft);
28:
29: public void removeDocumentGroup(String groupName);
30:
31: public void addFileType(FileType ft);
32:
33: public void removeFileType(String ext);
34:
35: public void updateFileType(String ext, FileType ft);
36:
37: public boolean isDefaultDocGroup();
38:
39: public void setIsDefaultDocGroup(boolean is);
40:
41: }
|