Method Summary |
|
public void | addSQLLoackRead(String table) |
public void | addSQLLoackWrite(String table) |
public synchronized int | beginTransDB(int lock_code, int type) |
public static synchronized int | beginTransaction(int lock_code, int type) |
static boolean | canLock(int code) |
static boolean | canLock(int lock_code_todo, int lock_code_exist) |
public void | close() |
public static synchronized void | commitTrans(int id) |
public synchronized void | commitTransDB(int type) |
public static DataBase | getDb() |
public static int | getIdTrans() |
public int | getPersonneID() |
public int | getProjectID() |
static PreparedStatement | getSQLAddQuery(String queryName) |
static PreparedStatement | getSQLCommonQuery(String queryName) |
static PreparedStatement | getSQLDeleteQuery(String queryName) |
static PreparedStatement | getSQLSelectQuery(String queryName) |
static PreparedStatement | getSQLUpdateQuery(String queryName) |
static PreparedStatement | getStatement(String sql) |
static void | initDB(DataBase database) |
static void | initSQLEngine(DataBase database, boolean doLockOnQuery, String _SQLBase, int locktype) |
static void | insertApplicativeLock(int lock_code, int action_code) |
public boolean | isClose() |
public synchronized boolean | isLock() |
public boolean | isOpen() |
static boolean | isSpecialAllow() |
static boolean | lockApplicative(int lock_code, int action_code) |
static void | lockRead() |
static void | lockReadWrite(int lock_code, int action_code) |
public void | lockTPlan() |
static void | lockTestPlan() |
static void | lockWrite() |
public static synchronized void | rollBackTrans(int id) |
public synchronized void | rollBackTransDB(int type) |
public synchronized void | rollForceBackTransDB(int type) |
static synchronized int | runAddQuery(PreparedStatement prep) |
static synchronized int | runDeleteQuery(PreparedStatement prep) |
static synchronized ResultSet | runSelectQuery(PreparedStatement prep) |
static synchronized int | runUpdateQuery(PreparedStatement prep) |
public void | setConnexionInfo(int _projectID, int _personneID) |
public static void | setDb(DataBase db) |
public static void | setIdTrans(int idTrans) |
static void | setSpecialAllow(boolean special_allow) |
static void | unLock() |
static void | unLockApplicativeLock() |
public void | unLockTPlan() |