Java Doc for SQLExecutionResult.java in  » Test-Coverage » salome-tmf » org » objectweb » salome_tmf » databaseSQL » 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 » org.objectweb.salome_tmf.databaseSQL 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.objectweb.salome_tmf.databaseSQL.SQLExecutionResult

SQLExecutionResult
public class SQLExecutionResult implements ISQLExecutionResult(Code)




Method Summary
public  intaddAttachFile(int idExecRes, SalomeFileWrapper file, String description)
    
public  intaddAttachUrl(int idExecRes, String url, String description)
    
public  voiddelete(int idResExec)
    
public  voiddeleteAllAttach(int idResExec)
    
public  voiddeleteAttach(int idResExec, int idAttach)
    
public  TestAttachmentWrapper[]getAllAttachTestInExecutionResult(int idResExec)
    
public  FileAttachementWrapper[]getAttachFiles(int idResExec)
    
public  UrlAttachementWrapper[]getAttachUrls(int idResExec)
    
public  AttachementWrapper[]getAttachs(int idResExec)
    
public  ExecutionResultTestWrapper[]getExecutionResultTestWrapper(int idResExec)
    
public  intgetID(int idExec, String name)
    
public  intgetNumberOfFail(int idResExec)
    
public  intgetNumberOfInc(int idResExec)
    
public  intgetNumberOfPass(int idResExec)
    
 intgetNumberOfResult(int idResExec, String type)
    
public  StringgetTestResultInExecution(int idResExec, int idTest)
    
public  ExecutionResultWrappergetWrapper(int idResExec)
    
public  intinsert(int idExec, String name, String description, String status, String result, int idUser)
    
public  voidupdate(int idResExec, String description, String status, String result, int idUser)
    
public  voidupdateUserRef(int idExec, int oldIdUser, int newIdUser)
    



Method Detail
addAttachFile
public int addAttachFile(int idExecRes, SalomeFileWrapper file, String description) throws Exception(Code)
Attach a file to the Execution Result : idExecRes (table ENV_ATTACHEMENT)
Parameters:
  idExecRes -
Parameters:
  file -
Parameters:
  description - of the file the Id of the attachment in the table ATTACHEMENT
throws:
  Exception -
See Also:    ISQLFileAttachment.insert(File, String)
See Also:   no permission needed



addAttachUrl
public int addAttachUrl(int idExecRes, String url, String description) throws Exception(Code)
Attach an Url to the Execution Result : idExecRes (table ENV_ATTACHEMENT)
Parameters:
  idExecRes -
Parameters:
  url -
Parameters:
  description - of the url the Id of the attachment in the table ATTACHEMENT
throws:
  Exception -
See Also:    ISQLUrlAttachment.insert(String, String)
See Also:   no permission needed



delete
public void delete(int idResExec) throws Exception(Code)
Delete the Execution Result identified by idExecRes in table RES_EXEC_CAMP Then delete all attachements, and related Test and Action execution result
Parameters:
  idResExec -
throws:
  Exception -
See Also:    ISQLExecutionTestResult.deleteAllFrom(int)
See Also:   need permission canExecutCamp



deleteAllAttach
public void deleteAllAttach(int idResExec) throws Exception(Code)
Delete all attchements of the Execution Result identified by idExecRes
Parameters:
  idResExec -
throws:
  Exception - no permission needed



deleteAttach
public void deleteAttach(int idResExec, int idAttach) throws Exception(Code)
Delete an attchement idAttach of the Execution Result identified by idExecRes
Parameters:
  idResExec -
Parameters:
  idAttach -
throws:
  Exception -
See Also:    ISQLAttachment.delete(int)
See Also:   no permission needed



getAllAttachTestInExecutionResult
public TestAttachmentWrapper[] getAllAttachTestInExecutionResult(int idResExec) throws Exception(Code)
Get an Array of TestAttachmentWrapper
Parameters:
  idResExec -
throws:
  Exception -



