org.cruxframework.crux.core.client.db
Class DatabaseCursorCallback<K,V>

java.lang.Object
  extended by org.cruxframework.crux.core.client.db.Callback
      extended by org.cruxframework.crux.core.client.db.DatabaseCursorCallback<K,V>
Type Parameters:
K - The type of the key used to identify objects into the cursor.
V - The type of the objects referenced by this cursor

public abstract class DatabaseCursorCallback<K,V>
extends Callback

Database cursor operations callback. Use this callback to read objects from a Cursor.

Author:
Thiago da Rosa de Bustamante

Field Summary
 
Fields inherited from class org.cruxframework.crux.core.client.db.Callback
db
 
Constructor Summary
DatabaseCursorCallback()
           
 
Method Summary
abstract  void onSuccess(Cursor<K,V> result)
          Called when an open cursor operation is performed successfully.
 
Methods inherited from class org.cruxframework.crux.core.client.db.Callback
onError, setDb
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseCursorCallback

public DatabaseCursorCallback()
Method Detail

onSuccess

public abstract void onSuccess(Cursor<K,V> result)
Called when an open cursor operation is performed successfully.

Parameters:
result - the cursor


Copyright © 2014. All rights reserved.