org.rococoa.cocoa.appkit.categories
Interface NSManagedController

All Known Implementing Classes:
NSArrayController, NSDictionaryController, NSObjectController, NSTreeController

public interface NSManagedController

This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static interface NSManagedController._static_
           
 
Method Summary
 NSFetchRequest defaultFetchRequest()
           
 NSString entityName()
           
 void fetch(org.rococoa.ID sender)
           
 NSPredicate fetchPredicate()
           
 boolean fetchWithRequest_merge_error(NSFetchRequest fetchRequest, boolean merge, PointerByReference error)
          Original signature : -(BOOL)fetchWithRequest:(NSFetchRequest*) merge:(BOOL) error:(NSError**)
subclasses can override this method to customize the fetch request, for example to specify fetch limits (passing nil for the fetch request will result in the default fetch request to be used; this method will never be invoked with a nil fetch request from within the standard Cocoa frameworks) - the merge flag determines whether the controller replaces the entire content with the fetch result or merges the existing content with the fetch result
 NSManagedObjectContext managedObjectContext()
           
 void setEntityName(NSString entityName)
           
 void setFetchPredicate(NSPredicate predicate)
           
 void setManagedObjectContext(NSManagedObjectContext managedObjectContext)
           
 void setUsesLazyFetching(boolean enabled)
           
 boolean usesLazyFetching()
          Original signature : -(BOOL)usesLazyFetching
defaults to NO.
 

Method Detail

managedObjectContext

NSManagedObjectContext managedObjectContext()

setManagedObjectContext

void setManagedObjectContext(NSManagedObjectContext managedObjectContext)

entityName

NSString entityName()

setEntityName

void setEntityName(NSString entityName)

fetchPredicate

NSPredicate fetchPredicate()

setFetchPredicate

void setFetchPredicate(NSPredicate predicate)

fetchWithRequest_merge_error

boolean fetchWithRequest_merge_error(NSFetchRequest fetchRequest,
                                     boolean merge,
                                     PointerByReference error)
Original signature : -(BOOL)fetchWithRequest:(NSFetchRequest*) merge:(BOOL) error:(NSError**)
subclasses can override this method to customize the fetch request, for example to specify fetch limits (passing nil for the fetch request will result in the default fetch request to be used; this method will never be invoked with a nil fetch request from within the standard Cocoa frameworks) - the merge flag determines whether the controller replaces the entire content with the fetch result or merges the existing content with the fetch result


fetch

void fetch(org.rococoa.ID sender)

setUsesLazyFetching

void setUsesLazyFetching(boolean enabled)

usesLazyFetching

boolean usesLazyFetching()
Original signature : -(BOOL)usesLazyFetching
defaults to NO.


defaultFetchRequest

NSFetchRequest defaultFetchRequest()