01: /*
02: * snapper
03: *
04: * Enhydra super-servlet specification object
05: *
06: */
07:
08: package org.enhydra.snapperAdmin.spec;
09:
10: import org.enhydra.snapperAdmin.spec.DocumentGroup;
11: import org.enhydra.snapperAdmin.spec.Site;
12:
13: public interface SiteList {
14:
15: public Site[] getList();
16:
17: public Site findSiteByName(String name);
18:
19: public void init(String confFilePath,
20: String documentGroupConfFilePath);
21:
22: public DocumentGroup getDefaultDocumentGroup();
23:
24: public void setDefaultDocumentGroup(DocumentGroup dg);
25:
26: public void write();
27:
28: public void deleteSite(String siteName);
29:
30: public void addSite(Site site);
31:
32: public void updateSite(Site site);
33: }
|