com.kii.cloud.storage.callback
Class KiiObjectCallBack

java.lang.Object
  extended by com.kii.cloud.storage.callback.KiiObjectCallBack

public abstract class KiiObjectCallBack
extends java.lang.Object

Defines the call back interfaces for KiiObject.


Constructor Summary
KiiObjectCallBack()
           
 
Method Summary
 void onDeleteBodyCompleted(int token, KiiObject object, java.lang.Exception exception)
          Runs on the UI thread after the KiiObject.deleteBody(KiiObjectCallBack) has been executed.
 void onDeleteCompleted(int token, java.lang.Exception exception)
          Runs on the UI thread after the KiiObject.delete(KiiObjectCallBack) has been executed.
 void onRefreshCompleted(int token, KiiObject object, java.lang.Exception exception)
          Runs on the UI thread after the KiiObject.save(KiiObjectCallBack) has been executed.
 void onSaveCompleted(int token, KiiObject object, java.lang.Exception exception)
          Runs on the UI thread after the KiiObject.save(KiiObjectCallBack) has been executed.
 void onTaskCancel(int token)
          Runs on the UI thread after the task has been canceled.
 void onTaskStart(int token)
          Runs on the UI thread before the task is executed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KiiObjectCallBack

public KiiObjectCallBack()
Method Detail

onDeleteBodyCompleted

public void onDeleteBodyCompleted(int token,
                                  KiiObject object,
                                  java.lang.Exception exception)
Runs on the UI thread after the KiiObject.deleteBody(KiiObjectCallBack) has been executed.


onDeleteCompleted

public void onDeleteCompleted(int token,
                              java.lang.Exception exception)
Runs on the UI thread after the KiiObject.delete(KiiObjectCallBack) has been executed.


onRefreshCompleted

public void onRefreshCompleted(int token,
                               KiiObject object,
                               java.lang.Exception exception)
Runs on the UI thread after the KiiObject.save(KiiObjectCallBack) has been executed.


onSaveCompleted

public void onSaveCompleted(int token,
                            KiiObject object,
                            java.lang.Exception exception)
Runs on the UI thread after the KiiObject.save(KiiObjectCallBack) has been executed.


onTaskCancel

public void onTaskCancel(int token)
Runs on the UI thread after the task has been canceled.


onTaskStart

public void onTaskStart(int token)
Runs on the UI thread before the task is executed.