public class SmartStoreReactBridge
extends ReactContextBaseJavaModule
Constructor and Description |
---|
SmartStoreReactBridge(ReactApplicationContext reactContext) |
Modifier and Type | Method and Description |
---|---|
void |
alterSoup(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of alterSoup
|
void |
clearSoup(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of clearSoup
|
void |
closeCursor(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of closeCursor
|
void |
getAllGlobalStores(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of getAllGlobalStores
|
void |
getAllStores(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of getAllStores
|
void |
getDatabaseSize(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of getDatabaseSize
|
java.lang.String |
getName() |
static SmartStore |
getSmartStore(ReadableMap args)
Return smartstore to use
|
void |
getSoupIndexSpecs(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of getSoupIndexSpecs
|
void |
moveCursorToPageIndex(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of moveCursorToPageIndex
|
void |
querySoup(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of querySoup
|
void |
registerSoup(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of registerSoup
|
void |
reIndexSoup(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of reIndexSoup
|
void |
removeAllGlobalStores(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of removeAllGlobalStores
|
void |
removeAllStores(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of removeAllStores
|
void |
removeFromSoup(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of removeFromSoup
|
void |
removeSoup(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of removeSoup
|
void |
removeStore(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of removeStore
|
void |
retrieveSoupEntries(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of retrieveSoupEntries
|
void |
runSmartQuery(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of runSmartSql
|
void |
soupExists(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of soupExists
|
void |
upsertSoupEntries(ReadableMap args,
Callback successCallback,
Callback errorCallback)
Native implementation of upsertSoupEntries
|
public SmartStoreReactBridge(ReactApplicationContext reactContext)
public java.lang.String getName()
public void removeFromSoup(ReadableMap args, Callback successCallback, Callback errorCallback)
args
- successCallback
- errorCallback
- public void retrieveSoupEntries(ReadableMap args, Callback successCallback, Callback errorCallback)
args
- successCallback
- errorCallback
- public void closeCursor(ReadableMap args, Callback successCallback, Callback errorCallback)
args
- successCallback
- errorCallback
- public void moveCursorToPageIndex(ReadableMap args, Callback successCallback, Callback errorCallback)
args
- successCallback
- errorCallback
- public void soupExists(ReadableMap args, Callback successCallback, Callback errorCallback)
args
- successCallback
- errorCallback
- public void upsertSoupEntries(ReadableMap args, Callback successCallback, Callback errorCallback)
args
- successCallback
- errorCallback
- public void registerSoup(ReadableMap args, Callback successCallback, Callback errorCallback)
args
- successCallback
- errorCallback
- public void querySoup(ReadableMap args, Callback successCallback, Callback errorCallback)
args
- successCallback
- errorCallback
- public void runSmartQuery(ReadableMap args, Callback successCallback, Callback errorCallback)
args
- successCallback
- errorCallback
- public void removeSoup(ReadableMap args, Callback successCallback, Callback errorCallback)
args
- successCallback
- errorCallback
- public void clearSoup(ReadableMap args, Callback successCallback, Callback errorCallback)
args
- successCallback
- errorCallback
- public void getDatabaseSize(ReadableMap args, Callback successCallback, Callback errorCallback)
args
- successCallback
- errorCallback
- public void alterSoup(ReadableMap args, Callback successCallback, Callback errorCallback)
args
- successCallback
- errorCallback
- public void reIndexSoup(ReadableMap args, Callback successCallback, Callback errorCallback)
args
- successCallback
- errorCallback
- public void getSoupIndexSpecs(ReadableMap args, Callback successCallback, Callback errorCallback)
args
- successCallback
- errorCallback
- public void getAllGlobalStores(ReadableMap args, Callback successCallback, Callback errorCallback) throws JSONException
args
- successCallback
- errorCallback
- JSONException
public void getAllStores(ReadableMap args, Callback successCallback, Callback errorCallback)
args
- successCallback
- errorCallback
- public void removeStore(ReadableMap args, Callback successCallback, Callback errorCallback)
args
- successCallback
- errorCallback
- public void removeAllGlobalStores(ReadableMap args, Callback successCallback, Callback errorCallback)
args
- successCallback
- errorCallback
- public void removeAllStores(ReadableMap args, Callback successCallback, Callback errorCallback)
args
- successCallback
- errorCallback
- public static SmartStore getSmartStore(ReadableMap args) throws java.lang.Exception
args
- arguments passed in bridge calljava.lang.Exception