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.
|
execute
public boolean execute(java.lang.String actionStr, JavaScriptPluginVersion jsVersion, JSONArray args, CallbackContext callbackContext)
ForcePlugin
execute
in class ForcePlugin
actionStr
- 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.