public class SmartStorePlugin extends ForcePlugin
| Constructor and Description |
|---|
SmartStorePlugin() |
| 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
|
static boolean |
getIsGlobal(JSONObject arg0)
Return the value of the isGlobalStore argument
|
static SmartStore |
getSmartStore(JSONObject arg0)
Return smartstore to use
|
static java.lang.String |
getStoreName(JSONObject arg0)
Return the value of the storename argument
|
protected static void |
setUseQueryAsString(boolean b) |
executeprotected static void setUseQueryAsString(boolean b)
public boolean execute(java.lang.String actionStr,
JavaScriptPluginVersion jsVersion,
JSONArray args,
CallbackContext callbackContext)
throws JSONException
ForcePluginexecute in class ForcePluginactionStr - The action to executeargs - JSONArray of arguments for the plugin.callbackContext - Used when calling back into Javascript.JSONExceptionpublic static SmartStore getSmartStore(JSONObject arg0) throws java.lang.Exception
arg0 - first argument passed in plugin calljava.lang.Exceptionpublic static boolean getIsGlobal(JSONObject arg0)
arg0 - public static java.lang.String getStoreName(JSONObject arg0)
arg0 -