public class VisibleMethod
extends java.lang.Object
ServerObject
if it appears
in an Application declaration file.
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.
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.
Modifier and Type | Field and Description |
---|---|
java.lang.String |
args
For the methods implemented via serverScript defines the name of the arguments array variable
to access parameters passed via DMI.call() inside the script.
|
java.lang.String |
language
The script language if method is implemented via serverScript.
|
java.lang.String |
name
The method name.
|
java.lang.String |
script
The script body if method is imlemented via serverScript.
|
java.lang.String |
scriptImport
Coma or space separated script imports if method is scripted.
|
Constructor and Description |
---|
VisibleMethod() |
public java.lang.String language
server.properties
by setting script.defaultLanguage
.
Default value is null
public java.lang.String scriptImport
Default value is null
public java.lang.String script
Default value is null
public java.lang.String name
ServerObject
method the names must match
and it is the only property required. See examples in Application declaration overview.
Default value is null
public java.lang.String args
Default value is null