org.cruxframework.crux.core.client.db
Class DatabaseCountCallback

java.lang.Object
  extended by org.cruxframework.crux.core.client.db.Callback
      extended by org.cruxframework.crux.core.client.db.DatabaseCountCallback

public abstract class DatabaseCountCallback
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
DatabaseCountCallback()
           
 
Method Summary
abstract  void onSuccess(int result)
          Called when a count 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

DatabaseCountCallback

public DatabaseCountCallback()
Method Detail

onSuccess

public abstract void onSuccess(int result)
Called when a count operation is performed successfully.

Parameters:
result - number of objects returned


Copyright © 2014. All rights reserved.