org.mmbase.bridge.remote.implementation
Class RemoteModule_Impl
java.lang.Object
|
+--org.mmbase.bridge.remote.implementation.RemoteModule_Impl
- All Implemented Interfaces:
- Module
- public class RemoteModule_Impl
- extends java.lang.Object
- implements Module
RemoteModule_Impl in a generated implementation of Module
This implementation is used by a local class when the MMCI is called remotely
|
Method Summary |
CloudContext |
getCloudContext()
Retrieves the CloudContext to which this module belongs |
java.lang.String |
getDescription()
Retrieve the description of the module. |
java.lang.String |
getInfo(java.lang.String param1)
Retrieve info from a module based on a command string. |
java.lang.String |
getInfo(java.lang.String param1,
javax.servlet.ServletRequest param2,
javax.servlet.ServletResponse param3)
|
NodeList |
getList(java.lang.String param1,
java.util.Hashtable param2)
Retrieve info (as a list of virtual nodes) from a module based on a command string. |
NodeList |
getList(java.lang.String param1,
java.util.Hashtable param2,
javax.servlet.ServletRequest param3,
javax.servlet.ServletResponse param4)
|
java.lang.String |
getName()
Retrieve the name of the module (in the default language defined in mmbaseroot.xml). |
void |
process(java.lang.String param1,
java.lang.Object param2)
Runs the command with the given parameter(s). |
void |
process(java.lang.String param1,
java.lang.Object param2,
java.util.Hashtable param3)
Runs the command with the given parameter(s). |
void |
process(java.lang.String param1,
java.lang.Object param2,
java.util.Hashtable param3,
javax.servlet.ServletRequest param4,
javax.servlet.ServletResponse param5)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteModule_Impl
public RemoteModule_Impl(RemoteModule originalObject)
getName
public java.lang.String getName()
- Description copied from interface:
Module
- Retrieve the name of the module (in the default language defined in mmbaseroot.xml).
- Specified by:
getName in interface Module
process
public void process(java.lang.String param1,
java.lang.Object param2)
- Description copied from interface:
Module
- Runs the command with the given parameter(s).
- Specified by:
process in interface Module
- Following copied from interface:
org.mmbase.bridge.Module
- Parameters:
command - the command to run, i.e. "MESSAGE-UPDATE".parameters - the main parameter for the command. Depends on the command issued. Not all
commands make use of this parameter.
process
public void process(java.lang.String param1,
java.lang.Object param2,
java.util.Hashtable param3)
- Description copied from interface:
Module
- Runs the command with the given parameter(s).
- Specified by:
process in interface Module
- Following copied from interface:
org.mmbase.bridge.Module
- Parameters:
command - the command to run, i.e. "MESSAGE-UPDATE".parameters - the main parameter for the command. Depends on the command issued. Not all
commands make use of this parameter.auxparameters - additional parameters for this command.
process
public void process(java.lang.String param1,
java.lang.Object param2,
java.util.Hashtable param3,
javax.servlet.ServletRequest param4,
javax.servlet.ServletResponse param5)
getInfo
public java.lang.String getInfo(java.lang.String param1)
- Description copied from interface:
Module
- Retrieve info from a module based on a command string.
Similar to the $MOD command in SCAN.
- Specified by:
getInfo in interface Module
- Following copied from interface:
org.mmbase.bridge.Module
- Parameters:
command - the info to obtain, i.e. "USER-OS".
getInfo
public java.lang.String getInfo(java.lang.String param1,
javax.servlet.ServletRequest param2,
javax.servlet.ServletResponse param3)
getCloudContext
public CloudContext getCloudContext()
- Description copied from interface:
Module
- Retrieves the CloudContext to which this module belongs
- Specified by:
getCloudContext in interface Module
getDescription
public java.lang.String getDescription()
- Description copied from interface:
Module
- Retrieve the description of the module.
- Specified by:
getDescription in interface Module
getList
public NodeList getList(java.lang.String param1,
java.util.Hashtable param2)
- Description copied from interface:
Module
- Retrieve info (as a list of virtual nodes) from a module based on a command string.
Similar to the LIST command in SCAN.
The values retrieved are represented as fields of a virtual node, named following the fieldnames listed in the fields paramaters..
- Specified by:
getList in interface Module
- Following copied from interface:
org.mmbase.bridge.Module
- Parameters:
command - the info to obtain, i.e. "USER-OS".fields - The names for the fields to retrieve. This allows a user to set it's own names for the fields (i.e.
when calling the COLORS List command of the info module, this could be "RGB,name".
If the number of names do not match the number of items returns, any additional items are numbered according to their position,
given names such as "item1".parameters - a hashtable containing the named parameters of the list.
getList
public NodeList getList(java.lang.String param1,
java.util.Hashtable param2,
javax.servlet.ServletRequest param3,
javax.servlet.ServletResponse param4)
MMBase 2002