Java Doc for SQLRequirement.java in  » Test-Coverage » salome-tmf » salomeTMF_plug » requirements » 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.requirements.sqlWrapper 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   salomeTMF_plug.requirements.sqlWrapper.SQLRequirement

SQLRequirement
public class SQLRequirement implements ISQLRequirement(Code)


Field Summary
 intidPersonne
    


Method Summary
public  intadd(String name, String description, int req_type, int id_parent, int id_project, int priority)
    
public  intaddAttachFile(int idReq, SalomeFileWrapper f, String description)
    
public  intaddAttachUrl(int idReq, String url, String description)
    
protected  voidaddHistory(int idReq, int idUser, int code, String valeur)
    
public  voidaddReqConvert(int idReq, int idTest)
    
public  voiddeleteAllAttach(int idReq)
    
protected  voiddeleteAllHistory(int idReq)
    
protected  voiddeleteAllReference(int idReq)
    
protected  voiddeleteAllReqActionCover(int idReq)
    
public  voiddeleteAllReqCover(int idReq)
    
public  voiddeleteAllTestCover(int idTest)
    
public  voiddeleteAttach(int idReq, int attachId)
    
protected  voiddeleteAttach(int idReq, int attachId, boolean history)
    
public  voiddeleteCover(int idReq, int idTest)
    
public  voiddeleteProjectReq(int idProject)
    
public  voiddeleteReq(int idReq)
    
public  FileAttachementWrapper[]getAllAttachFiles(int idReq)
    
public  UrlAttachementWrapper[]getAllAttachUrls(int idReq)
    
public  AttachementWrapper[]getAllAttachemnt(int idReq)
    
public  ReqWrapper[]getCoveredReq(int idProject)
    
protected  DategetCurrentDate()
    
public  ReqWrapper[]getFistChildInReqFamily(int idReq)
    
public  HistoryWrapper[]getHistory(int idReq)
    
public  ReqWrapper[]getProjectRequirementByType(int idProject, int type)
    
public  ReqWrapper[]getProjectRequirements(int idProject)
    
public  ReqWrappergetReq(String name, int id_parent, int id_project)
    
public  ReqWrappergetReqById(int idReq)
    
public  ReqWrapper[]getReqCoveredByResExecAndStatus(int idExec, String satus)
    
public  ReqWrapper[]getReqCoveredByTest(int idTest)
    
public  ReqWrapper[]getReqWrapperCoveredByCamp(int idCamp)
    
public  TestWrapper[]getTestCoveredForReq(int idReq)
    
public  booleanisReqReqCoveredByTest(int idReq, int idTest)
    
protected  voidsimpleDeleteReq(int idReq)
    
public  voidupdateCat(int idReq, int cat)
    
public  voidupdateComplexe(int idReq, int comp)
    
public  voidupdateDescription(int idReq, String newdescription)
    
public  voidupdateInfo(int idReq, String _version, String _origine, String _verif, String _reference)
    
public  voidupdateName(int idReq, String newName, int id_parent, int idProjet)
    
public  voidupdateOrigine(int idReq, String org)
    
public  voidupdateParent(int idReq, int idParent)
    
public  voidupdatePriority(int idReq, int priority)
    
public  voidupdateReference(int idReq, String reference)
    
public  voidupdateState(int idReq, int state)
    
public  voidupdateVerif(int idReq, String verif)
    
public  voidupdateVersion(int idReq, String version)
    

Field Detail
idPersonne
int idPersonne(Code)





Method Detail
add
public int add(String name, String description, int req_type, int id_parent, int id_project, int priority) throws Exception(Code)
Insert a requirments in database
Parameters:
  name -
Parameters:
  description -
Parameters:
  req_type - : 1 for requirement or 0 for requirement set
Parameters:
  id_parent -
Parameters:
  id_project - the id of the requirment
throws:
  Exception -



addAttachFile
public int addAttachFile(int idReq, SalomeFileWrapper f, String description) throws Exception(Code)
Attach a file attach to a test in table ATTACHEMENT and reference in table REQ_ATTACHEMENT
Parameters:
  idReq - : id of the requirement
Parameters:
  f - : the file
Parameters:
  description - of the file the id of the attachment in the table ATTACHEMENT
throws:
  Exception -



addAttachUrl
public int addAttachUrl(int idReq, String url, String description) throws Exception(Code)
Attach a url to a test in table ATTACHEMENT and reference in table REQ_ATTACHEMENT
Parameters:
  idReq - : id of the requirement
Parameters:
  url -
Parameters:
  description - of the url the id of the attachment in the table ATTACHEMENT
See Also:    ISQLUrlAttachment.insert(String, String);
throws:
  Exception -



addHistory
protected void addHistory(int idReq, int idUser, int code, String valeur) throws Exception(Code)
Add History when a requiremnt change (create, update, deleted)
Parameters:
  idReq -
Parameters:
  idUser -
Parameters:
  code -
Parameters:
  valeur -



addReqConvert
public void addReqConvert(int idReq, int idTest) throws Exception(Code)



