com.stackmob.sdk.callback
Class StackMobExistsCallback

java.lang.Object
  extended by com.stackmob.sdk.callback.StackMobRawCallback
      extended by com.stackmob.sdk.callback.StackMobCallback
          extended by com.stackmob.sdk.callback.StackMobExistsCallback

public abstract class StackMobExistsCallback
extends StackMobCallback


Field Summary
 
Fields inherited from class com.stackmob.sdk.callback.StackMobRawCallback
requestBody, requestHeaders, requestURL, requestVerb, responseBody, responseHeaders, responseStatusCode, retriesRemaining
 
Constructor Summary
StackMobExistsCallback()
           
 
Method Summary
abstract  void success(boolean exists)
           
 void success(String responseBody)
          override this method to handles cases where a call has succeeded.
 
Methods inherited from class com.stackmob.sdk.callback.StackMobCallback
done, failure, temporaryPasswordResetRequired, unsent
 
Methods inherited from class com.stackmob.sdk.callback.StackMobRawCallback
getRetriesRemaining, getTotalNumberOfItemsFromContentRange, getTotalObjectCountFromPagination, retry, setDone, setRetriesRemaining
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackMobExistsCallback

public StackMobExistsCallback()
Method Detail

success

public abstract void success(boolean exists)

success

public void success(String responseBody)
Description copied from class: StackMobCallback
override this method to handles cases where a call has succeeded.

Specified by:
success in class StackMobCallback
Parameters:
responseBody - the response string received from StackMob


Copyright © 2013 StackMob. All Rights Reserved.