de.folt.rpc.messages
Class SupportMethodOpenTMS

java.lang.Object
  extended by de.folt.rpc.messages.SupportMethodOpenTMS
All Implemented Interfaces:
RPCMessage

public class SupportMethodOpenTMS
extends java.lang.Object
implements RPCMessage

Author:
Klemens Waldhör To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.

Constructor Summary
SupportMethodOpenTMS()
           
 
Method Summary
 java.util.Vector execute(java.util.Hashtable message)
          SupportMethodOpenTMS returns some support information.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SupportMethodOpenTMS

public SupportMethodOpenTMS()
Method Detail

execute

public java.util.Vector execute(java.util.Hashtable message)
SupportMethodOpenTMS returns some support information. Parameters are provided through a hash table. The hashtable contains the following keys:

method - the method to be called - either OpenTMSLanguages / OpenTMSShortLanguages / OpenTMSCharacterEncodings
It returns:

Vector retVec = com.araya.OpenTMS.Interface.supportMethods(message);

The result is vector of length number of information + 1 where the 0th element is 0 for success
OpenTMSLanguages - the supported OpenTMS languages, e.g. "de"
OpenTMSLanguages - the supported OpenTMS long version of the languages, e.g. "de German(Standard)"
OpenTMSCharacterEncodings - the supported OpenTMS character encodings
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)