DeleteOpenTMSDataSource deletes an OpenTMS Datasource. Parameters are provided through a hash table. The hashtable contains the following keys:
dataSourceName - the name of the data source
dataSourceType - the type of the data source; any defined database, e.g. MySQl
dataSourceServer - the name of the server, e.g. localhost or IP address
dataSourcePort - the port of the data source, e.g. 1433
dataSourceUser - the user of the data source, e.g. sa
dataSourcePassword - the name of the data source, e.g. folt
dataModel - either TMX or TBX depending on the data source
It returns:
vec.add(de.folt.constants.OpenTMSConstants.OpenTMS_ID_SUCCESS +"");
vec.add(dataSourceName + " successfully deleted!");
or
vec.add(de.folt.constants.OpenTMSConstants.OpenTMS_ID_FAILURE +"");
vec.add(ex.getMessage());
- Specified by:
execute in interface RPCMessage
- Parameters:
message - a hash table containing the message specific parameters
- Returns:
- a Vector containing the results of executing the method.
- See Also:
RPCMessage.execute(java.util.Hashtable)