ERXEditingContextDelegate Class Reference

Inherited by ERXDefaultEditingContextDelegate, and ERXECNoValidationDelegate.

Collaboration diagram for ERXEditingContextDelegate:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ERXEditingContextDelegate ()

Static Public Member Functions

static boolean _checkEditingContextDelegate (EOEditingContext editingContext)

Static Public Attributes

static final Logger log


Detailed Description

This delegate does nothing. It is used to make the environment happy in that some parts of the system require that a delegate be set on the editing context. In those cases use an instance of this delegate. All of the other delegates subclass this delegate. The main delegate that is used is ERXDefaultEditingContextDelegate.

Constructor & Destructor Documentation

No arg constructor for Serializable.


Member Function Documentation

static boolean _checkEditingContextDelegate ( EOEditingContext  editingContext  )  [static]

By default, and this should change in the future, all editing contexts that are created and use ERXGenericRecords or subclasses need to have a delegate set of instance ERXEditingContextDelegate. These delegates provide the augmentation to the regular transaction mechanism, all of the will* methods plus the flushCaching method. To change the default behaviour set the property: er.extensions.ERXRaiseOnMissingEditingContextDelegate to false in your WebObjects.properties file. This method is called when an object is fetched, updated or inserted.

Parameters:
editingContext to check for the correct delegate.
Returns:
if the editing context has the correct delegate set.


Member Data Documentation

final Logger log [static]

Initial value:

 Logger
            .getLogger(ERXEditingContextDelegate.class)
general logging support

Reimplemented in ERXDefaultEditingContextDelegate.


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

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