public class SalesforceNetworkPlugin extends ForcePlugin
| Constructor and Description |
|---|
SalesforceNetworkPlugin() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(java.lang.String actionStr,
JavaScriptPluginVersion jsVersion,
JSONArray args,
CallbackContext callbackContext)
Abstract method to concrete subclass need to implement
|
protected void |
sendRequest(JSONArray args,
CallbackContext callbackContext)
Native implementation for "sendRequest" action.
|
executepublic boolean execute(java.lang.String actionStr,
JavaScriptPluginVersion jsVersion,
JSONArray args,
CallbackContext callbackContext)
ForcePluginexecute in class ForcePluginactionStr - The action to executeargs - JSONArray of arguments for the plugin.callbackContext - Used when calling back into Javascript.protected void sendRequest(JSONArray args,
CallbackContext callbackContext)
callbackContext - Used when calling back into Javascript.