Modifier and Type | Method and Description |
---|---|
static SmartStore |
SmartStorePlugin.getSmartStore(JSONObject arg0)
Return smartstore to use
|
Modifier and Type | Method and Description |
---|---|
static SmartStore |
SmartStoreReactBridge.getSmartStore(ReadableMap args)
Return smartstore to use
|
Modifier and Type | Method and Description |
---|---|
SmartStore |
SmartStoreSDKManager.getGlobalSmartStore()
Return default database used by smart store in the global context
|
SmartStore |
SmartStoreSDKManager.getGlobalSmartStore(java.lang.String dbName)
Returns the database used by smart store in the global context.
|
SmartStore |
SmartStoreSDKManager.getSmartStore()
Returns the database used by smart store for the current user.
|
SmartStore |
SmartStoreSDKManager.getSmartStore(java.lang.String dbNamePrefix,
UserAccount account,
java.lang.String communityId)
Returns the database used by smart store for a specified database name and
user in the specified community.
|
SmartStore |
SmartStoreSDKManager.getSmartStore(UserAccount account)
Returns the database used by smart store for a specified user.
|
SmartStore |
SmartStoreSDKManager.getSmartStore(UserAccount account,
java.lang.String communityId)
Returns the database used by smart store for a specified user in the
specified community.
|
Modifier and Type | Method and Description |
---|---|
void |
StoreConfig.registerSoups(SmartStore store)
Register the soup from the config in the given store
NB: only feedback is through the logs - the config is static so getting it right is something the developer should do while writing the app
|
Modifier and Type | Method and Description |
---|---|
JSONObject |
StoreCursor.getDataDeserialized(SmartStore smartStore)
Returns cursor meta data (page index, size etc) and data (entries in page) as a JSONObject
|
com.salesforce.androidsdk.smartstore.store.FakeJSONObject |
StoreCursor.getDataSerialized(SmartStore smartStore)
Returns cursor meta data (page index, size etc) and data (entries in page) as a FakeJSONObject
NB: json data is never deserialized
|
LongOperation |
LongOperation.LongOperationType.getOperation(SmartStore store,
long rowId,
JSONObject details,
java.lang.String status) |
protected abstract void |
LongOperation.initFromDbRow(SmartStore store,
long rowId,
JSONObject details,
java.lang.String statusStr) |
protected void |
AlterSoupLongOperation.initFromDbRow(SmartStore store,
long rowId,
JSONObject details,
java.lang.String statusStr) |
Constructor and Description |
---|
AlterSoupLongOperation(SmartStore store,
java.lang.String soupName,
IndexSpec[] newIndexSpecs,
boolean reIndexData)
Constructor
|
StoreCursor(SmartStore smartStore,
QuerySpec querySpec) |