getAttachFiles
public FileAttachementWrapper[] getAttachFiles(int idResExec) throws Exception(Code)
Get a vector of FileAttachementWrapper representing the files attachment of the Execution Result identified by idExecRes
Parameters:
  idResExec -
throws:
  Exception -



getAttachUrls
public UrlAttachementWrapper[] getAttachUrls(int idResExec) throws Exception(Code)
Get a vector of UrlAttachementWrapper representing the Urls attachment of the Execution Result identified by idExecRes
Parameters:
  idResExec -
throws:
  Exception -



getAttachs
public AttachementWrapper[] getAttachs(int idResExec) throws Exception(Code)
Get a vector of all attachments (AttachementWrapper, File or Url) of the Execution Result identified by idExecRes
Parameters:
  idResExec -
throws:
  Exception -



getExecutionResultTestWrapper
public ExecutionResultTestWrapper[] getExecutionResultTestWrapper(int idResExec) throws Exception(Code)
Get an Array of ExcutionResultTestWrapper included in the ExecutionResult identifed by idResExec
Parameters:
  idResExec -
throws:
  Exception -



getID
public int getID(int idExec, String name) throws Exception(Code)
Get the id of the Execution Result identified by name in the Excecution idExec
Parameters:
  idExec -
Parameters:
  name -
throws:
  Exception -



getNumberOfFail
public int getNumberOfFail(int idResExec) throws Exception(Code)

Parameters:
  idResExec - The number of test FAIL (ApiConstants.FAIL, and FAILED in the databse) in the execution result



getNumberOfInc
public int getNumberOfInc(int idResExec) throws Exception(Code)

Parameters:
  idResExec - The number of test FAIL (ApiConstants.UNKNOWN, and INCONCLUSIF in the databse) in the execution result



getNumberOfPass
public int getNumberOfPass(int idResExec) throws Exception(Code)

Parameters:
  idResExec - The number of test FAIL (ApiConstants.SUCCESS, and PASSED in the databse) in the execution result



getNumberOfResult
int getNumberOfResult(int idResExec, String type) throws Exception(Code)



getTestResultInExecution
public String getTestResultInExecution(int idResExec, int idTest) throws Exception(Code)
Get the status of the execution of the tests idTest in the execution result idResExec
Parameters:
  idResExec -
Parameters:
  idTest -
throws:
  Exception -



getWrapper
public ExecutionResultWrapper getWrapper(int idResExec) throws Exception(Code)
Get an ExecutionResultWrapper representing the ExecutionResult identifed by idResExec
Parameters:
  idResExec -
throws:
  Exception -



insert
public int insert(int idExec, String name, String description, String status, String result, int idUser) throws Exception(Code)
Insert an Execution Result in the database (table RES_EXEC_CAMP)
Parameters:
  idExec - : id of the related execution
Parameters:
  name - of the Execution Result
Parameters:
  description - of the Execution Result
Parameters:
  status - (FAIT, A_FAIRE)
Parameters:
  result - (INCOMPLETE, STOPPEE, TERMINEE)
Parameters:
  idUser - the id of the Execution Result in the table RES_EXEC_CAMP
throws:
  Exception - canExecutCampneed permission



update
public void update(int idResExec, String description, String status, String result, int idUser) throws Exception(Code)
Update the data of the Execution Result identified by idExecRes
Parameters:
  idResExec -
Parameters:
  description -
Parameters:
  status - (FAIT, A_FAIRE)
Parameters:
  result - (INCOMPLETE, STOPPEE, TERMINEE)
Parameters:
  idUser -
throws:
  Exception - need permission canExecutCamp



updateUserRef
public void updateUserRef(int idExec, int oldIdUser, int newIdUser) throws Exception(Code)
replace all reference of user oldIdUser by newIdUser in the table (RES_EXEC_CAMP) where execution is idExec
Parameters:
  oldIdUser -
Parameters:
  newIdUser -
throws:
  Exception - no permission needed



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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