01: package com.sun.portal.search.admin.mbeans;
02:
03: import java.util.*;
04:
05: import com.sun.portal.admin.common.util.AdminUtil;
06: import com.sun.portal.admin.common.PSMBeanException;
07:
08: public interface DatabaseMBean {
09:
10: public static final String TYPE = AdminUtil.SEARCH_DATABASE_MBEAN_TYPE;
11:
12: public String getID();
13:
14: public ArrayList retrieveAll() throws PSMBeanException,
15: java.net.UnknownHostException;
16:
17: public Properties getAttributes(String name)
18: throws PSMBeanException, java.net.UnknownHostException;
19:
20: public void setAttributes(String name, Properties attributes)
21: throws PSMBeanException, java.net.UnknownHostException;
22:
23: public void deleteAttributes(String name, List attributes)
24: throws PSMBeanException, java.net.UnknownHostException;
25:
26: public void create(String name, Properties attributes)
27: throws PSMBeanException, java.net.UnknownHostException;
28:
29: public void reindex(String name) throws PSMBeanException,
30: java.net.UnknownHostException;
31:
32: public void purge(String name) throws PSMBeanException,
33: java.net.UnknownHostException;
34:
35: public void expire(String name) throws PSMBeanException,
36: java.net.UnknownHostException;
37:
38: public Boolean isStatisticsOld(String name)
39: throws PSMBeanException, java.net.UnknownHostException;
40:
41: public ArrayList getStatistics(String name, Boolean refresh)
42: throws PSMBeanException, java.net.UnknownHostException;
43:
44: }
|