public class VisibleMethod
extends java.lang.Object 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.
| 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 Comma or space separated script imports if method is scripted. |
| Constructor and Description |
|---|
VisibleMethod() |
public java.lang.String language
ServerScript. If omitted the default system-wide language will be used, defined in server.properties by setting script.defaultLanguage. Default value is null
public java.lang.String scriptImport
ServerScript overview. Default value is null
public java.lang.String script
ServerScript. The presense of this attribute actually defines that method is scripted. See examples in Application declaration overview. 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
ServerScript defines the name of the arguments array variable to access parameters passed via DMI.call() inside the script. See examples in Application declaration overview. Default value is null