Package org.robovm.apple.coredata
Class NSFetchedResultsController
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.coredata.NSFetchedResultsController
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class NSFetchedResultsController extends NSObject
- Since:
- Available in iOS 3.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NSFetchedResultsController.NSFetchedResultsControllerPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description NSFetchedResultsController()
NSFetchedResultsController(NSFetchRequest fetchRequest, NSManagedObjectContext context, java.lang.String sectionNameKeyPath, java.lang.String name)
protected
NSFetchedResultsController(NSObject.Handle h, long handle)
protected
NSFetchedResultsController(NSObject.SkipInit skipInit)
-
Method Summary
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
NSFetchedResultsController
public NSFetchedResultsController()
-
NSFetchedResultsController
protected NSFetchedResultsController(NSObject.Handle h, long handle)
-
NSFetchedResultsController
protected NSFetchedResultsController(NSObject.SkipInit skipInit)
-
NSFetchedResultsController
public NSFetchedResultsController(NSFetchRequest fetchRequest, NSManagedObjectContext context, java.lang.String sectionNameKeyPath, java.lang.String name)
-
-
Method Detail
-
getFetchRequest
public NSFetchRequest getFetchRequest()
-
getManagedObjectContext
public NSManagedObjectContext getManagedObjectContext()
-
getSectionNameKeyPath
public java.lang.String getSectionNameKeyPath()
-
getCacheName
public java.lang.String getCacheName()
-
getDelegate
public NSFetchedResultsControllerDelegate getDelegate()
-
setDelegate
public void setDelegate(NSFetchedResultsControllerDelegate v)
-
getFetchedObjects
public NSArray<NSManagedObject> getFetchedObjects()
-
getSectionIndexTitles
public java.util.List<java.lang.String> getSectionIndexTitles()
-
getSections
public java.util.List<NSFetchedResultsSectionInfo> getSections()
-
init
protected long init(NSFetchRequest fetchRequest, NSManagedObjectContext context, java.lang.String sectionNameKeyPath, java.lang.String name)
-
performFetch
public boolean performFetch() throws NSErrorException
- Throws:
NSErrorException
-
getObjectAtIndexPath
public NSFetchRequestResult getObjectAtIndexPath(NSIndexPath indexPath)
-
getIndexPathForObject
public NSIndexPath getIndexPathForObject(NSFetchRequestResult object)
-
getSectionIndexTitleForSectionName
public java.lang.String getSectionIndexTitleForSectionName(java.lang.String sectionName)
-
getSectionForIndexTitle
public long getSectionForIndexTitle(java.lang.String title, long sectionIndex)
-
deleteCache
public static void deleteCache(java.lang.String name)
-
-