|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.wotonomy.control.EODataSource
net.wotonomy.control.ChildDataSource
public class ChildDataSource
A data source that automates the process of
creating a child editing context and copying
objects from a parent context into it.
Attach this data source to a display group
that represents a "detail" or "drill-down"
view.
Once created, editingContext() will return the
child context, and fetch() will return the objects
that were copied into the child context.
Constructor Summary | |
---|---|
ChildDataSource(EODataSource aParentSource,
java.util.Collection anObjectList)
Creates a child editing context for the specified parent's context and copies the specified objects into the child context. |
|
ChildDataSource(EODataSource aParentSource,
java.lang.Object anObject)
Creates a child editing context for the specified parent's context and copies the specified object into the child context. |
Method Summary | |
---|---|
EOClassDescription |
classDescriptionForObjects()
Returns the description of the class of the objects that is vended by this data source, or null if this cannot be determined. |
EODataSource |
dataSourceQualifiedByKey(java.lang.String aKey)
Returns a data source that is capable of manipulating objects of the type returned by applying the specified key to objects vended by this data source. |
void |
deleteObject(java.lang.Object anObject)
This implementation does nothing. |
EOEditingContext |
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. |
net.wotonomy.foundation.NSArray |
fetchObjects()
Returns a List containing the objects in this data source. |
void |
insertObject(java.lang.Object anObject)
This implementation does nothing. |
void |
qualifyWithRelationshipKey(java.lang.String aKey,
java.lang.Object anObject)
Restricts this data source to vend those objects that are associated with the specified key on the specified object. |
Methods inherited from class net.wotonomy.control.EODataSource |
---|
createObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChildDataSource(EODataSource aParentSource, java.lang.Object anObject)
public ChildDataSource(EODataSource aParentSource, java.util.Collection anObjectList)
Method Detail |
---|
public EOEditingContext editingContext()
editingContext
in class EODataSource
public void insertObject(java.lang.Object anObject)
insertObject
in class EODataSource
public void deleteObject(java.lang.Object anObject)
deleteObject
in class EODataSource
public net.wotonomy.foundation.NSArray fetchObjects()
fetchObjects
in class EODataSource
public EODataSource dataSourceQualifiedByKey(java.lang.String aKey)
dataSourceQualifiedByKey
in class EODataSource
qualifyWithRelationshipKey(java.lang.String, java.lang.Object)
public void qualifyWithRelationshipKey(java.lang.String aKey, java.lang.Object anObject)
qualifyWithRelationshipKey
in class EODataSource
public EOClassDescription classDescriptionForObjects()
classDescriptionForObjects
in class EODataSource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |