public class RemoteModule_Proxy extends MappedObject_Proxy<RemoteModule> implements Module
| Constructor and Description |
|---|
RemoteModule_Proxy(RemoteModule remoteObject) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Module arg0) |
Parameters |
createParameters(String arg0)
Creates a parameter list for a function.
|
CloudContext |
getCloudContext()
Retrieves the CloudContext to which this module belongs
|
String |
getDescription()
Returns the description of this object for the default locale.
|
String |
getDescription(Locale arg0)
Returns the description of this object.
|
Function |
getFunction(String arg0)
Returns a Function object.
|
Collection<Function<?>> |
getFunctions()
Returns all the Function objects of this Module.
|
FieldValue |
getFunctionValue(String arg0,
List<?> arg1)
Executes a function on this module with the given parameters, and returns the result.
|
String |
getGUIName()
Returns the GUI name for this object.
|
String |
getGUIName(Locale arg0)
Returns the GUI name for this object in a specified preferred language.
|
String |
getInfo(String arg0)
Retrieve info from a module based on a command string.
|
String |
getInfo(String arg0,
javax.servlet.ServletRequest arg1,
javax.servlet.ServletResponse arg2)
Retrieve info from a module based on a command string
Similar to the $MOD command in SCAN.
|
NodeList |
getList(String arg0,
Map<String,?> arg1)
Retrieve info (as a list of virtual nodes) from a module based on a command string.
|
NodeList |
getList(String arg0,
Map<String,?> arg1,
javax.servlet.ServletRequest arg2,
javax.servlet.ServletResponse arg3)
Retrieve info from a module based on a command string
Similar to the LIST command in SCAN.
|
LocalizedString |
getLocalizedDescription()
Returns the set of (localized) descriptions of this object.
|
LocalizedString |
getLocalizedGUIName()
Returns the set of (localized) gui names of this object.
|
String |
getName()
Retrieve the name of the module (in the default language defined in mmbaseroot.xml).
|
Map |
getProperties()
Retrieve a copy of the module's properties
|
String |
getProperty(String arg0)
Retrieve a property of the module.
|
RemoteModule |
getWrappedObject() |
void |
process(String arg0,
Object arg1)
Runs the command with the given parameter(s).
|
void |
process(String arg0,
Object arg1,
Map<String,Object> arg2)
Runs the command with the given parameter(s).
|
void |
process(String arg0,
Object arg1,
Map<String,Object> arg2,
javax.servlet.ServletRequest arg3,
javax.servlet.ServletResponse arg4)
Runs the command with the given parameter(s).
|
void |
setDescription(String arg0)
Sets the description of this object for the default locale.
|
void |
setDescription(String arg0,
Locale arg1)
Sets the description of this object.
|
void |
setGUIName(String arg0)
Sets the GUI name of this object for the default locale.
|
void |
setGUIName(String arg0,
Locale arg1)
Sets the GUI name of this object.
|
equals, getMapperCode, hashCode, toStringpublic RemoteModule_Proxy(RemoteModule remoteObject)
public Parameters createParameters(String arg0)
ModulecreateParameters in interface Modulearg0 - name of the functionParameters object.public FieldValue getFunctionValue(String arg0, List<?> arg1)
ModulegetFunctionValue in interface Modulearg0 - name of the functionarg1 - list with parameters for the functionpublic CloudContext getCloudContext()
ModulegetCloudContext in interface Modulepublic Collection<Function<?>> getFunctions()
ModulegetFunctions in interface ModuleFunction objects.public Function getFunction(String arg0)
ModuleFunction object.
You need to explicitly cast the result to this object, since not all bridge
implementations (i.e. the RMMCI) support this class.getFunction in interface Modulearg0 - name of the functionFunction object.public NodeList getList(String arg0, Map<String,?> arg1, javax.servlet.ServletRequest arg2, javax.servlet.ServletResponse arg3)
ModulegetList in interface Modulearg0 - the info to obtain, i.e. "USER-OS".arg1 - a hashtable containing the named parameters of the list.arg2 - the Request item to use for obtaining user information. For backward compatibility.arg3 - the Response item to use for redirecting users. For backward compatibility.public NodeList getList(String arg0, Map<String,?> arg1)
Modulepublic void process(String arg0, Object arg1, Map<String,Object> arg2, javax.servlet.ServletRequest arg3, javax.servlet.ServletResponse arg4)
Moduleprocess in interface Modulearg0 - the command to run, i.e. "MESSAGE-UPDATE".arg1 - the main parameter for the command. Depends on the command issued. Not all
commands make use of this parameter.arg2 - additional parameters for this command.arg3 - the Request item to use for obtaining user information. For backward compatibility.arg4 - the Response item to use for redirecting users. For backward compatibility.public void process(String arg0, Object arg1, Map<String,Object> arg2)
Modulepublic void process(String arg0, Object arg1)
Modulepublic String getInfo(String arg0)
Modulepublic String getInfo(String arg0, javax.servlet.ServletRequest arg1, javax.servlet.ServletResponse arg2)
Modulepublic String getProperty(String arg0)
ModulegetProperty in interface Modulearg0 - the name of the propertypublic String getName()
ModulegetName in interface DescriptorgetName in interface Modulepublic Map getProperties()
ModulegetProperties in interface Modulepublic LocalizedString getLocalizedDescription()
DescriptorgetLocalizedDescription in interface Descriptorpublic LocalizedString getLocalizedGUIName()
DescriptorgetLocalizedGUIName in interface Descriptorpublic void setGUIName(String arg0, Locale arg1)
DescriptorsetGUIName in interface Descriptorarg0 - the description as a Stringarg1 - The locale for which this is valid, or null for the default locale.public void setGUIName(String arg0)
DescriptorsetGUIName in interface Descriptorarg0 - the description as a Stringpublic String getGUIName(Locale arg0)
DescriptorgetGUIName in interface Descriptorarg0 - the locale that determines the language for the GUI namepublic String getGUIName()
DescriptorgetGUIName in interface Descriptorpublic String getDescription()
DescriptorgetDescription in interface Descriptorpublic String getDescription(Locale arg0)
DescriptorgetDescription in interface Descriptorarg0 - The locale for which this must be returned, or null for a default locale.
If no fitting description for the given locale is available, getName() can be returned.public void setDescription(String arg0, Locale arg1)
DescriptorsetDescription in interface Descriptorarg0 - the description as a Stringarg1 - The locale for which this is valid, or null for a default locale.public void setDescription(String arg0)
DescriptorsetDescription in interface Descriptorarg0 - the description as a Stringpublic int compareTo(Module arg0)
compareTo in interface Comparable<Module>public RemoteModule getWrappedObject()
getWrappedObject in interface MappedObjectgetWrappedObject in class MappedObject_Proxy<RemoteModule>MMBase 1.9-SNAPSHOT - ${javadoctimestamp}