Java Doc for ISQLProject.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.ISQLProject

All known Subclasses:   org.objectweb.salome_tmf.soap.SQLProjectSoapBindingStub,  org.objectweb.salome_tmf.databaseSQL.SQLProject,
ISQLProject
public interface ISQLProject extends Remote(Code)




Method Summary
public  intaddAttachFile(int idProject, SalomeFileWrapper f, String description)
    
public  intaddAttachUrl(int idProject, String url, String description)
    
public  intcopyProject(String name, String description, int idAdmin, int idFromProject, boolean suite, boolean campagne, boolean users, boolean groupe)
    
public  voiddelete(int idProject, String name)
    
public  voiddeleteAllAttach(int idProject)
    
public  voiddeleteAttach(int idProject, int idAttach)
    
public  UserWrapper[]getAdminsOfProject(String projectName)
    
public  FileAttachementWrapper[]getAllAttachFiles(int idProject)
    
public  UrlAttachementWrapper[]getAllAttachUrls(int idProject)
    
public  AttachementWrapper[]getAllAttachemnt(int idProject)
    
public  ProjectWrapper[]getAllProjects()
    
public  UserWrapper[]getAllUser()
    
public  FamilyWrapper[]getFamily(int idProject)
    
public  FamilyWrappergetFamilyByOrder(int idProject, int order)
    
public  intgetNumberOfFamily(int idProject)
    
public  CampaignWrapper[]getPrjectCampaigns(int idProject)
    
public  ProjectWrappergetProject(String name)
    
public  EnvironmentWrapper[]getProjectEnvs(int idProject)
    
public  GroupWrapper[]getProjectGroups(int idProject)
    
public  ParameterWrapper[]getProjectParams(int idProject)
    
public  UserWrapper[]getUserOfGroupInProject(String projectName, String groupName)
    
public  UserWrapper[]getUsersOfProject(String projectName)
    
public  intinsert(String name, String description, int idAdmin)
    
public  voidupdate(int idProject, String newName, String newDesc)
    



Method Detail
addAttachFile
public int addAttachFile(int idProject, SalomeFileWrapper f, String description) throws Exception(Code)
Attach a file to the Project identified by idProject (Table PROJET_VOICE_TESTING_ATTACHEMENT )
Parameters:
  idProject -
Parameters:
  f - the 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 idProject, String url, String description) throws Exception(Code)
Attach an Url to the Project identified by idProject (Table PROJET_VOICE_TESTING_ATTACHEMENT )
Parameters:
  idProject -
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



copyProject
public int copyProject(String name, String description, int idAdmin, int idFromProject, boolean suite, boolean campagne, boolean users, boolean groupe) throws Exception(Code)
Create a project by copy information with an other project idFromProject
Parameters:
  name -
Parameters:
  description - : the description of the new project
Parameters:
  idAdmin - : the administator of the new project
Parameters:
  idFromProject - : the project where find the informations to create the new project
Parameters:
  suite - : true for copy tests information
Parameters:
  campagne - : true for copy campaigns information
Parameters:
  users - : true for copy users information
Parameters:
  groupe - : true for copy groups information
throws:
  Exception -



delete
public void delete(int idProject, String name) throws Exception(Code)
Delete a project in the database the delete
Parameters:
  idProject -
Parameters:
  name -
throws:
  Exception -



deleteAllAttach
public void deleteAllAttach(int idProject) throws Exception(Code)
Delete all attchements of the project identified by idProject
Parameters:
  idProject -
throws:
  Exception - no permission needed



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



getAdminsOfProject
public UserWrapper[] getAdminsOfProject(String projectName) throws Exception(Code)
Get an Array of UserWrapper representing all admins in the project projectName
Parameters:
  idProject -
throws:
  Exception -



getAllAttachFiles
public FileAttachementWrapper[] getAllAttachFiles(int idProject) throws Exception(Code)
Get an Array of FileAttachementWrapper for the project identified by idProject
Parameters:
  idProject - : id of the project
throws:
  Exception -



getAllAttachUrls
public UrlAttachementWrapper[] getAllAttachUrls(int idProject) throws Exception(Code)
Get an Array of UrlAttachementWrapper for the project identified by idProject
Parameters:
  idProject - : id of the project
throws:
  Exception -



getAllAttachemnt
public AttachementWrapper[] getAllAttachemnt(int idProject) throws Exception(Code)
Get an Array of AttachementWrapper (FileAttachementWrapper, UrlAttachementWrapper) for the project identified by idProject
Parameters:
  idProject - : id of the project
throws:
  Exception -



getAllProjects
public ProjectWrapper[] getAllProjects() throws Exception(Code)
Get an Array of ProjectWrapper representing all the project in the database
throws:
  Exception -



getAllUser
public UserWrapper[] getAllUser() throws Exception(Code)
Return an Array of UserWrapper representing all available User in Salome-TMF
throws:
  Exception -



getFamily
public FamilyWrapper[] getFamily(int idProject) throws Exception(Code)
Get an Array of FamilyWrapper representing all family defined in the project idProject
Parameters:
  idProject -
throws:
  Exception -



getFamilyByOrder
public FamilyWrapper getFamilyByOrder(int idProject, int order) throws Exception(Code)
Get a FamilyWrapper representing a family at order in the project identified by idProject
Parameters:
  idProject -
Parameters:
  order -
throws:
  Exception -



getNumberOfFamily
public int getNumberOfFamily(int idProject) throws Exception(Code)
Get the number of family in the project identified by idProject
Parameters:
  idProject -
throws:
  Exception -



getPrjectCampaigns
public CampaignWrapper[] getPrjectCampaigns(int idProject) throws Exception(Code)
Get an Array of CampaignWrapper representing the campaigns of the project idProject
Parameters:
  idProject -
throws:
  Exception -



getProject
public ProjectWrapper getProject(String name) throws Exception(Code)
Get a ProjectWrapper representing the project identified by name
Parameters:
  name -
throws:
  Exception -



getProjectEnvs
public EnvironmentWrapper[] getProjectEnvs(int idProject) throws Exception(Code)
Get an Array of EnvironmentWrapper representing the environnment of the project idProject
Parameters:
  idProject -
throws:
  Exception -



getProjectGroups
public GroupWrapper[] getProjectGroups(int idProject) throws Exception(Code)
Get an Array of GroupWrapper representing groups in the project idProject
Parameters:
  idProject -
throws:
  Exception -



getProjectParams
public ParameterWrapper[] getProjectParams(int idProject) throws Exception(Code)
Get an Array of ParameterWrapper for the project idProject
Parameters:
  idProject -
throws:
  Exception -



getUserOfGroupInProject
public UserWrapper[] getUserOfGroupInProject(String projectName, String groupName) throws Exception(Code)
Get an Array of UserWrapper representing all user in groupName in the project projectName
Parameters:
  idProject -
throws:
  Exception -



getUsersOfProject
public UserWrapper[] getUsersOfProject(String projectName) throws Exception(Code)
Get an Array of UserWrapper representing all the Users in the project projectName
Parameters:
  projectName -
throws:
  Exception -



insert
public int insert(String name, String description, int idAdmin) throws Exception(Code)
Insert a project in the DB and create default group and permission for the project
Parameters:
  name -
Parameters:
  description -
throws:
  Exception -



update
public void update(int idProject, String newName, String newDesc) throws Exception(Code)
Update project name and description in the database for the project idProject
Parameters:
  idProject -
Parameters:
  newName -
Parameters:
  newDesc -
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.