org.rococoa.cocoa.appkit.categories
Interface NSManagedController

All Superinterfaces:
ObjCObject

public interface NSManagedController
extends ObjCObject

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
 Pointer defaultFetchRequest()
          Original signature : -(NSFetchRequest*)defaultFetchRequest
from NSManagedController native declaration : NSObjectController.h:88
 NSString entityName()
          Original signature : -(NSString*)entityName
from NSManagedController native declaration : NSObjectController.h:74
 void fetch(ObjCObject sender)
          Original signature : -(void)fetch:(id)
from NSManagedController native declaration : NSObjectController.h:81
 NSPredicate fetchPredicate()
          Original signature : -(NSPredicate*)fetchPredicate
from NSManagedController native declaration : NSObjectController.h:76
 boolean fetchWithRequest_merge_error(Pointer fetchRequest, boolean merge, PointerByReference error)
          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
Original signature : -(BOOL)fetchWithRequest:(NSFetchRequest*) merge:(BOOL) error:(NSError**)
from NSManagedController native declaration : NSObjectController.h:79
 Pointer managedObjectContext()
          Original signature : -(NSManagedObjectContext*)managedObjectContext
from NSManagedController native declaration : NSObjectController.h:71
 void setEntityName(NSString entityName)
          Original signature : -(void)setEntityName:(NSString*)
from NSManagedController native declaration : NSObjectController.h:75
 void setFetchPredicate(NSPredicate predicate)
          Original signature : -(void)setFetchPredicate:(NSPredicate*)
from NSManagedController native declaration : NSObjectController.h:77
 void setManagedObjectContext(Pointer managedObjectContext)
          Original signature : -(void)setManagedObjectContext:(NSManagedObjectContext*)
from NSManagedController native declaration : NSObjectController.h:72
 void setUsesLazyFetching(boolean enabled)
          Original signature : -(void)setUsesLazyFetching:(BOOL)
from NSManagedController native declaration : NSObjectController.h:85
 boolean usesLazyFetching()
          defaults to NO.
 
Methods inherited from interface org.rococoa.ObjCObject
id
 

Method Detail

managedObjectContext

Pointer managedObjectContext()
Original signature : -(NSManagedObjectContext*)managedObjectContext
from NSManagedController native declaration : NSObjectController.h:71


setManagedObjectContext

void setManagedObjectContext(Pointer managedObjectContext)
Original signature : -(void)setManagedObjectContext:(NSManagedObjectContext*)
from NSManagedController native declaration : NSObjectController.h:72


entityName

NSString entityName()
Original signature : -(NSString*)entityName
from NSManagedController native declaration : NSObjectController.h:74


setEntityName

void setEntityName(NSString entityName)
Original signature : -(void)setEntityName:(NSString*)
from NSManagedController native declaration : NSObjectController.h:75


fetchPredicate

NSPredicate fetchPredicate()
Original signature : -(NSPredicate*)fetchPredicate
from NSManagedController native declaration : NSObjectController.h:76


setFetchPredicate

void setFetchPredicate(NSPredicate predicate)
Original signature : -(void)setFetchPredicate:(NSPredicate*)
from NSManagedController native declaration : NSObjectController.h:77


fetchWithRequest_merge_error

boolean fetchWithRequest_merge_error(Pointer fetchRequest,
                                     boolean merge,
                                     PointerByReference error)
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
Original signature : -(BOOL)fetchWithRequest:(NSFetchRequest*) merge:(BOOL) error:(NSError**)
from NSManagedController native declaration : NSObjectController.h:79


fetch

void fetch(ObjCObject sender)
Original signature : -(void)fetch:(id)
from NSManagedController native declaration : NSObjectController.h:81


setUsesLazyFetching

void setUsesLazyFetching(boolean enabled)
Original signature : -(void)setUsesLazyFetching:(BOOL)
from NSManagedController native declaration : NSObjectController.h:85


usesLazyFetching

boolean usesLazyFetching()
defaults to NO.
Original signature : -(BOOL)usesLazyFetching
from NSManagedController native declaration : NSObjectController.h:86


defaultFetchRequest

Pointer defaultFetchRequest()
Original signature : -(NSFetchRequest*)defaultFetchRequest
from NSManagedController native declaration : NSObjectController.h:88



Copyright © 2009. All Rights Reserved.