| org.objectweb.salome_tmf.api.sql.ISQLDataset
All known Subclasses: org.objectweb.salome_tmf.soap.SQLDatasetSoapBindingStub, org.objectweb.salome_tmf.databaseSQL.SQLDataset,
ISQLDataset | public interface ISQLDataset extends Remote(Code) | | |
Method Summary | |
public void | addParamValue(int idDataset, int idParam, String value) | public void | delete(int idDataset) | public ValuedParameterWrapper[] | getDefinedParameters(int idDataSet) | public int | getID(int idCamp, String name) | public DataSetWrapper | getWrapper(int idDataSet) | public int | insert(int idCamp, String name, String description) | public void | update(int idDataset, String name, String description) | public void | updateParamValue(int idDataset, int idParam, String value, String description) |
addParamValue | public void addParamValue(int idDataset, int idParam, String value) throws Exception(Code) | | Map a value for the parameter idParam in the table VALEUR_PARAM
Parameters: idDataset - : id of the dataset in the table JEU_DONNEES Parameters: idParam - : id of the parameter in the table PARAM_TEST Parameters: value - throws: Exception - need permission canExecutCamp |
delete | public void delete(int idDataset) throws Exception(Code) | | Delete the dataset and all mapped values in the database
if the dataset is used by executions, the executions are deleted
Parameters: idDataset - : id of the dataset in table JEU_DONNEES throws: Exception - See Also: ISQLExecution.delete(int) See Also: need permission canExecutCamp |
getID | public int getID(int idCamp, String name) throws Exception(Code) | | Get the Id of the dataset identified by name for the campaign idCamp
Parameters: idCamp - Parameters: name - id of the dataset created in table JEU_DONNEES throws: Exception - |
getWrapper | public DataSetWrapper getWrapper(int idDataSet) throws Exception(Code) | | Get A DataSetWrapper representing the dataset idDataSet in database
Parameters: idDataSet - throws: Exception - |
insert | public int insert(int idCamp, String name, String description) throws Exception(Code) | | Insert a dataset (table JEU_DONNEES) for the campaign identified by idCamp
Parameters: idCamp - : id of the campaign wich will caontain the dataset Parameters: name - of the dataset Parameters: description - of the dataset id of the dataset created in table JEU_DONNEESneed permission canExecutCamp or canCreateCamp throws: Exception - |
update | public void update(int idDataset, String name, String description) throws Exception(Code) | | Update the name and the description of the dataset idDataset
Parameters: idDataset - : id of the dataset in table JEU_DONNEES Parameters: name - Parameters: description - need permission canExecutCamp throws: Exception - |
updateParamValue | public void updateParamValue(int idDataset, int idParam, String value, String description) throws Exception(Code) | | Update a value maped to the parameter idParam for the dataset idDataset
Parameters: idDataset - : id of the dataset in table JEU_DONNEES Parameters: idParam - Parameters: value - Parameters: description - throws: Exception - need permission canExecutCamp or canUpdateCamp |
|
|