01: package org.objectweb.salome_tmf.api.sql;
02:
03: import java.rmi.Remote;
04: import java.util.Hashtable;
05:
06: public interface ISQLConfig extends Remote {
07: public void insertSalomeConf(String key, String value)
08: throws Exception;
09:
10: public void insertUserConf(String key, String value, int idUser)
11: throws Exception;
12:
13: public void insertProjectConf(String key, String value,
14: int idProject) throws Exception;
15:
16: public void updateSalomeConf(String key, String value)
17: throws Exception;
18:
19: public void updateUserConf(String key, String value, int idUser)
20: throws Exception;
21:
22: public void updateProjectConf(String key, String value,
23: int idProject) throws Exception;
24:
25: public void deleteSalomeConf(String key) throws Exception;
26:
27: public void deleteUserConf(String key, int idUser) throws Exception;
28:
29: public void deleteProjectConf(String key, int idProject)
30: throws Exception;
31:
32: public void deleteAllUserConf(int idUser) throws Exception;
33:
34: public void deleteAllProjectConf(int idProject) throws Exception;
35:
36: public String getSalomeConf(String key) throws Exception;
37:
38: public String getUserConf(String key, int idUser) throws Exception;
39:
40: public String getProjectConf(String key, int idProject)
41: throws Exception;
42:
43: public Hashtable getAllSalomeConf() throws Exception;
44:
45: public Hashtable getAllUserConf(int idUser) throws Exception;
46:
47: public Hashtable getAllProjectConf(int idProject) throws Exception;
48: }
|