deleteAllAttach
public void deleteAllAttach(int idReq) throws Exception(Code)
Delete all attachment in table (REQ_ATTACHEMENT and ATTACHEMENT) for the test
Parameters:
  idReq - : id of the requirement
throws:
  Exception -
See Also:    deleteAttach(int, int)
See Also:   no permission needed



deleteAllHistory
protected void deleteAllHistory(int idReq) throws Exception(Code)
History ************************************************



deleteAllReference
protected void deleteAllReference(int idReq) throws Exception(Code)



deleteAllReqActionCover
protected void deleteAllReqActionCover(int idReq) throws Exception(Code)



deleteAllReqCover
public void deleteAllReqCover(int idReq) throws Exception(Code)



deleteAllTestCover
public void deleteAllTestCover(int idTest) throws Exception(Code)



deleteAttach
public void deleteAttach(int idReq, int attachId) throws Exception(Code)
Delete attachement for the test and the attachement (tables REQ_ATTACHEMENT, ATTACHEMENT)
Parameters:
  idReq - : id of the requirement
Parameters:
  attachId - : id of the attachment
throws:
  Exception -
See Also:    ISQLAttachment.delete(int)
See Also:   no permission needed



deleteAttach
protected void deleteAttach(int idReq, int attachId, boolean history) throws Exception(Code)



deleteCover
public void deleteCover(int idReq, int idTest) throws Exception(Code)



deleteProjectReq
public void deleteProjectReq(int idProject) throws Exception(Code)



deleteReq
public void deleteReq(int idReq) throws Exception(Code)



getAllAttachFiles
public FileAttachementWrapper[] getAllAttachFiles(int idReq) throws Exception(Code)
Get a Vector of FileAttachementWrapper for the requirement identified by idreq
Parameters:
  idReq - : id of the requirement
throws:
  Exception -



getAllAttachUrls
public UrlAttachementWrapper[] getAllAttachUrls(int idReq) throws Exception(Code)
Get a Vector of UrlAttachementWrapper for the requirement identified by idReq
Parameters:
  idReq - : id of the requirement
throws:
  Exception -



getAllAttachemnt
public AttachementWrapper[] getAllAttachemnt(int idReq) throws Exception(Code)
Get a Vector of AttachementWrapper (FileAttachementWrapper, UrlAttachementWrapper) for the requirement identified by idReq
Parameters:
  idReq - : id of the requirement
throws:
  Exception -



getCoveredReq
public ReqWrapper[] getCoveredReq(int idProject) throws Exception(Code)



getCurrentDate
protected Date getCurrentDate()(Code)



getFistChildInReqFamily
public ReqWrapper[] getFistChildInReqFamily(int idReq) throws Exception(Code)



getHistory
public HistoryWrapper[] getHistory(int idReq) throws Exception(Code)



getProjectRequirementByType
public ReqWrapper[] getProjectRequirementByType(int idProject, int type) throws Exception(Code)



getProjectRequirements
public ReqWrapper[] getProjectRequirements(int idProject) throws Exception(Code)



getReq
public ReqWrapper getReq(String name, int id_parent, int id_project) throws Exception(Code)



getReqById
public ReqWrapper getReqById(int idReq) throws Exception(Code)



getReqCoveredByResExecAndStatus
public ReqWrapper[] getReqCoveredByResExecAndStatus(int idExec, String satus) throws Exception(Code)



getReqCoveredByTest
public ReqWrapper[] getReqCoveredByTest(int idTest) throws Exception(Code)



getReqWrapperCoveredByCamp
public ReqWrapper[] getReqWrapperCoveredByCamp(int idCamp) throws Exception(Code)



getTestCoveredForReq
public TestWrapper[] getTestCoveredForReq(int idReq) throws Exception(Code)



isReqReqCoveredByTest
public boolean isReqReqCoveredByTest(int idReq, int idTest) throws Exception(Code)



simpleDeleteReq
protected void simpleDeleteReq(int idReq) throws Exception(Code)



updateCat
public void updateCat(int idReq, int cat) throws Exception(Code)

Parameters:
  idReq -
Parameters:
  cat - 0 to 7
throws:
  Exception -



updateComplexe
public void updateComplexe(int idReq, int comp) throws Exception(Code)



updateDescription
public void updateDescription(int idReq, String newdescription) throws Exception(Code)



updateInfo
public void updateInfo(int idReq, String _version, String _origine, String _verif, String _reference) throws Exception(Code)



updateName
public void updateName(int idReq, String newName, int id_parent, int idProjet) throws Exception(Code)



updateOrigine
public void updateOrigine(int idReq, String org) throws Exception(Code)



updateParent
public void updateParent(int idReq, int idParent) throws Exception(Code)



updatePriority
public void updatePriority(int idReq, int priority) throws Exception(Code)



updateReference
public void updateReference(int idReq, String reference) throws Exception(Code)



updateState
public void updateState(int idReq, int state) throws Exception(Code)



updateVerif
public void updateVerif(int idReq, String verif) throws Exception(Code)



updateVersion
public void updateVersion(int idReq, String version) throws Exception(Code)



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.