|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use DatastoreException | |
|---|---|
| com.stackmob.sdkapi | |
| Uses of DatastoreException in com.stackmob.sdkapi |
|---|
| Methods in com.stackmob.sdkapi that throw DatastoreException | |
|---|---|
SMObject |
DataService.addRelatedObjects(String schema,
SMValue objectId,
String relation,
List<? extends SMValue> relatedIds)
Adds the specified IDs to the specified relationship |
SMObject |
DataService.addRelatedObjects(String schema,
SMValue objectId,
String relation,
SMList relatedIds)
Adds the specified IDs to the specified relationship |
long |
DataService.countObjects(String schema)
Get the number of objects in a schema |
Map<String,Object> |
DatastoreService.createObject(String modelName,
Map<String,Object> toCreate)
Deprecated. Creates a new object in the datastore. |
SMObject |
DataService.createObject(String schema,
SMObject toCreate)
Creates a new object in the datastore. |
BulkResult |
DataService.createRelatedObjects(String schema,
SMValue objectId,
String relatedField,
List<SMObject> relatedObjectsToCreate)
Creates a number of new objects in the datastore. |
Boolean |
DataService.deleteObject(String schema,
SMValue id)
Deletes an object in the datastore. |
Boolean |
DatastoreService.deleteObject(String modelName,
String objectId)
Deprecated. Deletes an object in the datastore. |
Boolean |
DataService.deleteObject(String schema,
String id)
Deletes an object in the datastore. |
Map<PushService.TokenAndType,Long> |
PushService.getAllExpiredTokens(boolean clear)
get all of the tokens that are expired for this app |
Map<String,List<PushService.TokenAndType>> |
PushService.getAllTokensForUsers(List<String> users)
get all of the tokens for each of the given users |
Map<String,Long> |
PushService.getExpiredTokens(boolean clear)
Deprecated. use PushService.getAllExpiredTokens(boolean) instead. This method only gets/removes iOS expired tokens, |
Map<String,String> |
PushService.getTokensForUsers(List<String> users)
Deprecated. use PushService.getAllTokensForUsers(java.util.List) instead. This method only gets iOS tokens. |
List<SMObject> |
DataService.readObjects(String schema,
List<SMCondition> conditions)
Reads a list of objects matching the given query fields from the datastore. |
List<SMObject> |
DataService.readObjects(String schema,
List<SMCondition> conditions,
int expandDepth)
Reads a list of objects matching the given query fields from the datastore, expanding relationships. |
List<SMObject> |
DataService.readObjects(String schema,
List<SMCondition> conditions,
int expandDepth,
ResultFilters resultFilters)
Reads a list of objects matching the given query fields from the datastore subject to several conditions. |
List<SMObject> |
DataService.readObjects(String schema,
List<SMCondition> conditions,
List<String> fields)
Reads a list of objects matching the given query fields from the datastore, returning only the specified fields. |
List<Map<String,Object>> |
DatastoreService.readObjects(String modelName,
Map<String,List<String>> queryFields)
Deprecated. Reads a list of objects matching the given query fields from the datastore. |
void |
PushService.registerToken(String username,
String token)
Deprecated. use PushService.registerTokenForUser(String, TokenAndType) instead. This method only registers iOS tokens |
void |
PushService.registerTokenForUser(String username,
PushService.TokenAndType token)
register a token for a given user |
void |
DataService.removeRelatedObjects(String schema,
SMValue objectId,
String relation,
List<? extends SMValue> relatedIds,
boolean cascadeDelete)
Removes any number of related objects from a relationship. |
void |
DataService.removeRelatedObjects(String schema,
SMValue objectId,
String relation,
SMList relatedIds,
boolean cascadeDelete)
Removes any number of related objects from a relationship. |
void |
PushService.removeToken(PushService.TokenAndType token)
remove a token from the list of registered tokens |
void |
PushService.removeToken(String token)
Deprecated. use PushService.removeToken(TokenAndType) instead. This method can only remove iOS tokens. |
SMObject |
DataService.updateObject(String schema,
SMValue id,
List<SMCondition> conditions,
List<SMUpdate> updateActions)
Updates an object in the datastore, if and only if it meets additional conditions. |
SMObject |
DataService.updateObject(String schema,
SMValue id,
List<SMUpdate> updateActions)
Updates an object in the datastore. |
SMObject |
DataService.updateObject(String schema,
String id,
List<SMUpdate> updateActions)
Updates an object in the datastore. |
Map<String,Object> |
DatastoreService.updateObject(String modelName,
String objectId,
Map<String,Object> newValue)
Deprecated. Updates an object in the datastore. |
void |
DataService.updateObjects(String schema,
List<SMCondition> conditions,
List<SMUpdate> updateActions)
Updates all objects matching the given query in the datastore |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||