Uses of Class
com.stackmob.sdk.api.StackMobOptions

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.https(boolean https)
          Force a method to be either http or https, overriding any defaults
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.suggestHTTPS(boolean https)
          Force a method to be either http or https, overriding any defaults, unless https has already been set
 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.withHTTPS(boolean https)
          Force a method to be either http or https, overriding any defaults or previous settings
 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, boolean createUser, String username, 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.gigyaLogin(String gigyaUid, String timestamp, String sig, StackMobOptions options, StackMobRawCallback callback)
          Login to StackMob with Gigya credentials.
 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, boolean createUser, String username, 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
<T extends StackMobUser>
void
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, boolean createUser, String username, StackMobOptions options, StackMobCallback callback)
          login to StackMob with Facebook credentials.
 void StackMobUser.loginWithGigya(String gigyaUid, String timestamp, String sig, StackMobOptions options, StackMobCallback callback)
          login to StackMob with gigya credentials.
 void StackMobUser.loginWithTwitter(String twitterToken, String twitterSecret, boolean createUser, String username, StackMobOptions options, StackMobCallback callback)
          login to StackMob with twitter credentials.
static
<T extends StackMobModel>
void
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.
 void StackMobUser.save(StackMobOptions options, StackMobCallback callback)
           
 String StackMobModel.toJson(StackMobOptions options)
          Converts the model into its Json representation, expanding any sub-objects to the given depth.
 



Copyright © 2013 StackMob. All Rights Reserved.