public interface CustomResource extends Resource
CustomResource interface represents a Custom Resource.
 | Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | COMMAND_CALL | 
| static java.lang.String | COMMAND_DELETE | 
| static java.lang.String | COMMAND_EXEC | 
| static java.lang.String | COMMAND_FETCH | 
| static java.lang.String | COMMAND_INSERT | 
| static java.lang.String | COMMAND_PRINT | 
| static java.lang.String | COMMAND_READ | 
| static java.lang.String | COMMAND_UPDATE | 
| static java.lang.String | COMMAND_WRITE | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | execute(java.lang.String command)Invokes the execute(String) method on the Custom Resource passing  commandas argument. | 
| java.lang.String | execute(java.lang.String command,
       java.lang.String binding)Invokes the execute(String) method on the Custom Resource passing  commandas argument. | 
getElementName, getElementTypestatic final java.lang.String COMMAND_FETCH
static final java.lang.String COMMAND_DELETE
static final java.lang.String COMMAND_UPDATE
static final java.lang.String COMMAND_INSERT
static final java.lang.String COMMAND_READ
static final java.lang.String COMMAND_WRITE
static final java.lang.String COMMAND_PRINT
static final java.lang.String COMMAND_EXEC
static final java.lang.String COMMAND_CALL
java.lang.String execute(java.lang.String command)
                  throws com.ebasetech.xi.exceptions.FormRuntimeException
command as argument. 
 Javascript example:
var status = resources.CUSTOM_RESOURCE1.execute(CustomResource.COMMAND_READ);
command - com.ebasetech.xi.exceptions.FormRuntimeException - if any error occurs during executionjava.lang.String execute(java.lang.String command,
                         java.lang.String binding)
                  throws com.ebasetech.xi.exceptions.FormRuntimeException
command as argument. The binding
 can be obtained by the Custom Resource by issuing getBinding().
 Javascript example:
var status = resources.CUSTOM_RESOURCE1.execute(CustomResource.COMMAND_READ, "Test");
command - binding - com.ebasetech.xi.exceptions.FormRuntimeException - if any error occurs during execution