PATH |
EODocument
Implemented by:EODocumentController
Implements: EOObjectDisplay
Package: com.webobjects.eoapplication
Interface Description
EODocument is an interface that defines the behavior of a controller that displays and edits enterprise objects.
Instance Methods
isDocumentForGlobalID
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.
isEdited
public abstract boolean isEdited()
true
if the receiver has unsaved edits, false
otherwise.
save
public abstract boolean save()
true
on success or false
otherwise.
saveIfUserConfirms
public abstract boolean saveIfUserConfirms( String operationTitle, String message)
true
if the save succeeds, false
upon failure or if the user cancels.
setEdited
public abstract void setEdited(boolean flag)
© 2001 Apple Computer, Inc. (Last Published April 14, 2001)