PATH |
Implemented by:EODocumentController
Implements: EOObjectDisplay
Package: com.webobjects.eoapplication
EODocument is an interface that defines the behavior of a controller that displays and edits enterprise objects.
public abstract boolean isDocumentForGlobalID( com.webobjects.eocontrol.EOGlobalID globalID, String entityName)
true
if the receiver is a document for the enterprise object associated with globalID and entityName, false
otherwise. Typically implementations return true if the receiver's display group is displaying the specified enteprise object.
public abstract boolean isEdited()
true
if the receiver has unsaved edits, false
otherwise.
public abstract boolean save()
true
on success or false
otherwise.
public abstract boolean saveIfUserConfirms( String operationTitle, String message)
true
if the save succeeds, false
upon failure or if the user cancels.
public abstract void setEdited(boolean flag)
© 2001 Apple Computer, Inc. (Last Published April 14, 2001)