Inherited by ERXObjectStoreCoordinatorPool.MultiOSCFactory.

Public Member Functions | |
| EOEditingContext | _newEditingContext (EOObjectStore objectStore, boolean validationEnabled) |
| EOEditingContext | _newEditingContext (EOObjectStore objectStore) |
| EOEditingContext | _newEditingContext (boolean validationEnabled) |
| EOEditingContext | _newEditingContext () |
| Object | defaultEditingContextDelegate () |
| DefaultFactory () | |
| Object | defaultNoValidationDelegate () |
| void | setDefaultDelegateOnEditingContext (EOEditingContext ec) |
| void | setDefaultDelegateOnEditingContext (EOEditingContext ec, boolean validation) |
| void | setDefaultEditingContextDelegate (Object delegate) |
| void | setDefaultNoValidationDelegate (Object delegate) |
| void | setUseSharedEditingContext (boolean value) |
| boolean | useSharedEditingContext () |
Static Public Attributes | |
| static final Logger | log = Logger.getLogger(DefaultFactory.class) |
Protected Member Functions | |
| EOEditingContext | _createEditingContext (EOObjectStore parent) |
Protected Attributes | |
| Object | defaultEditingContextDelegate |
| Object | defaultNoValidationDelegate |
| Boolean | useSharedEditingContext = null |
| DefaultFactory | ( | ) |
| EOEditingContext _createEditingContext | ( | EOObjectStore | parent | ) | [protected] |
Actual EC creation bottleneck. Override this to return other subclasses.
| EOEditingContext _newEditingContext | ( | EOObjectStore | objectStore, | |
| boolean | validationEnabled | |||
| ) |
See static method for documentation.
Implements ERXEC.Factory.
| EOEditingContext _newEditingContext | ( | EOObjectStore | objectStore | ) |
See static method for documentation.
Implements ERXEC.Factory.
| EOEditingContext _newEditingContext | ( | boolean | validationEnabled | ) |
See static method for documentation.
Implements ERXEC.Factory.
Reimplemented in ERXObjectStoreCoordinatorPool.MultiOSCFactory.
| EOEditingContext _newEditingContext | ( | ) |
See static method for documentation.
Implements ERXEC.Factory.
Reimplemented in ERXObjectStoreCoordinatorPool.MultiOSCFactory.
| Object defaultEditingContextDelegate | ( | ) |
Returns the default editing context delegate. This delegate is used by default for all editing contexts that are created.
Implements ERXEC.Factory.
| Object defaultNoValidationDelegate | ( | ) |
Default delegate that does not perform validation. Not performing validation can be a good thing when using nested editing contexts as sometimes you only want to validate one object, not all the objects.
Implements ERXEC.Factory.
| void setDefaultDelegateOnEditingContext | ( | EOEditingContext | ec | ) |
Sets the default editing context delegate on the given editing context.
| ec | editing context to have it's delegate set. |
Implements ERXEC.Factory.
| void setDefaultDelegateOnEditingContext | ( | EOEditingContext | ec, | |
| boolean | validation | |||
| ) |
Sets either the default editing context delegate that does or does not allow validation based on the validation flag passed in on the given editing context.
| ec | editing context to have it's delegate set. | |
| validation | flag that determines if the editing context should perform validation on objects being saved. |
Implements ERXEC.Factory.
| void setDefaultEditingContextDelegate | ( | Object | delegate | ) |
Sets the default editing context delegate to be used for editing context creation.
| delegate | to be set on every created editing context by default. |
Implements ERXEC.Factory.
| void setDefaultNoValidationDelegate | ( | Object | delegate | ) |
Sets the default editing context delegate to be used for editing context creation that does not allow validation.
| delegate | to be set on every created editing context that doesn't allow validation. |
Implements ERXEC.Factory.
| void setUseSharedEditingContext | ( | boolean | value | ) |
Implements ERXEC.Factory.
| boolean useSharedEditingContext | ( | ) |
Implements ERXEC.Factory.
Object defaultEditingContextDelegate [protected] |
holds a reference to the default ec delegate
Object defaultNoValidationDelegate [protected] |
holds a reference to the default no validation delegate
Boolean useSharedEditingContext = null [protected] |
holds whether to newly created instances use the shared editing context.
1.5.8