Java Doc for MantisConnector.java in  » Test-Coverage » salome-tmf » salomeTMF_plug » mantis » sqlWrapper » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Test Coverage » salome tmf » salomeTMF_plug.mantis.sqlWrapper 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


salomeTMF_plug.mantis.sqlWrapper.MantisConnector

All known Subclasses:   salomeTMF_plug.mantis.sqlWrapper.SQLMantis,
MantisConnector
public interface MantisConnector (Code)




Method Summary
public  voidaddDefaultEnvToProject(int bugProjectID)
    
public  intaddDefect(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  voidaddDefectLink(int bugUsrID, int bugSource, int bugDest)
    
public  voidaddEnvironment(String name, String description, int bugProjectID)
    
public  voidaddEnvironment(Environment environment, int bugProjectID)
    
public  intaddProject(Project project)
    
public  intaddUser(User pUser)
    
public  voidaddUserInProject(int bugUsrID, int bugProjectID, int access_level)
    
public  voiddeleteDefect(int bugProjectID, int bugID)
    
public  voiddeleteDefectLink(int userID, int bugSource, int bugDest)
    
public  voiddeleteEnvironment(String environment, int bugProjectID)
    
public  VectorgetBugHistory(int bugProjectID, int bugID)
    
public  VectorgetBugTrackerAllUsers(int bugProjectID)
    
public  DefectWrappergetDefectInfo(int bugID)
    
public  HashtablegetDefectLink(int bugProjectID, int bugID)
    
public  HashtablegetProjectDefects(int bugProjectID)
    
public  intgetProjectID(String project_name)
    
public  intgetUserAccesLevel(int bugUsrID, int bugProjectID)
    
public  intgetUserID(String user_login)
    
public  intgetUserIDInProject(String user_login, int bugProjectID)
    
public  voidinitConnector(String driver, String url_db, String user, String pwd)
    
public  booleanisExistEnv(int bugProjectID, String envName)
    
public  voidsuspend()
    
public  voidupdateDefect(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  voidupdateEnvironment(String old_component, String new_component, String description, int bugProjectID)
    



Method Detail
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)



getDefectInfo
public DefectWrapper getDefectInfo(int bugID) throws Exception(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 -



getProjectDefects
public Hashtable getProjectDefects(int bugProjectID) throws Exception(Code)



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 -



initConnector
public void initConnector(String driver, String url_db, String user, String pwd) throws Exception(Code)



isExistEnv
public boolean isExistEnv(int bugProjectID, String envName) throws Exception(Code)



suspend
public void suspend() throws Exception(Code)



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 -



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.