|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use StackMobOptions | |
|---|---|
| com.stackmob.sdk.api | Classes for communicating directly with StackMob. |
| com.stackmob.sdk.model | Base classes for objects that map to StackMob data. |
| Uses of StackMobOptions in com.stackmob.sdk.api |
|---|
| Methods in com.stackmob.sdk.api that return StackMobOptions | |
|---|---|
static StackMobOptions |
StackMobOptions.depthOf(int depth)
set the expand depth of objects being returned. |
static StackMobOptions |
StackMobOptions.header(String name,
String value)
add a single header to a request |
static StackMobOptions |
StackMobOptions.headers(List<Map.Entry<String,String>> headers)
add a list of headers to a request |
static StackMobOptions |
StackMobOptions.headers(Map<String,String> headerMap)
add a set of headers to a request |
static StackMobOptions |
StackMobOptions.none()
empty options that do nothing |
static StackMobOptions |
StackMobOptions.selectedFields(List<String> fields)
restricts the fields returned by a request. |
StackMobOptions |
StackMobOptions.withDepthOf(Integer i)
set the expand depth of objects being returned. |
StackMobOptions |
StackMobOptions.withHeader(String name,
String value)
add a single header to a request |
StackMobOptions |
StackMobOptions.withHeaders(List<Map.Entry<String,String>> headers)
add a list of headers to a request |
StackMobOptions |
StackMobOptions.withHeaders(Map<String,String> headerMap)
add a set of headers to a request |
StackMobOptions |
StackMobOptions.withSelectedFields(List<String> fields)
restricts the fields returned by a request. |
| Methods in com.stackmob.sdk.api with parameters of type StackMobOptions | |
|---|---|
void |
StackMob.facebookLogin(String token,
StackMobOptions options,
StackMobRawCallback callback)
login to StackMob with Facebook credentials. |
void |
StackMobDatastore.get(StackMobQuery query,
StackMobOptions options,
StackMobRawCallback callback)
do a get request on the StackMob platform |
void |
StackMobDatastore.get(String path,
StackMobOptions options,
StackMobRawCallback callback)
do a get request on the StackMob platform |
void |
StackMob.getLoggedInUser(StackMobOptions options,
StackMobCallback callback)
Gets the user object for the currently logged in oauth2 user. |
void |
StackMob.login(Map<String,String> params,
StackMobOptions options,
StackMobRawCallback callback)
call the login method on StackMob |
void |
StackMobDatastore.post(String path,
Object requestObject,
StackMobOptions options,
StackMobRawCallback callback)
do a post request on the StackMob platform for a single object |
void |
StackMobDatastore.post(String path,
String body,
StackMobOptions options,
StackMobRawCallback callback)
do a POST request on the StackMob platform for a single object |
void |
StackMob.twitterLogin(String token,
String secret,
StackMobOptions options,
StackMobRawCallback callback)
login to StackMob with twitter credentials. |
| Uses of StackMobOptions in com.stackmob.sdk.model |
|---|
| Methods in com.stackmob.sdk.model with parameters of type StackMobOptions | ||
|---|---|---|
void |
StackMobModel.fetch(StackMobOptions options,
StackMobCallback callback)
Reload the object from the server. |
|
static
|
StackMobUser.getLoggedInUser(Class<T> classOfT,
StackMobOptions options,
StackMobQueryCallback<T> callback)
Get the currently logged in user. |
|
protected void |
StackMobUser.login(Map<String,String> args,
StackMobOptions options,
StackMobCallback callback)
log this user into StackMob with specialized info. |
|
void |
StackMobUser.login(StackMobOptions options,
StackMobCallback callback)
log this user into StackMob. |
|
void |
StackMobUser.loginResettingTemporaryPassword(String newPassword,
StackMobOptions options,
StackMobCallback callback)
log this user into StackMob with their temporary password and reset their password. |
|
void |
StackMobUser.loginWithFacebook(String facebookToken,
StackMobOptions options,
StackMobCallback callback)
login to StackMob with Facebook credentials. |
|
void |
StackMobUser.loginWithTwitter(String twitterToken,
String twitterSecret,
StackMobOptions options,
StackMobCallback callback)
login to StackMob with twitter credentials. |
|
static
|
StackMobModel.query(Class<T> theClass,
StackMobQuery q,
StackMobOptions options,
StackMobQueryCallback<T> callback)
run a query on the server to get all the instances of your model within certain constraints |
|
void |
StackMobModel.save(StackMobOptions options)
Save the object to the server with options. |
|
void |
StackMobModel.save(StackMobOptions options,
StackMobCallback callback)
Save the object to the server with options. |
|
String |
StackMobModel.toJson(StackMobOptions options)
Converts the model into its Json representation, expanding any sub-objects to the given depth. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||