| salomeTMF_plug.mantis.sqlWrapper.MantisConnector
All known Subclasses: salomeTMF_plug.mantis.sqlWrapper.SQLMantis,
MantisConnector | public interface MantisConnector (Code) | | |
Method Summary | |
public void | addDefaultEnvToProject(int bugProjectID) | public int | addDefect(int bugUsrID, int bugProjectID, int assigned_to_ID, String long_desc, String url_attach, String short_desc, String bug_OS, int bug_priority, String bug_platform, int bug_reproductibility, int bug_severity, String component) | public void | addDefectLink(int bugUsrID, int bugSource, int bugDest) | public void | addEnvironment(String name, String description, int bugProjectID) | public void | addEnvironment(Environment environment, int bugProjectID) | public int | addProject(Project project) | public int | addUser(User pUser) | public void | addUserInProject(int bugUsrID, int bugProjectID, int access_level) | public void | deleteDefect(int bugProjectID, int bugID) | public void | deleteDefectLink(int userID, int bugSource, int bugDest) | public void | deleteEnvironment(String environment, int bugProjectID) | public Vector | getBugHistory(int bugProjectID, int bugID) | public Vector | getBugTrackerAllUsers(int bugProjectID) | public DefectWrapper | getDefectInfo(int bugID) | public Hashtable | getDefectLink(int bugProjectID, int bugID) | public Hashtable | getProjectDefects(int bugProjectID) | public int | getProjectID(String project_name) | public int | getUserAccesLevel(int bugUsrID, int bugProjectID) | public int | getUserID(String user_login) | public int | getUserIDInProject(String user_login, int bugProjectID) | public void | initConnector(String driver, String url_db, String user, String pwd) | public boolean | isExistEnv(int bugProjectID, String envName) | public void | suspend() | public void | updateDefect(int bugUsrID, int bugProjectID, int bugID, int id_assigned_to, String long_desc, int id_bug_severity, int id_bug_satus, String short_desc, String bug_OS, int id_bug_priority, String bug_platform, String bug_env, int id_bug_reproducibility, int id_bug_resolution) | public void | updateEnvironment(String old_component, String new_component, String description, int bugProjectID) |
addDefaultEnvToProject | public void addDefaultEnvToProject(int bugProjectID) throws Exception(Code) | | Add default environnement name ___NO_ENV___ in the specified Mantis project
Parameters: bugProjectID - throws: Exception - |
addDefect | public int addDefect(int bugUsrID, int bugProjectID, int assigned_to_ID, String long_desc, String url_attach, String short_desc, String bug_OS, int bug_priority, String bug_platform, int bug_reproductibility, int bug_severity, String component) throws Exception(Code) | | |
addDefectLink | public void addDefectLink(int bugUsrID, int bugSource, int bugDest) throws Exception(Code) | | Add relation between defect bugSource <--> bugDest
Parameters: bugSource - Parameters: bugDest - throws: Exception - |
addEnvironment | public void addEnvironment(String name, String description, int bugProjectID) throws Exception(Code) | | Add Component in Mantis
Parameters: name - Parameters: description - Parameters: bugProjectID - throws: Exception - |
addEnvironment | public void addEnvironment(Environment environment, int bugProjectID) throws Exception(Code) | | Add Component in Mantis
Parameters: environment - Parameters: bugProjectID - throws: Exception - |
addProject | public int addProject(Project project) throws Exception(Code) | | Add project in mantis
Parameters: project - the new id of the project throws: Exception - |
addUser | public int addUser(User pUser) throws Exception(Code) | | Add user in the mantis with access_level = viewer
Parameters: pUser - Parameters: bugProjectID - the new user id in Mantis throws: Exception - |
addUserInProject | public void addUserInProject(int bugUsrID, int bugProjectID, int access_level) throws Exception(Code) | | Add user in the mantis project with specified access_level
Parameters: bugUsrID - Parameters: bugProjectID - Parameters: access_level - throws: Exception - |
deleteDefect | public void deleteDefect(int bugProjectID, int bugID) throws Exception(Code) | | Delete a bug (and all reference) from Mantis DB
Parameters: bugProjectID - Parameters: bugID - throws: Exception - |
deleteDefectLink | public void deleteDefectLink(int userID, int bugSource, int bugDest) throws Exception(Code) | | delete relation between defect bugSource <--> bugDest
Parameters: bugSource - Parameters: bugDest - throws: Exception - |
deleteEnvironment | public void deleteEnvironment(String environment, int bugProjectID) throws Exception(Code) | | Delete Component name environment and reference in Mantis DB
Parameters: environment - Parameters: bugProjectID - throws: Exception - |
getBugHistory | public Vector getBugHistory(int bugProjectID, int bugID) throws Exception(Code) | | Get a vector of HistoryWrapper represented bug History
Parameters: bugProjectID - Parameters: bugID - throws: Exception - |
getBugTrackerAllUsers | public Vector getBugTrackerAllUsers(int bugProjectID)(Code) | | |
getDefectLink | public Hashtable getDefectLink(int bugProjectID, int bugID) throws Exception(Code) | | Get a hashtable of defectwrapper representing all defects linked with bugID in the project bugProjectID
Parameters: bugProjectID - Parameters: bugID - throws: Exception - |
getProjectID | public int getProjectID(String project_name) throws Exception(Code) | | Parameters: project_name - ID of project_name in Mantis or -1 if not exist throws: Exception - |
getUserAccesLevel | public int getUserAccesLevel(int bugUsrID, int bugProjectID) throws Exception(Code) | | Parameters: bugUsrID - Parameters: bugProjectID - the acces level of the user bugUsrID in the project bugProjectID or -1 if not exist throws: Exception - |
getUserID | public int getUserID(String user_login) throws Exception(Code) | | Parameters: user_login - ID of user_login in Mantis or -1 if not exist throws: Exception - |
getUserIDInProject | public int getUserIDInProject(String user_login, int bugProjectID) throws Exception(Code) | | Parameters: user_login - Parameters: bugProjectID - throws: Exception - |
updateDefect | public void updateDefect(int bugUsrID, int bugProjectID, int bugID, int id_assigned_to, String long_desc, int id_bug_severity, int id_bug_satus, String short_desc, String bug_OS, int id_bug_priority, String bug_platform, String bug_env, int id_bug_reproducibility, int id_bug_resolution) throws Exception(Code) | | |
updateEnvironment | public void updateEnvironment(String old_component, String new_component, String description, int bugProjectID) throws Exception(Code) | | Update component name old_component with new_component and description (and reference)
Parameters: old_component - Parameters: new_component - Parameters: description - Parameters: bugProjectID - throws: Exception - |
|
|