|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use EOEditingContext | |
---|---|
net.wotonomy.access | |
net.wotonomy.control | Support classes needed by the ui and web packages. |
Uses of EOEditingContext in net.wotonomy.access |
---|
Fields in net.wotonomy.access declared as EOEditingContext | |
---|---|
protected EOEditingContext |
EODatabaseChannel._currEC
|
protected EOEditingContext |
EODatabaseContext._currEC
|
protected EOEditingContext |
EOAccessGenericFaultHandler._ec
|
Methods in net.wotonomy.access that return EOEditingContext | |
---|---|
EOEditingContext |
EOAccessGenericFaultHandler.editingContext()
|
Methods in net.wotonomy.access with parameters of type EOEditingContext | |
---|---|
net.wotonomy.foundation.NSArray |
EODatabaseContext.arrayFaultWithSourceGlobalID(EOGlobalID gid,
java.lang.String relName,
EOEditingContext ec)
|
void |
EODatabaseContext.batchFetchRelationship(EORelationship rel,
net.wotonomy.foundation.NSArray arr,
EOEditingContext ec)
|
java.lang.Object |
EOEntityClassDescription.createInstanceWithEditingContext(EOEditingContext ec,
EOGlobalID gid)
|
void |
EODatabaseContext.editingContextDidForgetObjectWithGlobalID(EOEditingContext ec,
EOGlobalID gid)
|
java.lang.Object |
EODatabaseContext.faultForGlobalID(EOGlobalID gid,
EOEditingContext ec)
|
java.lang.Object |
EODatabaseContext.faultForRawRow(java.util.Map row,
java.lang.String entityName,
EOEditingContext ec)
|
void |
EODatabaseContext.initializeObject(java.lang.Object eo,
EOGlobalID gid,
EOEditingContext ec)
|
boolean |
EODatabaseContext.isObjectLockedWithGlobalID(EOGlobalID gid,
EOEditingContext ec)
|
void |
EODatabaseContext.lockObjectWithGlobalID(EOGlobalID gid,
EOEditingContext ec)
|
net.wotonomy.foundation.NSArray |
EODatabaseContext.objectsForSourceGlobalID(EOGlobalID gid,
java.lang.String relationName,
EOEditingContext ec)
|
net.wotonomy.foundation.NSArray |
EODatabaseContext.objectsWithFetchSpecification(EOFetchSpecification fspec,
EOEditingContext ec)
|
void |
EODatabaseContext.prepareForSaveWithCoordinator(EOObjectStoreCoordinator coord,
EOEditingContext ec)
|
void |
EODatabaseContext.refaultObject(java.lang.Object obj,
EOGlobalID gid,
EOEditingContext ec)
|
void |
EODatabaseContext.saveChangesInEditingContext(EOEditingContext ec)
|
void |
EODatabaseChannel.selectObjectsWithFetchSpecification(EOFetchSpecification fspec,
EOEditingContext ec)
|
protected void |
EOAccessGenericFaultHandler.setContext(EODatabaseContext dbc,
EOEditingContext ec)
|
void |
EODatabaseChannel.setCurrentEditingContext(EOEditingContext ec)
|
Constructors in net.wotonomy.access with parameters of type EOEditingContext | |
---|---|
EOAccessArrayFaultHandler(EOKeyGlobalID sourceID,
java.lang.String relationName,
EODatabaseContext dbc,
EOEditingContext ec)
|
|
EOAccessFaultHandler(EOKeyGlobalID gid,
EODatabaseContext dbc,
EOEditingContext ec)
|
Uses of EOEditingContext in net.wotonomy.control |
---|
Subclasses of EOEditingContext in net.wotonomy.control | |
---|---|
class |
EditingContext
EditingContext provides transactional support for fetching, editing, and committing changes made on a collection of objects to a parent object store. |
Fields in net.wotonomy.control declared as EOEditingContext | |
---|---|
protected EOEditingContext |
PropertyDataSource.context
|
Methods in net.wotonomy.control that return EOEditingContext | |
---|---|
EOEditingContext |
ChildDataSource.editingContext()
Returns the editing context for this data source, which was created in the constructor and whose parent is the editing context specified in the constructor. |
EOEditingContext |
EOCustomObject.editingContext()
Returns the editing context in which this object is registered. |
EOEditingContext |
EODatabaseDataSource.editingContext()
Returns the editing context for this data source, or null if no editing context was specified. |
EOEditingContext |
EODataSource.editingContext()
Returns the editing context for this data source, or null if no editing context is used. |
EOEditingContext |
EOEnterpriseObject.editingContext()
Returns the editing context in which this object is registered. |
EOEditingContext |
PropertyDataSource.editingContext()
|
Methods in net.wotonomy.control with parameters of type EOEditingContext | |
---|---|
net.wotonomy.foundation.NSArray |
AbstractObjectStore.arrayFaultWithSourceGlobalID(EOGlobalID aGlobalID,
java.lang.String aRelationship,
EOEditingContext aContext)
This implementation returns an appropriately configured array fault. |
net.wotonomy.foundation.NSArray |
EOEditingContext.arrayFaultWithSourceGlobalID(EOGlobalID aGlobalID,
java.lang.String aRelationshipKey,
EOEditingContext aContext)
Returns a read-only List of objects associated with the object with the specified id for the specified property relationship, or may return a placeholder array that will defer the fetch until needed (aka an array fault). |
abstract net.wotonomy.foundation.NSArray |
EOObjectStore.arrayFaultWithSourceGlobalID(EOGlobalID aGlobalID,
java.lang.String aRelationship,
EOEditingContext aContext)
Returns a List of objects associated with the object with the specified id for the specified property relationship, or may return a placeholder array that will defer the fetch until accessed (an array fault). |
net.wotonomy.foundation.NSArray |
EOObjectStoreCoordinator.arrayFaultWithSourceGlobalID(EOGlobalID eoglobalid,
java.lang.String s,
EOEditingContext eoeditingcontext)
|
void |
EOCustomObject.awakeFromFetch(EOEditingContext anEditingContext)
Called when the object has first been fetched into the specified editing context. |
void |
EOEnterpriseObject.awakeFromFetch(EOEditingContext anEditingContext)
Called when the object has first been fetched into the specified editing context. |
void |
EOCustomObject.awakeFromInsertion(EOEditingContext anEditingContext)
Called when the object has been inserted into the specified editing context. |
void |
EOEnterpriseObject.awakeFromInsertion(EOEditingContext anEditingContext)
Called when the object has been inserted into the specified editing context. |
void |
EOClassDescription.awakeObjectFromFetch(java.lang.Object object,
EOEditingContext anEditingContext)
This method is called when the specified object has been fetched into the specified editing context. |
void |
EOClassDescription.awakeObjectFromInsertion(java.lang.Object object,
EOEditingContext anEditingContext)
This method is called when the specified object has been inserted into the specified editing context. |
static java.lang.Object |
KeyValueCodingUtilities.clone(EOEditingContext aSourceContext,
java.lang.Object aSource,
EOEditingContext aDestinationContext)
Creates a deep clone of the specified object, registered in the specified source editing context, transposing it into the specified destination editing context. |
static java.lang.Object |
KeyValueCodingUtilities.copy(EOEditingContext aSourceContext,
java.lang.Object aSource,
EOEditingContext aDestinationContext,
java.lang.Object aDestination)
Copies values from one object registered in the specified origin context to the specified destination object The values themselves are cloned, so this is a deep copy. |
java.lang.Object |
EOClassDescription.createInstanceWithEditingContext(EOEditingContext anEditingContext,
EOGlobalID globalID)
Creates a new instance of the class represented by this class description, registering it with the specified editing context and global id. |
protected java.lang.Object |
AbstractObjectStore.createInstanceWithEditingContext(EOGlobalID aGlobalID,
EOEditingContext aContext)
Creates a new instance of an object that corresponds to the specified global id and is registered in the specified context. |
void |
EOEditingContext.editingContextDidForgetObjectWithGlobalID(EOEditingContext aContext,
EOGlobalID aGlobalID)
Called by child editing contexts when they no longer need to track the specified id. |
void |
EOObjectStore.editingContextDidForgetObjectWithGlobalID(EOEditingContext aContext,
EOGlobalID aGlobalID)
Called by editing contexts when they no longer need to track the specified id. |
void |
EOObjectStoreCoordinator.editingContextDidForgetObjectWithGlobalID(EOEditingContext eoeditingcontext,
EOGlobalID eoglobalid)
|
void |
EOEditingContext.Delegate.editingContextDidMergeChanges(EOEditingContext anEditingContext)
Called after the editing context has completed merge operations on one or more objects after receiving an ObjectChangedInStore notification. |
void |
EOEditingContext.MessageHandler.editingContextPresentErrorMessage(EOEditingContext anEditingContext,
java.lang.String aMessage)
Called to display a message for an error that occurred in the specified editing context. |
boolean |
EOEditingContext.MessageHandler.editingContextShouldContinueFetching(EOEditingContext anEditingContext,
int count,
int limit,
EOObjectStore anObjectStore)
Called by the specified object store to determine whether fetching should continue, where count is the current count and limit is the limit as specified by the fetch specification. |
net.wotonomy.foundation.NSArray |
EOEditingContext.Delegate.editingContextShouldFetchObjects(EOEditingContext anEditingContext,
EOFetchSpecification fetchSpecification)
Called by objectsWithFetchSpecification. |
boolean |
EOEditingContext.Delegate.editingContextShouldInvalidateObject(EOEditingContext anEditingContext,
java.lang.Object anObject,
EOGlobalID aGlobalID)
Called to determine whether an object should be invalidated. |
boolean |
EOEditingContext.Delegate.editingContextShouldMergeChangesForObject(EOEditingContext anEditingContext,
java.lang.Object anObject)
Called to determine whether the editing context should attempt to merge changes in the specified object that the parent store says has changed via an ObjectChangedInStore notification. |
boolean |
EOEditingContext.Delegate.editingContextShouldPresentException(EOEditingContext anEditingContext,
java.lang.Throwable exception)
Returns whether the editing context should ask its message handler to display a message. |
boolean |
EOEditingContext.Delegate.editingContextShouldUndoUserActionsAfterFailure(EOEditingContext anEditingContext)
Returns whether the editing context should undo the most recent set of changes that resulted in a validation failure. |
boolean |
EOEditingContext.Delegate.editingContextShouldValidateChanges(EOEditingContext anEditingContext)
Returns whether the editing context should validate the most recent set of changes. |
void |
EOEditingContext.Delegate.editingContextWillSaveChanges(EOEditingContext anEditingContext)
Called before the editing context saves its changes to the parent object store. |
void |
EOEditingContext.Editor.editingContextWillSaveChanges(EOEditingContext anEditingContext)
Called before the editing context saves its changes to the parent object store. |
boolean |
EOEditingContext.Editor.editorHasChangesForEditingContext(EOEditingContext anEditingContext)
Called to determine whether this editor has changes that have not been committed to the object in the context. |
java.lang.Object |
AbstractObjectStore.faultForGlobalID(EOGlobalID aGlobalID,
EOEditingContext aContext)
This implementation returns the actual object for the specified id. |
java.lang.Object |
EOEditingContext.faultForGlobalID(EOGlobalID aGlobalID,
EOEditingContext aContext)
Returns the object for the specified id. |
abstract java.lang.Object |
EOObjectStore.faultForGlobalID(EOGlobalID aGlobalID,
EOEditingContext aContext)
Returns the object for the specified id. |
java.lang.Object |
EOObjectStoreCoordinator.faultForGlobalID(EOGlobalID eoglobalid,
EOEditingContext eoeditingcontext)
|
java.lang.Object |
AbstractObjectStore.faultForRawRow(java.util.Map aDictionary,
java.lang.String anEntityName,
EOEditingContext aContext)
Returns a fault representing an object of the specified entity type with values from the specified dictionary. |
java.lang.Object |
EOEditingContext.faultForRawRow(java.util.Map aDictionary,
java.lang.String anEntityName,
EOEditingContext aContext)
Returns a fault representing an object of the specified entity type with values from the specified dictionary. |
abstract java.lang.Object |
EOObjectStore.faultForRawRow(java.util.Map aDictionary,
java.lang.String anEntityName,
EOEditingContext aContext)
Returns a fault representing an object of the specified entity type with values from the specified dictionary. |
java.lang.Object |
EOObjectStoreCoordinator.faultForRawRow(java.util.Map aDictionary,
java.lang.String anEntityName,
EOEditingContext aContext)
|
java.lang.Object |
EOObjectStoreCoordinator.faultForRawRow(net.wotonomy.foundation.NSDictionary nsdictionary,
java.lang.String s,
EOEditingContext eoeditingcontext)
|
static byte[] |
KeyValueCodingUtilities.freeze(java.lang.Object anObject,
EOEditingContext aContext,
java.lang.Object aRootObject,
boolean transpose)
Serializes an object to a byte array containing GlobalIDMarkers in place of references to other objects registered in the specified context. |
java.util.List |
EditingContext.getArrayFaultWithSourceGlobalID(EOGlobalID aGlobalID,
java.lang.String aRelationshipKey,
EOEditingContext aContext)
Returns a List of objects associated with the object with the specified id for the specified property relationship, or may return a placeholder array that will defer the fetch until needed (aka an array fault). |
protected java.util.Map |
AbstractObjectStore.getUpdateMap(EOEditingContext aContext,
java.lang.Object anObject)
This method returns a map containing just the keys that are modified for a given object, converting any to-one or to-many relationships to id references. |
void |
AbstractObjectStore.initializeObject(java.lang.Object anObject,
EOGlobalID aGlobalID,
EOEditingContext aContext)
Given a newly instantiated object, this method initializes its properties to values appropriate for the specified id. |
void |
EOEditingContext.initializeObject(java.lang.Object anObject,
EOGlobalID aGlobalID,
EOEditingContext aContext)
Given a newly instantiated object, this method initializes its properties to values appropriate for the specified id. |
abstract void |
EOObjectStore.initializeObject(java.lang.Object eo,
EOGlobalID aGlobalID,
EOEditingContext aContext)
Given a newly instantiated object, this method initializes its properties to values appropriate for the specified id. |
void |
EOObjectStoreCoordinator.initializeObject(java.lang.Object anObject,
EOGlobalID aGlobalID,
EOEditingContext aContext)
|
boolean |
AbstractObjectStore.isObjectLockedWithGlobalID(EOGlobalID aGlobalID,
EOEditingContext aContext)
Returns false because locking is not currently permitted. |
boolean |
EOEditingContext.isObjectLockedWithGlobalID(EOGlobalID aGlobalID,
EOEditingContext aContext)
Returns whether the object referenced by the specified id is locked. |
abstract boolean |
EOObjectStore.isObjectLockedWithGlobalID(EOGlobalID aGlobalID,
EOEditingContext aContext)
Returns whether the object corresponding to the specified id is locked. |
boolean |
EOObjectStoreCoordinator.isObjectLockedWithGlobalID(EOGlobalID eoglobalid,
EOEditingContext eoeditingcontext)
|
void |
AbstractObjectStore.lockObjectWithGlobalID(EOGlobalID aGlobalID,
EOEditingContext aContext)
Does nothing because locking is not currently permitted. |
void |
EOEditingContext.lockObjectWithGlobalID(EOGlobalID aGlobalID,
EOEditingContext aContext)
Locks the object referenced by the specified id in the specified editing context. |
abstract void |
EOObjectStore.lockObjectWithGlobalID(EOGlobalID aGlobalID,
EOEditingContext aContext)
Locks the object corresponding to the specified id is locked. |
void |
EOObjectStoreCoordinator.lockObjectWithGlobalID(EOGlobalID eoglobalid,
EOEditingContext eoeditingcontext)
|
net.wotonomy.foundation.NSArray |
AbstractObjectStore.objectsForSourceGlobalID(EOGlobalID aGlobalID,
java.lang.String aRelationship,
EOEditingContext aContext)
Returns a List of objects associated with the object with the specified id for the specified property relationship. |
net.wotonomy.foundation.NSArray |
EOEditingContext.objectsForSourceGlobalID(EOGlobalID aGlobalID,
java.lang.String aRelationshipKey,
EOEditingContext aContext)
Returns a read-only List of objects associated with the object with the specified id for the specified property relationship. |
abstract net.wotonomy.foundation.NSArray |
EOObjectStore.objectsForSourceGlobalID(EOGlobalID aGlobalID,
java.lang.String aRelationship,
EOEditingContext aContext)
Returns a List of objects associated with the object with the specified id for the specified property relationship. |
net.wotonomy.foundation.NSArray |
EOObjectStoreCoordinator.objectsForSourceGlobalID(EOGlobalID eoglobalid,
java.lang.String s,
EOEditingContext eoeditingcontext)
|
net.wotonomy.foundation.NSArray |
AbstractObjectStore.objectsWithFetchSpecification(EOFetchSpecification aFetchSpec,
EOEditingContext aContext)
Returns a List of objects the meet the criteria of the supplied specification. |
net.wotonomy.foundation.NSArray |
EOEditingContext.objectsWithFetchSpecification(EOFetchSpecification aFetchSpec,
EOEditingContext aContext)
Returns a read-only List of objects the meet the criteria of the supplied specification. |
abstract net.wotonomy.foundation.NSArray |
EOObjectStore.objectsWithFetchSpecification(EOFetchSpecification aFetchSpec,
EOEditingContext aContext)
Returns a List of objects the meet the criteria of the supplied specification. |
net.wotonomy.foundation.NSArray |
EOObjectStoreCoordinator.objectsWithFetchSpecification(EOFetchSpecification eofetchspecification,
EOEditingContext eoeditingcontext)
|
abstract void |
EOCooperatingObjectStore.prepareForSaveWithCoordinator(EOObjectStoreCoordinator eoobjectstorecoordinator,
EOEditingContext eoeditingcontext)
|
protected java.lang.Object |
AbstractObjectStore.processInsert(EOEditingContext aContext,
java.lang.Object object)
|
void |
EOClassDescription.propagateDeleteForObject(java.lang.Object object,
EOEditingContext anEditingContext)
Called when this object has been deleted from the specified editing context. |
void |
EOCustomObject.propagateDeleteWithEditingContext(EOEditingContext aContext)
Called to perform the delete propagation for this object on the specified editing context. |
void |
EOEnterpriseObject.propagateDeleteWithEditingContext(EOEditingContext aContext)
Called to perform the delete propagation for this object on the specified editing context. |
void |
AbstractObjectStore.refaultObject(java.lang.Object anObject,
EOGlobalID aGlobalID,
EOEditingContext aContext)
Removes all values from the specified object, converting it into a fault for the specified id. |
void |
EOEditingContext.refaultObject(java.lang.Object anObject,
EOGlobalID aGlobalID,
EOEditingContext aContext)
Refaults the specified object, turning it into a fault for the specified global id in the specified context. |
abstract void |
EOObjectStore.refaultObject(java.lang.Object anObject,
EOGlobalID aGlobalID,
EOEditingContext aContext)
Removes all values from the specified object, converting it into a fault for the specified id. |
void |
EOObjectStoreCoordinator.refaultObject(java.lang.Object anObject,
EOGlobalID aGlobalID,
EOEditingContext aContext)
|
void |
AbstractObjectStore.saveChangesInEditingContext(EOEditingContext aContext)
Writes all changes in the specified editing context to the respository. |
void |
EOEditingContext.saveChangesInEditingContext(EOEditingContext aContext)
Commits all changes in the specified editing context to this one. |
abstract void |
EOObjectStore.saveChangesInEditingContext(EOEditingContext aContext)
Writes all changes in the specified editing context to the respository. |
void |
EOObjectStoreCoordinator.saveChangesInEditingContext(EOEditingContext eoeditingcontext)
|
static java.lang.Object |
KeyValueCodingUtilities.thaw(byte[] aByteArray,
EOEditingContext aContext,
boolean transpose)
De-serializes an object from the specified byte array, replacing GlobalIDMarkers with reference to objects registered in the specified editing context. |
static java.lang.Object |
KeyValueCodingUtilities.thaw(byte[] aByteArray,
EOEditingContext aContext,
java.lang.ClassLoader aLoader,
boolean transpose)
De-serializes an object from the specified byte array, replacing GlobalIDMarkers with reference to objects registered in the specified editing context. |
Constructors in net.wotonomy.control with parameters of type EOEditingContext | |
---|---|
ArrayFault(EOGlobalID aSourceID,
java.lang.String aRelationshipKey,
EOEditingContext aContext)
|
|
EOCustomObject(EOEditingContext aContext,
EOClassDescription aClassDescription,
EOGlobalID aGlobalID)
Preferred constructor, specifying an editing context, a class description, and a global id, any or all of which may be null. |
|
EODatabaseDataSource(EOEditingContext aContext,
java.lang.String anEntityName)
Constructs a data source that fetches all objects of the specified entity type. |
|
EODatabaseDataSource(EOEditingContext aContext,
java.lang.String anEntityName,
java.lang.String aFetchSpecName)
Constructs a data source that fetches objects of the specified entity type according to the fetch specification with the specified name. |
|
EOGenericRecord(EOEditingContext aContext,
EOClassDescription aDescription,
EOGlobalID anID)
Compatibility constructor: aContext and anID are ignored. |
|
PropertyDataSource(EOEditingContext aContext)
Creates a new PropertyDataSource that uses the specified editing context, but will try to guess the appropriate class description when trying to create objects. |
|
PropertyDataSource(EOEditingContext aContext,
java.lang.Class aClass)
Creates a new PropertyDataSource that uses the specified editing context and vends objects of the specified class. |
|
PropertyDataSource(EOEditingContext aContext,
EOClassDescription aClassDesc)
Creates a new PropertyDataSource that uses the specified editing context and vends objects of the specified class description. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |