public class ERXForwardingAdaptorContext
extends com.webobjects.eoaccess.EOAdaptorContext
_adaptor, _channels, _delegate, _delegateRespondsTo_didBegin, _delegateRespondsTo_didCommit, _delegateRespondsTo_didRollback, _delegateRespondsTo_shouldBegin, _delegateRespondsTo_shouldCommit, _delegateRespondsTo_shouldConnect, _delegateRespondsTo_shouldRollback, _hasOpenTransaction, AdaptorContextBeginTransactionNotification, AdaptorContextCommitTransactionNotification, AdaptorContextRollbackTransactionNotification
Constructor and Description |
---|
ERXForwardingAdaptorContext(com.webobjects.eoaccess.EOAdaptor adaptor,
com.webobjects.eoaccess.EOAdaptorContext forwardedContext) |
Modifier and Type | Method and Description |
---|---|
void |
_beginTransaction(com.webobjects.foundation.NSNotification notification) |
void |
_commitTransaction(com.webobjects.foundation.NSNotification notification) |
NSDictionary |
_newPrimaryKey(com.webobjects.eocontrol.EOEnterpriseObject object,
com.webobjects.eoaccess.EOEntity entity) |
void |
_registerAdaptorChannel(com.webobjects.eoaccess.EOAdaptorChannel channel) |
void |
_registerForAdaptorContextNotifications() |
void |
_rollbackTransaction(com.webobjects.foundation.NSNotification notification) |
void |
_unregisterAdaptorChannel(com.webobjects.eoaccess.EOAdaptorChannel channel) |
void |
_unregisterForAdaptorContextNotifications() |
com.webobjects.eoaccess.EOAdaptor |
adaptor() |
void |
beginTransaction() |
boolean |
canNestTransactions()
Deprecated.
|
NSArray |
channels() |
void |
commitTransaction() |
com.webobjects.eoaccess.EOAdaptorChannel |
createAdaptorChannel() |
static Object |
defaultDelegate() |
Object |
delegate() |
com.webobjects.eoaccess.EOAdaptorContext |
forwardedContext() |
void |
handleDroppedConnection() |
boolean |
hasBusyChannels() |
boolean |
hasOpenChannels() |
boolean |
hasOpenTransaction() |
com.webobjects.eoaccess.EOAdaptor |
originalAdaptor() |
void |
rollbackTransaction() |
void |
setDelegate(Object delegate) |
void |
transactionDidBegin() |
void |
transactionDidCommit() |
void |
transactionDidRollback() |
int |
transactionNestingLevel()
Deprecated.
use
hasOpenTransaction() instead |
public ERXForwardingAdaptorContext(com.webobjects.eoaccess.EOAdaptor adaptor, com.webobjects.eoaccess.EOAdaptorContext forwardedContext)
public static Object defaultDelegate()
public com.webobjects.eoaccess.EOAdaptorContext forwardedContext()
public void _registerForAdaptorContextNotifications()
public void _unregisterForAdaptorContextNotifications()
public void handleDroppedConnection()
handleDroppedConnection
in class com.webobjects.eoaccess.EOAdaptorContext
public void _beginTransaction(com.webobjects.foundation.NSNotification notification)
public void _commitTransaction(com.webobjects.foundation.NSNotification notification)
public void _rollbackTransaction(com.webobjects.foundation.NSNotification notification)
public void beginTransaction()
beginTransaction
in class com.webobjects.eoaccess.EOAdaptorContext
public void commitTransaction()
commitTransaction
in class com.webobjects.eoaccess.EOAdaptorContext
public void rollbackTransaction()
rollbackTransaction
in class com.webobjects.eoaccess.EOAdaptorContext
@Deprecated public int transactionNestingLevel()
hasOpenTransaction()
insteadtransactionNestingLevel
in class com.webobjects.eoaccess.EOAdaptorContext
public boolean hasOpenTransaction()
hasOpenTransaction
in class com.webobjects.eoaccess.EOAdaptorContext
public void transactionDidBegin()
transactionDidBegin
in class com.webobjects.eoaccess.EOAdaptorContext
public void transactionDidCommit()
transactionDidCommit
in class com.webobjects.eoaccess.EOAdaptorContext
public void transactionDidRollback()
transactionDidRollback
in class com.webobjects.eoaccess.EOAdaptorContext
public boolean hasBusyChannels()
hasBusyChannels
in class com.webobjects.eoaccess.EOAdaptorContext
public boolean hasOpenChannels()
hasOpenChannels
in class com.webobjects.eoaccess.EOAdaptorContext
public NSArray channels()
channels
in class com.webobjects.eoaccess.EOAdaptorContext
public com.webobjects.eoaccess.EOAdaptor originalAdaptor()
public com.webobjects.eoaccess.EOAdaptor adaptor()
adaptor
in class com.webobjects.eoaccess.EOAdaptorContext
public com.webobjects.eoaccess.EOAdaptorChannel createAdaptorChannel()
createAdaptorChannel
in class com.webobjects.eoaccess.EOAdaptorContext
public Object delegate()
delegate
in class com.webobjects.eoaccess.EOAdaptorContext
public void setDelegate(Object delegate)
setDelegate
in class com.webobjects.eoaccess.EOAdaptorContext
public void _registerAdaptorChannel(com.webobjects.eoaccess.EOAdaptorChannel channel)
_registerAdaptorChannel
in class com.webobjects.eoaccess.EOAdaptorContext
public void _unregisterAdaptorChannel(com.webobjects.eoaccess.EOAdaptorChannel channel)
_unregisterAdaptorChannel
in class com.webobjects.eoaccess.EOAdaptorContext
@Deprecated public boolean canNestTransactions()
canNestTransactions
in class com.webobjects.eoaccess.EOAdaptorContext
public NSDictionary _newPrimaryKey(com.webobjects.eocontrol.EOEnterpriseObject object, com.webobjects.eoaccess.EOEntity entity)
_newPrimaryKey
in class com.webobjects.eoaccess.EOAdaptorContext
Copyright © 2002 – 2020 Project Wonder.