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


org.objectweb.salome_tmf.api.sql.ISQLScript

All known Subclasses:   org.objectweb.salome_tmf.soap.SQLScriptSoapBindingStub,  org.objectweb.salome_tmf.databaseSQL.SQLScript,
ISQLScript
public interface ISQLScript extends Remote(Code)




Method Summary
public  voidaddAttach(int scriptId, int attachId)
    
public  voiddelete(int idScript)
    
public  SalomeFileWrappergetFile(int idScript)
    
public  intgetLastIdAttach()
    
public  intgetScriptIdAttach(int idScript)
    
public  intinsert(String name, String arg1, String extension, String type)
    
public  intinsert(String name, String arg1, String extension, String type, int idEnv)
    
public  intinsert(int idExec, String name, String arg1, String extension, String type)
    
public  voidupdate(int idScript, String filePath)
    
public  voidupdate(int idScript, SalomeFileWrapper file)
    
public  voidupdateContent(int idScript, String filePath)
    
public  voidupdateDate(int idScript, Date date)
    
public  voidupdateLength(int idScript, long length)
    
public  voidupdateName(int idScript, String name)
    
public  voidupdatePlugArg(int idScript, String arg)
    



Method Detail
addAttach
public void addAttach(int scriptId, int attachId) throws Exception(Code)
Map the attachment attachId to the script scriptId in the table SCRIPT_ATTACHEMENT
Parameters:
  scriptId -
Parameters:
  attachId -
throws:
  Exception -



delete
public void delete(int idScript) throws Exception(Code)
Delete the script and mapped file in the tables ( SCRIPT, SCRIPT_ATTACHEMENT, ATTACHEMENT)
Parameters:
  idScript -
Parameters:
  idAttach -
throws:
  Exception -
See Also:    ISQLAttachment().delete(int)



getFile
public SalomeFileWrapper getFile(int idScript) throws Exception(Code)

Parameters:
  idScript - : id of the script in the database a SalomeFileWrapper attached to the script
throws:
  Exception -
See Also:    ISQLFileAttachment.getFile(int)



getLastIdAttach
public int getLastIdAttach() throws Exception(Code)
the last id of an attachment in the table SCRIPT_ATTACHEMENT
throws:
  Exception -



getScriptIdAttach
public int getScriptIdAttach(int idScript) throws Exception(Code)

Parameters:
  idScript - : id of the script in the database the id of the attachment mapped to the script in the database
throws:
  Exception -



insert
public int insert(String name, String arg1, String extension, String type) throws Exception(Code)
Insert a new script in the table SCRIPT (No attachment are mapped)
Parameters:
  name - : the name of the script
Parameters:
  arg1 - : argument 1 of the script (free use for plug-in)
Parameters:
  extension - : argument 2 of the script (plugin extension)
Parameters:
  type - : type of the script (ApiConstants.TEST_SCRIPT, ApiConstants.INIT_SCRIPT, ApiConstants.PRE_SCRIPT, ApiConstants.POST_SCRIPT) the id of the new Script
throws:
  Exception -



insert
public int insert(String name, String arg1, String extension, String type, int idEnv) throws Exception(Code)
Insert a new script in the table SCRIPT (No attachment are mapped) for an Environnement
Parameters:
  name - : the name of the script
Parameters:
  arg1 - : argument 1 of the script (free use for plug-in)
Parameters:
  extension - : argument 2 of the script (plugin extension)
Parameters:
  type - : type of the script
Parameters:
  idEnv - : id of the Environnement mapped with the script(ApiConstants.TEST_SCRIPT, ApiConstants.INIT_SCRIPT, ApiConstants.PRE_SCRIPT, ApiConstants.POST_SCRIPT) the id of the new Script
throws:
  Exception -



insert
public int insert(int idExec, String name, String arg1, String extension, String type) throws Exception(Code)
Insert a new script in the table SCRIPT (No attachment are mapped) for an EXECUTION
Parameters:
  name - : the name of the script
Parameters:
  arg1 - : argument 1 of the script (free use for plug-in)
Parameters:
  extension - : argument 2 of the script (plugin extension)
Parameters:
  type - : type of the script
Parameters:
  idEnv - : id of the Environnement mapped with the script(ApiConstants.TEST_SCRIPT, ApiConstants.INIT_SCRIPT, ApiConstants.PRE_SCRIPT, ApiConstants.POST_SCRIPT) the id of the new Script
throws:
  Exception -



update
public void update(int idScript, String filePath) throws Exception(Code)
Update the script attachement (content, date size, and name) In Database
Parameters:
  idScript -
Parameters:
  filePath -
throws:
  Exception -
See Also:    ISQLFileAttachment.updateFile(int, File);
See Also:   no permission needed



update
public void update(int idScript, SalomeFileWrapper file) throws Exception(Code)
Update the script attachement (content, date size, and name) In Database
Parameters:
  idScript -
Parameters:
  File -
throws:
  Exception -
See Also:    ISQLFileAttachment.updateFile(int, File);
See Also:   no permission needed



updateContent
public void updateContent(int idScript, String filePath) throws Exception(Code)
Update the conetent of the script id with the content of the file with path filePath
Parameters:
  idScript -
Parameters:
  filePath -
throws:
  Exception -
See Also:    ISQLFileAttachment.updateFileContent(int,BufferedInputStream);
See Also:   no permission needed



updateDate
public void updateDate(int idScript, Date date) throws Exception(Code)
Update the date of the script idScript in the database
Parameters:
  idScript -
Parameters:
  date -
throws:
  Exception - no permission needed



updateLength
public void updateLength(int idScript, long length) throws Exception(Code)
Update the length of the script idScript in the database
Parameters:
  idScript -
Parameters:
  length -
throws:
  Exception - no permission needed



updateName
public void updateName(int idScript, String name) throws Exception(Code)
Update the Script name the table SCRIPT and ATTACHEMENT
Parameters:
  idScript -
Parameters:
  name -
throws:
  Exception -
See Also:    ISQLFileAttachment.updateFileName(int, String);
See Also:   no permission needed



updatePlugArg
public void updatePlugArg(int idScript, String arg) throws Exception(Code)
Update the argument reserved for plugin in the script idScript in the database
Parameters:
  idScript -
Parameters:
  arg -
throws:
  Exception - no permission needed



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