ERXAdaptorOperationWrapper Class Reference

Inherits java::io::Serializable.

Collaboration diagram for ERXAdaptorOperationWrapper:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ERXAdaptorOperationWrapper (EOAdaptorOperation aop)
EOAdaptorOperation operation ()

Static Public Member Functions

static void adaptorOperationsDidPerform (NSArray ops)
static void performWrappedAdaptorOperations (NSArray ops)
static NSArray wrappedAdaptorOperations (NSArray adaptorOps)

Static Public Attributes

static final String AdaptorOperationsDidPerformNotification = "AdaptorOperationsDidPerform"
static final NSRecursiveLock adaptorOperationsLock = new NSRecursiveLock()
static final Logger log = Logger.getLogger(ERXAdaptorOperationWrapper.class)

Package Attributes

String entityName
transient EOAdaptorOperation operation

Static Private Member Functions

static boolean postAdaptorOperationNotifications ()

Private Attributes

NSArray attributes
NSDictionary changedValues
int operator
EOQualifier qualifier

Static Private Attributes

static Boolean postAdaptorOperationNotifications = null


Detailed Description

This class is a wrapper for the EOAdaptorOperation class in order to serialized the information from an EOAdaptorOperation to files. It can used for example by ERXDatabaseContextDelegate to serialize operations to disk, useful for cross database replications.

Author:
david@cluster9.com

ak moved stuff from ERXEOAccessUtilities to here


Constructor & Destructor Documentation

ERXAdaptorOperationWrapper ( EOAdaptorOperation  aop  ) 


Member Function Documentation

static void adaptorOperationsDidPerform ( NSArray  ops  )  [static]

EOAdaptorOperation operation (  ) 

static void performWrappedAdaptorOperations ( NSArray  ops  )  [static]

Unwraps and performs the supplied adaptor operations.

Parameters:
ops 

static boolean postAdaptorOperationNotifications (  )  [static, private]

Returns:
true if the system property er.extensions.ERXDatabaseContextDelegate.postAdaptorOperationNotifications is set to true and if ERXThreadStorage.valueForKey(disabledForThreadKey) returns false or null, false otherwise.

static NSArray wrappedAdaptorOperations ( NSArray  adaptorOps  )  [static]

Returns an array of ERXAdaptorOperations that can be serialzed to the transport of your choice.

Parameters:
adaptorOps 


Member Data Documentation

final String AdaptorOperationsDidPerformNotification = "AdaptorOperationsDidPerform" [static]

final NSRecursiveLock adaptorOperationsLock = new NSRecursiveLock() [static]

NSArray attributes [private]

NSDictionary changedValues [private]

String entityName [package]

final Logger log = Logger.getLogger(ERXAdaptorOperationWrapper.class) [static]

transient EOAdaptorOperation operation [package]

int operator [private]

Boolean postAdaptorOperationNotifications = null [static, private]

EOQualifier qualifier [private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:07 2012 for Project Wonder by  doxygen 1.5.8