Documentation Archive Developer
Search
PATH  WebObjects 4.0 Documentation > What's New in EOF 3.0

Table of Contents Previous Section

Deprecated API

Enterprise Objects Framework 3.0 introduces API improvements that require deprecating existing API. You'll still be able to use deprecated API, but you'll receive a warning at runtime. The following tables summarize the deprecated API.
Fetch Specification Hint Keys
Old API New API
EOPrefetchingRelationshipHintKey (Objective-C) FetchSpecification.PrefetchingRelationshipHintKey and
DatabaseContext.PrefetchingRelationshipHintKey (Java)
EOFetchSpecification's accessor methods, prefetchingRelationshipKeyPaths and setPrefetchingRelationshipKeyPaths:
EOFetchLimitHintKey (Objective-C) DatabaseContext.FetchLimitHintKey (Java) EOFetchSpecification's accessor methods, fetchLimit and setFetchLimit:
EOPromptAfterFetchLimitHintKey (Objective-C) DatabaseContext.PromptAfterFetchLimitHintKey (Java) EOFetchSpecification's accessor methods, promptsAfterFetchLimit and setPromptsAfterFetchLimit:
EOClassDescription
Old API New API
delegate and setDelegate: class (Objective-C) or static (Java) methods classDelegate and setClassDelegate: class (Objective-C) or static (Java) methods.
EOModelGroup
Old API New API
delegate and setDelegate: class methods
(Objective-C only)
classDelegate and setClassDelegate: class methods. Note that the corresponding Java static methods have always been named classDelegate and setClassDelegate.
NSObject Additions (Objective-C)
EOCustomObject (Java)
Old API New API
useStoredAccessor class (Objective-C) or static (Java) method This method still exists, but the default is now YES or true.
flushClassKeyBindings None. Use flushAllKeyBindings instead.
EOUndoManager
Old API New API
EOUndoManager class NSUndoManager in Foundation. The EOUndoManager header file is no longer included in EOControl. If you want to continue using EOUndoManager, you'll have to include EOControl/EODeprecated.h, where it's now defined. EOUndoManager is no longer available in Java at all.
EOLoginPanel
Old API New API
runPanelForAdaptor:validate: (Objective-C only) There wasn't an equivalent Java class in WebObjects 3.5. runPanelForAdaptor:
validate:
allowsCreation:
(Objective-C)
runPanelForAdaptor (Java)

Table of Contents Next Section