net.wotonomy.access
Class EOAdaptorContext

java.lang.Object
  extended by net.wotonomy.access.EOAdaptorContext

public abstract class EOAdaptorContext
extends java.lang.Object

Version:
$Revision: 894 $
Author:
ezamudio@nasoft.com, $Author: cgruber $

Field Summary
protected  EOAdaptor _adaptor
           
protected  net.wotonomy.foundation.NSMutableArray _channels
           
protected  boolean _hasOpenTransaction
           
static java.lang.String AdaptorContextBeginTransactionNotification
           
static java.lang.String AdaptorContextCommitTransactionNotification
           
static java.lang.String AdaptorContextRollbackTransactionNotification
           
 
Constructor Summary
EOAdaptorContext(EOAdaptor adaptor)
           
 
Method Summary
 EOAdaptor adaptor()
           
abstract  void beginTransaction()
           
 net.wotonomy.foundation.NSArray channels()
           
abstract  void commitTransaction()
           
abstract  EOAdaptorChannel createAdaptorChannel()
           
abstract  void handleDroppedConnection()
           
 boolean hasBusyChannels()
           
 boolean hasOpenChannels()
           
 boolean hasOpenTransaction()
           
abstract  void rollbackTransaction()
           
 void transactionDidBegin()
           
 void transactionDidCommit()
           
 void transactionDidRollback()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AdaptorContextBeginTransactionNotification

public static final java.lang.String AdaptorContextBeginTransactionNotification
See Also:
Constant Field Values

AdaptorContextCommitTransactionNotification

public static final java.lang.String AdaptorContextCommitTransactionNotification
See Also:
Constant Field Values

AdaptorContextRollbackTransactionNotification

public static final java.lang.String AdaptorContextRollbackTransactionNotification
See Also:
Constant Field Values

_adaptor

protected EOAdaptor _adaptor

_channels

protected net.wotonomy.foundation.NSMutableArray _channels

_hasOpenTransaction

protected boolean _hasOpenTransaction
Constructor Detail

EOAdaptorContext

public EOAdaptorContext(EOAdaptor adaptor)
Method Detail

adaptor

public EOAdaptor adaptor()

beginTransaction

public abstract void beginTransaction()

commitTransaction

public abstract void commitTransaction()

rollbackTransaction

public abstract void rollbackTransaction()

createAdaptorChannel

public abstract EOAdaptorChannel createAdaptorChannel()

handleDroppedConnection

public abstract void handleDroppedConnection()

channels

public net.wotonomy.foundation.NSArray channels()

hasBusyChannels

public boolean hasBusyChannels()

hasOpenChannels

public boolean hasOpenChannels()

hasOpenTransaction

public boolean hasOpenTransaction()

transactionDidBegin

public void transactionDidBegin()

transactionDidCommit

public void transactionDidCommit()

transactionDidRollback

public void transactionDidRollback()


Copyright © 2006 null. All Rights Reserved.