01: package org.objectweb.salome_tmf.api.sql;
02:
03: import java.rmi.Remote;
04:
05: public interface ISQLEngine extends Remote {
06:
07: public boolean isClose() throws Exception;
08:
09: public void close() throws Exception;
10:
11: public boolean isLock() throws Exception;
12:
13: //public void lockAll() throws Exception;
14: public void lockTPlan() throws Exception;
15:
16: //public void unLockAll() throws Exception;
17: public void unLockTPlan() throws Exception;
18:
19: public int beginTransDB(int lock_code, int type) throws Exception;
20:
21: public void commitTransDB(int type) throws Exception;
22:
23: public void rollForceBackTransDB(int type) throws Exception;
24:
25: public void addSQLLoackRead(String table) throws Exception;
26:
27: public void addSQLLoackWrite(String table) throws Exception;
28:
29: public void setConnexionInfo(int _projectID, int _personneID)
30: throws Exception;
31:
32: public int getProjectID() throws Exception;
33:
34: public int getPersonneID() throws Exception;
35: }
|