|
Project Wonder 5.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecter.extensions.eof.ERXEC.DefaultFactory
public static class ERXEC.DefaultFactory
Default implementation of the Factory interface.
Field Summary | |
---|---|
protected java.lang.Object |
defaultEditingContextDelegate
holds a reference to the default ec delegate |
protected java.lang.Object |
defaultNoValidationDelegate
holds a reference to the default no validation delegate |
static org.apache.log4j.Logger |
log
logging support |
protected java.lang.Boolean |
useSharedEditingContext
holds whether to newly created instances use the shared editing context. |
Constructor Summary | |
---|---|
ERXEC.DefaultFactory()
|
Method Summary | |
---|---|
protected com.webobjects.eocontrol.EOEditingContext |
_createEditingContext(com.webobjects.eocontrol.EOObjectStore parent)
Actual EC creation bottleneck. |
com.webobjects.eocontrol.EOEditingContext |
_newEditingContext()
See static method for documentation. |
com.webobjects.eocontrol.EOEditingContext |
_newEditingContext(boolean validationEnabled)
See static method for documentation. |
com.webobjects.eocontrol.EOEditingContext |
_newEditingContext(com.webobjects.eocontrol.EOObjectStore objectStore)
See static method for documentation. |
com.webobjects.eocontrol.EOEditingContext |
_newEditingContext(com.webobjects.eocontrol.EOObjectStore objectStore,
boolean validationEnabled)
See static method for documentation. |
java.lang.Object |
defaultEditingContextDelegate()
Returns the default editing context delegate. |
java.lang.Object |
defaultNoValidationDelegate()
Default delegate that does not perform validation. |
void |
setDefaultDelegateOnEditingContext(com.webobjects.eocontrol.EOEditingContext ec)
Sets the default editing context delegate on the given editing context. |
void |
setDefaultDelegateOnEditingContext(com.webobjects.eocontrol.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. |
void |
setDefaultEditingContextDelegate(java.lang.Object delegate)
Sets the default editing context delegate to be used for editing context creation. |
void |
setDefaultNoValidationDelegate(java.lang.Object delegate)
Sets the default editing context delegate to be used for editing context creation that does not allow validation. |
void |
setUseSharedEditingContext(boolean value)
|
boolean |
useSharedEditingContext()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.apache.log4j.Logger log
protected java.lang.Object defaultEditingContextDelegate
protected java.lang.Object defaultNoValidationDelegate
protected java.lang.Boolean useSharedEditingContext
Constructor Detail |
---|
public ERXEC.DefaultFactory()
Method Detail |
---|
public java.lang.Object defaultEditingContextDelegate()
defaultEditingContextDelegate
in interface ERXEC.Factory
public void setDefaultEditingContextDelegate(java.lang.Object delegate)
setDefaultEditingContextDelegate
in interface ERXEC.Factory
delegate
- to be set on every created editing context by default.public java.lang.Object defaultNoValidationDelegate()
defaultNoValidationDelegate
in interface ERXEC.Factory
public void setDefaultNoValidationDelegate(java.lang.Object delegate)
setDefaultNoValidationDelegate
in interface ERXEC.Factory
delegate
- to be set on every created editing context that doesn't
allow validation.public void setDefaultDelegateOnEditingContext(com.webobjects.eocontrol.EOEditingContext ec, boolean validation)
setDefaultDelegateOnEditingContext
in interface ERXEC.Factory
ec
- editing context to have it's delegate set.validation
- flag that determines if the editing context should perform
validation on objects being saved.public void setDefaultDelegateOnEditingContext(com.webobjects.eocontrol.EOEditingContext ec)
setDefaultDelegateOnEditingContext
in interface ERXEC.Factory
ec
- editing context to have it's delegate set.public com.webobjects.eocontrol.EOEditingContext _newEditingContext()
_newEditingContext
in interface ERXEC.Factory
public com.webobjects.eocontrol.EOEditingContext _newEditingContext(boolean validationEnabled)
_newEditingContext
in interface ERXEC.Factory
public com.webobjects.eocontrol.EOEditingContext _newEditingContext(com.webobjects.eocontrol.EOObjectStore objectStore)
_newEditingContext
in interface ERXEC.Factory
public com.webobjects.eocontrol.EOEditingContext _newEditingContext(com.webobjects.eocontrol.EOObjectStore objectStore, boolean validationEnabled)
_newEditingContext
in interface ERXEC.Factory
protected com.webobjects.eocontrol.EOEditingContext _createEditingContext(com.webobjects.eocontrol.EOObjectStore parent)
public boolean useSharedEditingContext()
useSharedEditingContext
in interface ERXEC.Factory
public void setUseSharedEditingContext(boolean value)
setUseSharedEditingContext
in interface ERXEC.Factory
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |