| 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 int | addAttachFile(int idProject, SalomeFileWrapper f, String description) | public int | addAttachUrl(int idProject, String url, String description) | public int | copyProject(String name, String description, int idAdmin, int idFromProject, boolean suite, boolean campagne, boolean users, boolean groupe) | public void | delete(int idProject, String name) | public void | deleteAllAttach(int idProject) | public void | deleteAttach(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 FamilyWrapper | getFamilyByOrder(int idProject, int order) | public int | getNumberOfFamily(int idProject) | public CampaignWrapper[] | getPrjectCampaigns(int idProject) | public ProjectWrapper | getProject(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 int | insert(String name, String description, int idAdmin) | public void | update(int idProject, String newName, String newDesc) |
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 - |
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 - |
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 - |
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 |
|
|