File:  [NeXTSTEP 3.3 examples] / Examples / EnterpriseObjects / MasteringDetails / EOFExtensions.subproj / SavvyControllerDelegate.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:48:56 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
Sample Programs from NeXSTEP 3.3

/* ModelSavyController.h created by cfeder on Tue 01-Nov-1994 */
#import <eointerface/eointerface.h>

// EOController delegate superclass that does foreign key assignment to
// the master or detail object when insertions or deletions are made in
// a detail controller.

@interface SavvyControllerDelegate : Object
{
}
// EOController delegate methods
- (BOOL)controller:(EOController *)controller willInsertObject:object atIndex: (unsigned)newIndex;

- (EODataSourceOperationDelegateResponse)controller:(EOController *)controller
    willInsertObject:object
    inDataSource:dataSource;

- (EODataSourceOperationDelegateResponse)controller:(EOController *)controller
    willDeleteObject:object
    inDataSource:dataSource;
@end

@interface SavvyControllerDelegate (ResetRelationshipsForChangedKeyProps)
- (NSDictionary *)controller:(EOController *)controller willSaveEdits: (NSDictionary *)edits toObject:object;
- (void)controller:(EOController *)controller didSaveToObject:object;
@end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.