| org.objectweb.salome_tmf.api.sql.ISQLTestList
All known Subclasses: org.objectweb.salome_tmf.soap.SQLTestListSoapBindingStub, org.objectweb.salome_tmf.databaseSQL.SQLTestList,
ISQLTestList | public interface ISQLTestList extends Remote(Code) | | |
Method Summary | |
public int | addAttachFile(int idSuite, SalomeFileWrapper f, String description) | public int | addAttachUrl(int idSuite, String url, String description) | public void | delete(int idSuite) | public void | delete(int idSuite, boolean reorder) | public void | deleteAllAttach(int idSuite) | public void | deleteAttach(int idSuite, int idAttach) | public FileAttachementWrapper[] | getAllAttachFiles(int idSuite) | public UrlAttachementWrapper[] | getAllAttachUrls(int idSuite) | public AttachementWrapper[] | getAllAttachemnt(int idSuite) | public int | getID(int idFamily, String name) | public int | getNumberOfTest(int idSuite) | public TestWrapper | getTestByOrder(int idSuite, int order) | public SuiteWrapper | getTestList(int idSuite) | public TestWrapper[] | getTestsWrapper(int idSuite) | public int | insert(int idFamily, String name, String description) | public void | update(int idSuite, String name, String description) | public int | updateOrder(int idSuite, boolean increment) |
addAttachFile | public int addAttachFile(int idSuite, SalomeFileWrapper f, String description) throws Exception(Code) | | Attach a file to the TestList identified by idSuite (Table SUITE_ATTACHEMENT)
Parameters: idSuite - 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 idSuite, String url, String description) throws Exception(Code) | | Attach an Url to the TestList identified by idSuite (Table SUITE_ATTACHEMENT)
Parameters: idSuite - 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 idSuite) throws Exception(Code) | | Delete the TestList identified by idSuite in the database
then all attachments and all tests in the testlist, and reoder the other testlist in the family
Parameters: idSuite - throws: Exception - See Also: ISQLTest.delete(int) See Also: need permission canDeleteTest (do a special allow) |
delete | public void delete(int idSuite, boolean reorder) throws Exception(Code) | | Delete the TestList identified by idSuite in the database
then all attachments and all tests in the testlist, and reoder the other testlist in the family if reorder = true
Parameters: idSuite - Parameters: reorder - re-order testlist in the family throws: Exception - See Also: ISQLTest.delete(int) See Also: need permission canDeleteTest (do a special allow) |
deleteAllAttach | public void deleteAllAttach(int idSuite) throws Exception(Code) | | Delete all attchements of the TestList identified by idSuite
Parameters: idSuite - throws: Exception - no permission needed |
deleteAttach | public void deleteAttach(int idSuite, int idAttach) throws Exception(Code) | | Delete an attchement idAttach of the TestList identified by idSuite
Parameters: idSuite - Parameters: idAttach - throws: Exception - See Also: ISQLAttachment.delete(int) See Also: no permission needed |
getAllAttachFiles | public FileAttachementWrapper[] getAllAttachFiles(int idSuite) throws Exception(Code) | | Get an Array of FileAttachementWrapper for the testlist identified by idSuite
Parameters: idSuite - : id of the testlist throws: Exception - |
getAllAttachUrls | public UrlAttachementWrapper[] getAllAttachUrls(int idSuite) throws Exception(Code) | | Get an Array of UrlAttachementWrapper for the testlist identified by idSuite
Parameters: idSuite - : id of the testlist throws: Exception - |
getAllAttachemnt | public AttachementWrapper[] getAllAttachemnt(int idSuite) throws Exception(Code) | | Get an Array of AttachementWrapper (FileAttachementWrapper, UrlAttachementWrapper)
for the testlist identified by idSuite
Parameters: testId - : id of the test throws: Exception - |
getID | public int getID(int idFamily, String name) throws Exception(Code) | | Get the id of the TestList name in the family idFamily
Parameters: idFamily - Parameters: name - throws: Exception - |
getNumberOfTest | public int getNumberOfTest(int idSuite) throws Exception(Code) | | Get the number of test in the TestList identified by idSuite
Parameters: idSuite - throws: Exception - |
getTestByOrder | public TestWrapper getTestByOrder(int idSuite, int order) throws Exception(Code) | | Get TestWrapper representing the test at order in the TestList identified by idSuite
Parameters: idSuite - Parameters: order - throws: Exception - |
getTestList | public SuiteWrapper getTestList(int idSuite) throws Exception(Code) | | Get SuiteWrapper representing the TestList identified by idSuite
Parameters: idSuite - throws: Exception - |
getTestsWrapper | public TestWrapper[] getTestsWrapper(int idSuite) throws Exception(Code) | | Get an Array of TestWrapper (ManualTestWrapper or AutomaticTestWrapper)
representing all tests in the suite identified by idSuite
Parameters: idSuite - throws: Exception - |
insert | public int insert(int idFamily, String name, String description) throws Exception(Code) | | Insert a TestList for the family idFamily
Parameters: idFamily - Parameters: name - of the TestList Parameters: description - of the TestList the id of the new TestList throws: Exception - need permission canCreateTest |
update | public void update(int idSuite, String name, String description) throws Exception(Code) | | Update the name and the description of the TestList identified by idSuite
Parameters: idSuite - Parameters: name - Parameters: description - throws: Exception - need permission canUpdateTest |
updateOrder | public int updateOrder(int idSuite, boolean increment) throws Exception(Code) | | Increment or decrement the order of the TestList identified by idSuite in the Family
Then, reorder other estList to preserve a correct order
Parameters: idSuite - Parameters: increment - true (+1) or false (-1) the new order throws: Exception - no permission needed |
|
|