Class VisibleMethod
java.lang.Object
com.smartgwt.client.docs.serverds.VisibleMethod
Defines the method of the
ServerObject
if it appears
in an Application declaration file
.
Method can refer the ServerObject
method allowed to be called from the client or
can be implemented right in the .app.xml file using the inline server script
.
This class is not meant to be created and used, it is actually documentation of settings
allowed in a DataSource descriptor (.ds.xml file), for use with Smart GWT Pro Edition and
above.
See com.smartgwt.client.docs.serverds
for how to use this documentation.
-
Field Summary
Modifier and TypeFieldDescriptionFor the methods implemented viaServerScript
defines the name of the arguments array variable to access parameters passed via DMI.call() inside the script.The script language if method is implemented viaServerScript
.The method name.The script body if method is imlemented viaServerScript
.Coma or space separated script imports if method is scripted. -
Constructor Summary
-
Method Summary
-
Field Details
-
language
The script language if method is implemented viaServerScript
. If omitted the default system-wide language will be used, defined inserver.properties
by settingscript.defaultLanguage
.Default value is null
-
scriptImport
Coma or space separated script imports if method is scripted. See the "Java Imports" section of theServerScript
overview.Default value is null
-
script
The script body if method is imlemented viaServerScript
. The presense of this attribute actually defines that method is scripted. See examples inApplication declaration
overview.Default value is null
-
name
The method name. In case if it refers theServerObject
method the names must match and it is the only property required. See examples inApplication declaration
overview.Default value is null
-
args
For the methods implemented viaServerScript
defines the name of the arguments array variable to access parameters passed via DMI.call() inside the script. See examples inApplication declaration
overview.Default value is null
-
-
Constructor Details
-
VisibleMethod
public VisibleMethod()
-