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

java.lang.Object
  extended by org.cruxframework.crux.core.client.db.DBObject
Direct Known Subclasses:
AbstractObjectStore, IDXFileStore, Index, Transaction, WSQLCursor

public abstract class DBObject
extends Object

CRUX INTERNAL CLASS. DO NOT USE IT DIRECTLY.

Base class for object objects that perform operations on Crux Database.

Author:
Thiago da Rosa de Bustamante

Field Summary
protected  AbstractDatabase db
           
protected static Logger logger
           
 
Constructor Summary
protected DBObject(AbstractDatabase db)
          Constructor
 
Method Summary
protected  void reportError(Callback callback, String error, Exception e)
          Report an error on a database operation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static Logger logger

db

protected final AbstractDatabase db
Constructor Detail

DBObject

protected DBObject(AbstractDatabase db)
Constructor

Parameters:
db - database reference
Method Detail

reportError

protected void reportError(Callback callback,
                           String error,
                           Exception e)
Report an error on a database operation

Parameters:
callback - called to handle the error
error - message describing the error occurred
e - the error


Copyright © 2014. All rights reserved.